git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Incorrect URL for Release Notes on git-scm
@ 2025-02-18 21:27 Bede Skinner-Vennell
  2025-02-19  8:28 ` Christian Couder
  0 siblings, 1 reply; 3+ messages in thread
From: Bede Skinner-Vennell @ 2025-02-18 21:27 UTC (permalink / raw)
  To: git

Hi Git Community,

The link to the release notes for v2.48.1 on the git-scm downloads
page doesn't seem to be working.

It links to: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.txt

It looks like the master branch now uses '.adoc' extension since this
commit: https://github.com/git/git/commit/1f010d6bdf756129db13d1367c888aa4153f6d87

Using either of these URLs loads the release notes correctly:
- https://raw.githubusercontent.com/git/git/v2.48.1/Documentation/RelNotes/2.48.1.txt
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.adoc

Ngā mihi

Bede

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Incorrect URL for Release Notes on git-scm
  2025-02-18 21:27 Incorrect URL for Release Notes on git-scm Bede Skinner-Vennell
@ 2025-02-19  8:28 ` Christian Couder
  2025-02-19 16:52   ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Couder @ 2025-02-19  8:28 UTC (permalink / raw)
  To: Bede Skinner-Vennell; +Cc: git

Hi Bede,

On Tue, Feb 18, 2025 at 10:28 PM Bede Skinner-Vennell <bedesv@gmail.com> wrote:
>
> Hi Git Community,
>
> The link to the release notes for v2.48.1 on the git-scm downloads
> page doesn't seem to be working.

Thanks for the report, but the git-scm website is managed on GitHub,
not by this mailing list. So you might want to open an issue on:

https://github.com/git/git-scm.com/issues

> It links to: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.txt
>
> It looks like the master branch now uses '.adoc' extension since this
> commit: https://github.com/git/git/commit/1f010d6bdf756129db13d1367c888aa4153f6d87
>
> Using either of these URLs loads the release notes correctly:
> - https://raw.githubusercontent.com/git/git/v2.48.1/Documentation/RelNotes/2.48.1.txt
> - https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.adoc

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.

Best,
Christian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Incorrect URL for Release Notes on git-scm
  2025-02-19  8:28 ` Christian Couder
@ 2025-02-19 16:52   ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2025-02-19 16:52 UTC (permalink / raw)
  To: Christian Couder; +Cc: brian m. carlson, git

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-19 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 21:27 Incorrect URL for Release Notes on git-scm Bede Skinner-Vennell
2025-02-19  8:28 ` Christian Couder
2025-02-19 16:52   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).