]> Sergey Matveev's repositories - public-inbox.git/commit
www: support $INBOX/git/$EPOCH.git for v2 cloning
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sun, 9 Jun 2019 04:31:05 +0000 (04:31 +0000)
committerEric Wong <e@80x24.org>
Sun, 9 Jun 2019 04:32:31 +0000 (04:32 +0000)
commit0886c264b24b8bc7626e5a7eb59598b0229f066d
tree0091b2a341c4ff824cb564687c2533f8980b5a86
parent279a47f3f64fc7a414247922b870e58a0b334b0f
www: support $INBOX/git/$EPOCH.git for v2 cloning

And use it in manifest.js.

To ease maintaining mirrors with grokmirror(1), we can accept
a "git/" directory prefix before the epoch, and ".git" suffix
after the epoch number.

We maintain compatibility with "$INBOX/$EPOCH" cloning, of
course, and it's still easier-to-type on the command-line.
lib/PublicInbox/WWW.pm
lib/PublicInbox/WwwListing.pm
t/psgi_v2.t
t/v2mirror.t
t/www_listing.t