GNU bug report logs - #78848
Tree-sitter compatibility report: tags and sources

Previous Next

Package: emacs;

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

Date: Fri, 20 Jun 2025 11:58:03 UTC

Severity: normal

To reply to this bug, email your comments to 78848 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78848; Package emacs. (Fri, 20 Jun 2025 11:58:03 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. (Fri, 20 Jun 2025 11:58:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: Tree-sitter compatibility report: tags and sources
Date: Fri, 20 Jun 2025 12:56:29 +0100 (BST)
[Message part 1 (text/plain, inline)]
Back in January, there was some discussion on emacs-devel about how the Tree-sitter parser compatibility report generated by admin/tree-sitter/treesit-admin.el could be made more helpful for distribution packagers: https://yhetil.org/emacs-devel/BF8AAD24-2001-4C56-BB63-96E328CD011B <at> gmail.com/#t

Following on from that, here are some patches to enhance the report.

-- 
Peter Oliver
[0001-New-function-treesit-language-git-version-tags.patch (text/plain, attachment)]
[0002-Show-also-tagged-versions-on-Tree-sitter-compatibili.patch (text/plain, attachment)]
[0003-Link-to-Tree-sitter-parser-sources-from-compatibilit.patch (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78848; Package emacs. (Fri, 20 Jun 2025 12:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 78848 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 78848 <at> debbugs.gnu.org
Subject: Re: bug#78848: Tree-sitter compatibility report: tags and sources
Date: Fri, 20 Jun 2025 14:35:22 +0200
Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:

Hi Peter,

> Following on from that, here are some patches to enhance the report.

I have no comments on the changes, 'cos I'm not the consumer of the
report. I'll run everything on emba.

But the question still remains, where the generated report from emba
shall go to. Currently, it is contained in the artifacts of the job
test-tree-sitter. Is this sufficient?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78848; Package emacs. (Fri, 20 Jun 2025 13:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 78848 <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 78848 <at> debbugs.gnu.org
Subject: Re: bug#78848: Tree-sitter compatibility report: tags and sources
Date: Fri, 20 Jun 2025 14:24:46 +0100 (BST)
[Message part 1 (text/plain, inline)]
On Fri, 20 Jun 2025, Michael Albinus wrote:

> Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:
>
> But the question still remains, where the generated report from emba
> shall go to. Currently, it is contained in the artifacts of the job
> test-tree-sitter. Is this sufficient?

It’s better than nothing.  It would be better if we could put the report at a stable URL so we can bookmark/link to it, but I think we ran out of ideas on how to do that from Emba.

For anyone wondering how to find this report, I’ll note the steps here:

1. Browse to https://emba.gnu.org/emacs/emacs/-/jobs
2. Look for a job named test-tree-sitter on the relevant branch
3. Click on the job number.
4. Under “Job artifacts”, click “Browse”.
5. Navigate the directory structure until you find compatibility-report.html, then click on it.
6. Click to download.
7. Open the downloaded file in a browser.

-- 
Peter Oliver

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78848; Package emacs. (Fri, 20 Jun 2025 17:05:02 GMT) Full text and rfc822 format available.

Message #14 received at 78848 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 78848 <at> debbugs.gnu.org
Subject: Re: bug#78848: Tree-sitter compatibility report: tags and sources
Date: Fri, 20 Jun 2025 20:03:28 +0300
> Back in January, there was some discussion on emacs-devel about how the
> Tree-sitter parser compatibility report generated by
> admin/tree-sitter/treesit-admin.el could be made more helpful for
> distribution packagers:
> https://yhetil.org/emacs-devel/BF8AAD24-2001-4C56-BB63-96E328CD011B <at> gmail.com/#t
>
> Following on from that, here are some patches to enhance the report.

bug#78542 introduced keywords for treesit-language-source-alist.
I adapted treesit-admin--find-latest-compatible-revision and
treesit-admin--unversioned-treesit-language-source-alist for keywords.
But it seems more changes are now required in your patch
to adapt keywords in more places.  Sorry for that.




This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.