unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* public-inbox-init -V2 for lkml
@ 2018-07-04  9:25 Eric W. Biederman
  2018-07-04 10:50 ` [PATCH] v2: fill alternates with old epochs on init from mirrors Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Eric W. Biederman @ 2018-07-04  9:25 UTC (permalink / raw)
  To: meta; +Cc: Eric Wong


I was playing with using git to get my own local copy of lkml and
unless I did something wrong I have found a bug in publc-inbox-init.

Baring some cheats (aka cloning from git.kernel.org) I followed
the directions up on lore.kernel.org, and the archives did not display.

#	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
#	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
#	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
#	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
#	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
#	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
#	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
#
#	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml linux-kernel@vger.kernel.org linux-kernel@archiver.kernel.org
#
#	public-inbox-index lkml

I was able to solve my issue by applying the following patch to
objects/info/alternatives.

--- all.git/objects/info/alternates-old 2018-07-04 04:18:17.734755092 -0500
+++ all.git/objects/info/alternates     2018-07-04 04:18:11.874754952 -0500
@@ -1 +1,7 @@
+../../git/0.git/objects
+../../git/1.git/objects
+../../git/2.git/objects
+../../git/3.git/objects
+../../git/4.git/objects
+../../git/5.git/objects
 ../../git/6.git/objects

AKA adding the older git directories to all.git.

Is that the correct fix?  Am I write in thinking that public-inbox-init
is failing to do that?  Or am I missing something?

Eric




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

end of thread, other threads:[~2018-07-05  5:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04  9:25 public-inbox-init -V2 for lkml Eric W. Biederman
2018-07-04 10:50 ` [PATCH] v2: fill alternates with old epochs on init from mirrors Eric Wong
2018-07-05  5:18   ` Eric W. Biederman

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).