-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare for upcoming *.txt -> *.adoc bulk rename #1944
Comments
Just like to point out that the link to the latest release notes (Shown in monitor image on the front page and download page) is now broken because of this. It points to https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.txt while it should point to https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.48.1.adoc |
That's sad. Do you have time to work on this? I currently lack the time. |
@erikdendekker you can thank @aeiouaeiouaeiouaeiouaeiouaeiou over in #1954 for fixing this. |
@dscho It seems the patch series landed. And 2.49 is around the corner. How hard is the script breaking now? Shall we pick this up? |
Yep.
Yep.
$ git rm -r external/docs/ &&
mkdir -p external/docs/content/docs &&
REBUILD_DOC=v2.49.0-rc1 ruby script/update-docs.rb /path/to/git-checkout en &&
find external/docs/ -type f | wc
2 2 67
For comparison:
And for the record, these lines indicate a regression thanks to the Meson changes:
@To1ne If you have the time and the motivation; I do not. |
I just noticed we have to make sure not to break permalinks like |
Well spotted, I missed that! This |
Hah, there are more issues. Derp. https://lore.kernel.org/git/CAEiLEbOZ7vGE6U69sf5nK+G86zaeAMRTrjaCr=rF2JU1H1p8ww@mail.gmail.com/ Hi Git Community, The link to the release notes for v2.48.1 on the git-scm downloads 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 Using either of these URLs loads the release notes correctly:
|
@To1ne don't you love the impulsive response "This ain't our problem". As if the millions of links out there to Git's release notes that were in such a consistent format for over a decade so that people had come to rely on it, sometimes in commits (that are immutable) weren't Git's responsibility. I'm speechless. |
As for https://git-scm.com/downloads, this seems to have been adjusted in #1954, though. |
There is a proposed patch series to rename the
*.txt
files inDocumentation/
to*.adoc
.Where
*.txt
files are available, people frequently run various commands to parse and consume them, including tooling for static websites as this one. Which means that such a rename breaks that tooling.I agree that this would have been a nice feature to add at the beginning of the development of the documentation, but I fear that it is too late to make an incompatible change now. However, as opposed to increasing Git's safety stance, the convenience of a few who want to have syntax highlighting in editors based on the file extension apparently is important enough to merit just such an incompatible change.
This means that
script/update-docs.rb
will need to be adapted once the tooling here breaks. Or before it. If someone volunteers.The text was updated successfully, but these errors were encountered: