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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78747 in the body.
You can then email your comments to 78747 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78747
; Package
emacs
.
(Tue, 10 Jun 2025 15:49:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Oliver <p.d.oliver <at> mavit.org.uk>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 10 Jun 2025 15:49:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
--
Peter Oliver
[0001-Add-bash-and-c-sharp-to-Tree-sitter-compatibility-re.patch (text/plain, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78747
; Package
emacs
.
(Tue, 10 Jun 2025 17:56:03 GMT)
Full text and
rfc822 format available.
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.
Forcibly Merged 78747 78748.
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Thu, 19 Jun 2025 16:31:03 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 31.0.50, send any further explanations to
78748 <at> debbugs.gnu.org and Peter Oliver <p.d.oliver <at> mavit.org.uk>
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Thu, 19 Jun 2025 16:31:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 18 Jul 2025 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.