GNU bug report logs -
#78747
31.0.50; Bash and C# missing from Tree-sitter compatibility report
Previous Next
Reported by: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Date: Tue, 10 Jun 2025 15:49:04 UTC
Severity: normal
Merged with 78748
Fixed in version 31.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 78747 <at> debbugs.gnu.org (full text, mbox):
Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:
Hi Peter,
> Tree-sitter parsers for the Bash and C# languages are not currently included in the version compatibility report generated by admin/tree-sitter/treesit-admin.el
>
> A patch to resolve this is attached.
>
> diff --git a/admin/tree-sitter/treesit-admin.el b/admin/tree-sitter/treesit-admin.el
> index f41c4592039..6f17a174f0c 100644
> --- a/admin/tree-sitter/treesit-admin.el
> +++ b/admin/tree-sitter/treesit-admin.el
> @@ -72,41 +72,43 @@ treesit-admin-check-manual-coverage
> ;;; Query validation
>
> (defvar treesit-admin--builtin-language-sources
> - '((c "https://github.com/tree-sitter/tree-sitter-c" "v0.23.4")
> - (cpp "https://github.com/tree-sitter/tree-sitter-cpp" "v0.23.4")
> + '((bash "https://github.com/tree-sitter/tree-sitter-bash")
> + (c "https://github.com/tree-sitter/tree-sitter-c" "v0.23.4")
> + (c-sharp "https://github.com/tree-sitter/tree-sitter-c-sharp")
...
Is it still appropriate to have hard-coded versions here?
treesit-language-source-alist is populated with proper versions
meanwhile.
That's why, that I do on emba
--8<---------------cut here---------------start------------->8---
(setq treesit-admin--builtin-language-sources treesit-language-source-alist)
--8<---------------cut here---------------end--------------->8---
when generating compatibility-report.html. See test/infra/Dockerfile.emba.
> Peter Oliver
Best regards, Michael.
This bug report was last modified 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.