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: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (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 142AC1F463 for ; Thu, 26 Sep 2019 21:44:20 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id j31so4778534qta.5 for ; Thu, 26 Sep 2019 14:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1xBo7kivk3kCykQwf9QYSAC1jRAESp5T/dkRNEoHVOc=; b=YIZgWRmRBaxldp3aZrSUarRIg7JfGLNgG/KEp1sS5AbQj75M7l9UPb+BbMxyfDIlv6 EZCOCCZVlUydnuBU9wgxxGA/WX7wh1UOFXuPIses/t0jEvz/pd3qTYybQSKo/nW7MO6p E7QlnUlmy8ObNCnKmgW11TXFzs1JuVQQsnNcA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1xBo7kivk3kCykQwf9QYSAC1jRAESp5T/dkRNEoHVOc=; b=Y10CiwOTJrT2TmL0neWlHsWI794p3a6eiaHKPZhrGnwU13BvxbKd2WwA5nVMiaxL+b t8FKeXExCmG0tcpetBY264N88xDMF2hPmmb0Euc/hDYKXgK6k/eqBdaGtxLWT/22b6Wz HaGArCkfz0hZkD9Q2B+5XZxuBuzWjREZtWoXCf+u+ffJ7dPMv776m6F9t85wBAQyUMXE FCG58F/X3ksXQWrOmrmoYcr5xCVa01sLpeqEFkIX+Ud55zGguN4RSaD/4Ma0if/XPG3I IxdCFlaG2Ve5aEuu6+a0Cnw6+gjuw/yTBKzFPjXvHxrwf+66PHZ+HBFY2BwRw9xhbgKU yvFg== X-Gm-Message-State: APjAAAXupzpY9ILZhrdk4b5EngRTAL122ji887+wHS8Nh6tU/IR3GnIh iuDRV5t1/GnPljOSew+DZ24qZJZzjAk= X-Google-Smtp-Source: APXvYqyFrciHoqijws58EAH1jLG8QVDVgy6X3RCG8lJ0cGvrEQs/7CovJTaZdgL7KSyj+pkXETWhXw== X-Received: by 2002:ac8:5414:: with SMTP id b20mr6212755qtq.85.1569534259137; Thu, 26 Sep 2019 14:44:19 -0700 (PDT) Received: from chatter.i7.local (192-0-228-88.cpe.teksavvy.com. [192.0.228.88]) by smtp.gmail.com with ESMTPSA id q126sm272744qkf.47.2019.09.26.14.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 14:44:18 -0700 (PDT) Date: Thu, 26 Sep 2019 17:44:17 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Git-only operation mode Message-ID: <20190926214417.GE10467@chatter.i7.local> References: <20190925182431.GA4628@chatter.i7.local> <20190925194503.GA21501@dcvr> <20190925195838.GB4628@chatter.i7.local> <20190925224500.GA28628@dcvr> <20190926205222.GC10467@chatter.i7.local> <20190926211025.GA11146@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20190926211025.GA11146@dcvr> User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: On Thu, Sep 26, 2019 at 09:10:25PM +0000, Eric Wong wrote: >If grok-pull is using multiple threads, there can be a race >there because parallel runs of public-inbox-init can clobber >each other (which needs to be fixed :x) Yes, this is true -- there should be a lockfile in the hook to avoid multiple post-update-hook's from operating on the same pidir. >> # Need logic here for adding to the config file > >Yeah, I've been meaning to add something like "$INBOX_URL/_/text/config" >so some of the config keys can be easily cloned, too. > >Not sure if it's something that can be stuffed in manifest.js.gz >or better as a separate file... Probably separate file? Right -- the manifest only deals with very basic repository details, so it's easier to pass this info in some other way. Either via a remote URL, or perhaps via a file in a special ref in the repo itself (refs/meta/config?). We use this trick on git.kernel.org to let people tweak cgit parameters for their repos, see https://korg.wiki.kernel.org/userdoc/cgit-meta-data. -K