[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Validating tree-sitter major modes and grammar
From: |
Yuan Fu |
Subject: |
Re: Validating tree-sitter major modes and grammar |
Date: |
Mon, 30 Dec 2024 00:08:00 -0800 |
> On Dec 28, 2024, at 4:02 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> Hi Peter & Yuan,
>
>>>> Is it possible for EMBA to run a CI which produces a HTML webpage, and
>>>> host that webpage somewhere? I’m referring to this idea of Peter’s.
>>>
>>> In general it is possible, using a GitLab feature called Pages
>>> (https://emba.gnu.org/help/user/project/pages/index.md).
>>>
>>> Some configuration is required
>>> (https://emba.gnu.org/help/administration/pages/index.md). I don’t
>>> know if this has been done for EMBA (but I suspect not, because
>>> https://emba.gnu.org/emacs/emacs/pages returns 404; alternatively,
>>> it’s possible the feature simply needs switching on at
>>> https://emba.gnu.org/emacs/emacs/edit#js-general-project-settings).
>>>
>>> Once this is done, you don’t have to do much more than, from your CI job,
>>> write HTML files to a directory called pages.
>>>
>>>> I’m thinking of a table where rows are languages, columns are Emacs
>>>> releases (29, 30, master), and cells are the latest revision of a language
>>>> grammar that’s compatible with an Emacs release.
>>>
>>> Sounds perfect.
>>
>> Nice. I'll see whether I can do something useful with this.
>
> As a starting point, we could use the JUnit reports, which are already
> generated. They are not formatted to what we want, but they contain all
> test results in XML files for better access.
>
> See for example
> <https://emba.gnu.org/emacs/emacs/-/pipelines/31215/test_report> and
> click on "Tests". Choose job test-tree-sitter.
>
> There are no data when you inspect "View details", but this can be changed.
>
> Best regards, Michael.
Hmm, ok, it’s a bit unclear to me how do we use this. Anyway, as a first step,
I added a command that generates a html file that looks like the below. I’ll
try setting up a cron job on my machine, then we can figure out how do we run
it on EMBA and how to host the generated webpage.
Peter, do you have any suggestions after seeing this example webpage?

Yuan
- Re: Validating tree-sitter major modes and grammar, (continued)
- Message not available
- Re: Validating tree-sitter major modes and grammar, Yuan Fu, 2024/12/23
- Re: Validating tree-sitter major modes and grammar, Peter Oliver, 2024/12/24
- Re: Validating tree-sitter major modes and grammar, Michael Albinus, 2024/12/24
- Re: Validating tree-sitter major modes and grammar, Yuan Fu, 2024/12/24
- Re: Validating tree-sitter major modes and grammar, Michael Albinus, 2024/12/25
- Re: Validating tree-sitter major modes and grammar, Yuan Fu, 2024/12/25
- Re: Validating tree-sitter major modes and grammar, Michael Albinus, 2024/12/25
- Re: Validating tree-sitter major modes and grammar, Peter Oliver, 2024/12/26
- Re: Validating tree-sitter major modes and grammar, Michael Albinus, 2024/12/26
- Re: Validating tree-sitter major modes and grammar, Michael Albinus, 2024/12/28
- Re: Validating tree-sitter major modes and grammar,
Yuan Fu <=
- Re: Validating tree-sitter major modes and grammar, Yuan Fu, 2024/12/24
- Re: Validating tree-sitter major modes and grammar, Björn Bidar, 2024/12/24