Subject: bug#78748: 31.0.50; Stale Tree-sitter compatibility report

From: Michael Albinus <[email-masked]>
Date: Tue, 10 Jun 2025 19:59:36 +0200

Peter Oliver <[email-masked]> 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.