git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* (no subject)
@ 2022-12-03 11:23 Aonodensetsu
  2022-12-03 12:02 ` Pro Git book URL on https://git-scm.com/ René Scharfe
  0 siblings, 1 reply; 3+ messages in thread
From: Aonodensetsu @ 2022-12-03 11:23 UTC (permalink / raw)
  To: git

The Git documentation has been moved (probably by accident) to
https://git-scm.com/book/pl/v1%20z (notice the %20z at the end). This
is a bug and makes all redirections fail with a 500 error, since they
try to redirect to the correct address.

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

* Re: Pro Git book URL on https://git-scm.com/
  2022-12-03 11:23 Aonodensetsu
@ 2022-12-03 12:02 ` René Scharfe
  2022-12-05  9:23   ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: René Scharfe @ 2022-12-03 12:02 UTC (permalink / raw)
  To: Aonodensetsu, git

Am 03.12.22 um 12:23 schrieb Aonodensetsu:
> The Git documentation has been moved (probably by accident) to
> https://git-scm.com/book/pl/v1%20z (notice the %20z at the end). This
> is a bug and makes all redirections fail with a 500 error, since they
> try to redirect to the correct address.

I can't find "v1 z" or "v1%20z" neither in the repository for the
website (https://github.com/git/git-scm.com) nor in the one for the book
(https://github.com/progit/progit2).  So I'm not sure what's going on
here, but reporting it as an issue via the website repository should get
the right people to take a look, I assume.

https://git-scm.com/book/pl/v2 works fine, by the way, including other
language versions.

René


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

* Re: Pro Git book URL on https://git-scm.com/
  2022-12-03 12:02 ` Pro Git book URL on https://git-scm.com/ René Scharfe
@ 2022-12-05  9:23   ` Jeff King
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff King @ 2022-12-05  9:23 UTC (permalink / raw)
  To: René Scharfe; +Cc: Aonodensetsu, git

On Sat, Dec 03, 2022 at 01:02:41PM +0100, René Scharfe wrote:

> Am 03.12.22 um 12:23 schrieb Aonodensetsu:
> > The Git documentation has been moved (probably by accident) to
> > https://git-scm.com/book/pl/v1%20z (notice the %20z at the end). This
> > is a bug and makes all redirections fail with a 500 error, since they
> > try to redirect to the correct address.
> 
> I can't find "v1 z" or "v1%20z" neither in the repository for the
> website (https://github.com/git/git-scm.com) nor in the one for the book
> (https://github.com/progit/progit2).  So I'm not sure what's going on
> here, but reporting it as an issue via the website repository should get
> the right people to take a look, I assume.

The book content is added to the sql database by a ruby job. But we
stopped running that job for the v1 (first-edition) book at some point
before 2017. I don't have an exact date, but I removed the generation
code in 495fa431 (drop book.rake, 2017-10-08). We later restored it so
that we could re-import historical versions (say, if the database
crashed and was wiped), but it finally went away in f474e35c (Remove
link to 1st book edition, 2018-11-21).

Frankly, I'm surprised there's any v1 content left, since we've had to
re-build the database from scratch a few times over the years.

-Peff

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

end of thread, other threads:[~2022-12-05  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-03 11:23 Aonodensetsu
2022-12-03 12:02 ` Pro Git book URL on https://git-scm.com/ René Scharfe
2022-12-05  9:23   ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).