git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Incorrect URL for Release Notes on git-scm

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 19, 2025, 16:52 UTC
Message-ID
<xmqq1pvtho5y.fsf@gitster.g>
In-Reply-To
<CAP8UFD18tgq6f9N189tn2ZrV5cWU8u34EEpZhkwRosi8qUuhuw@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
> Thanks for the details. We are transitioning from ".txt" to ".adoc"
> for the extension of many of our documentation files and this is
> perhaps triggering this issue.

Yup, that seems to be exactly what happened. When we prepared the transition, in https://lore.kernel.org/git/xmqqmsfl2gro.fsf@gitster.g/ I said:

    Perhaps it may be enough keep the topic cooking a lot longer in
    'next' than usual one calendar week.  This of course requires that
    those on the creator side echosystem are paying attention to 'next',
    are capable of writing necessary adjustment (in my case, I would
    tweak my tooling so that it uses "$filename.$suffix" instead of
    hardcoded "txt" in the rest of the script, checks the presence of
    Documention/git.adoc to tweak suffix from default "txt") for their
    tooling, and can arrange to test their tooling with 'next'.

but apparently three weeks was not long enough for folks who are maintaining the git-scm.com documentation machinery (or they were not paying attention at all and even one year wouldn't have been long enough X-<).

In any case, as I said earlier, Documentation/RelNotes/*.txt files are never written as AsciiDoc (practically I am the only one who is writing them) and are never processed and never meant to be processed by the AsciiDoc/asciidoctor toolchain (I am not surprised at all if stray punctuation letters I intended in a text document as literal punctuation to be mistaken as AsciiDoc markups).

So from that point of view, it could be argued that we did not have to rename them to .adoc suffix.

But I do not think it is a good direction to go in the longer term. It may sweep this particular issue with a single link that the site has into Documentation/RelNotes/ hierarchy under the rug, but it forces everybody, including git-scm.com, to remember that everything else in Documentation/ is ".adoc" but Documentation/RelNotes/ uses ".txt" as an exception when linking to our material. And because there is no guarantee that we will never update our documentation model so that the release notes are really done as proper AsciiDoc marked-up text someday, such a move will force the downstream users to transition to ".adoc" eventually.

Thanks.
Previous: Christian Couder
Message 3 of 3 in “Incorrect URL for Release Notes on git-scm”
  1. Bede Skinner-VennellFeb 18, 2025
  2. Christian CouderFeb 19, 2025
  3. Junio C HamanoFeb 19, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.