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

Reply via email to