From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6315 166.70.0.0/16 X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 85FD51F6AC; Wed, 4 Jul 2018 09:25:50 +0000 (UTC) Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fae2m-0003Cw-To; Wed, 04 Jul 2018 03:25:48 -0600 Received: from 97-119-100-17.omah.qwest.net ([97.119.100.17] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fae2l-0001Vi-V4; Wed, 04 Jul 2018 03:25:48 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Cc: Eric Wong Date: Wed, 04 Jul 2018 04:25:37 -0500 Message-ID: <871scj2vzi.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1fae2l-0001Vi-V4;;;mid=<871scj2vzi.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.100.17;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1/O+TzCx5GnXO5USXhQCwvFIiBtve+r37c= X-SA-Exim-Connect-IP: 97.119.100.17 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: public-inbox-init -V2 for lkml X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) List-Id: 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