From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7E93C1F8C8; Wed, 15 Sep 2021 23:12:09 +0000 (UTC) Date: Wed, 15 Sep 2021 23:12:09 +0000 From: Eric Wong To: Luis Chamberlain Cc: meta@public-inbox.org Subject: Re: make menuconfig interface for lei / grok-pull Message-ID: <20210915231209.GB22173@dcvr> References: <20210915214420.GA21824@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: Luis Chamberlain wrote: > On Wed, Sep 15, 2021 at 09:44:20PM +0000, Eric Wong wrote: > > Luis Chamberlain wrote: > > > # The next two don't work > > > lei import import https://lore.kernel.org/linux-fsdevel/git/0.git > > > lei add-external git://lore.kernel.org/linux-fsdevel/git/0.git > > > > Apologies, I need to document this better. This should work: > > > > lei add-external --mirror https://lore.kernel.org/linux-fsdevel SOME_FS_PATH > > Groovy thanks! I'll start with that! > > Any reason we need to specify SOME_FS_PATH ? Can't we assume a sensible > default somewhere in .local/lei or whatever in the future? Probably OK to have a default path for --mirror, the add-external w/o --mirror works for existing inboxes (which I also serve via -httpd/-imapd/-nntpd). I think ~/.local/public-inbox/ would be a better default location for mirrors, since I assume anything mirrored is public (and therefor to rehost, as well).