GNU bug report logs - #78748
31.0.50; Stale Tree-sitter compatibility report

Previous Next

Package: emacs;

Reported by: Peter Oliver <p.d.oliver <at> mavit.org.uk>

Date: Tue, 10 Jun 2025 15:52:03 UTC

Severity: normal

Merged with 78747

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 78748 <at> debbugs.gnu.org
Subject: bug#78748: 31.0.50; Stale Tree-sitter compatibility report
Date: Tue, 10 Jun 2025 19:59:36 +0200
Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:

Hi Peter,

> The Tree-sitter parser version compatibility report generated by admin/tree-sitter/treesit-admin.el currently shows stale versions of the parsers.
>
> Attached is a patch to resolve this.
>
> diff --git a/admin/tree-sitter/treesit-admin.el b/admin/tree-sitter/treesit-admin.el
> index f41c4592039..af39963f8b7 100644
> --- a/admin/tree-sitter/treesit-admin.el
> +++ b/admin/tree-sitter/treesit-admin.el
> @@ -72,33 +72,31 @@ 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")
> -    (cmake "https://github.com/uyha/tree-sitter-cmake" "v0.5.0")
> -    (dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile" "v0.2.0")
> -    (go "https://github.com/tree-sitter/tree-sitter-go" "v0.23.4")
> -    (ruby "https://github.com/tree-sitter/tree-sitter-ruby" "v0.23.1")
> -    (javascript "https://github.com/tree-sitter/tree-sitter-javascript" "v0.23.1")
> +  '((c "https://github.com/tree-sitter/tree-sitter-c")
> +    (cpp "https://github.com/tree-sitter/tree-sitter-cpp")
> +    (cmake "https://github.com/uyha/tree-sitter-cmake")
> +    (dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile")
> +    (go "https://github.com/tree-sitter/tree-sitter-go")
> +    (ruby "https://github.com/tree-sitter/tree-sitter-ruby")
> +    (javascript "https://github.com/tree-sitter/tree-sitter-javascript")

The same question like in bug#78747: Shouldn't we simply use treesit-language-source-alist?

> Peter Oliver

Best regards, Michael.




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.