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.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 EBFE520305 for ; Mon, 1 Apr 2019 15:41:04 +0000 (UTC) Received: by mail-qk1-x72b.google.com with SMTP id g1so5910246qki.5 for ; Mon, 01 Apr 2019 08:41:04 -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=lTHTF+HT/n615z/b1pbunqM+qun4cyBbmEJsgd6b4Zo=; b=RncUNihbNJLIvwy07pYRq171zUhprTZvyfe/Ch316pkLjtqpy0L72TCq8tdEfyy8jc IdK2JGgR+6WxpQjVzIxAS7RzC5BgtAqNluZB+J9O+2npElzeBrSoPBz3RAtmzYB7aHEb t20AhI1NyPVcpYYxm+pS54kQj3pUWGLlAWYq4= 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=lTHTF+HT/n615z/b1pbunqM+qun4cyBbmEJsgd6b4Zo=; b=MIuXOyDMqcHrs+HOzzzmu7SzStQ9j/UP8rXbYyTaARKDhMKwyzC6t3jPZKDzQ8esMM hHDVaPXGNZxUlPHpQkxEBcU4M47bGnrzXA/WH3RQc824W/MRxeUYWQhxv8fnVXvkYK4r Qu5iMY8ys6qHQAmvvkZMkLeuFUdMj16mWXijlHJBvKsNAxrHmTG/lcpKnggdz3kl7mZf Ti0PXZF9f6YTgCE36QNsc9sOsKWE7iI3DyJWwpNKJ/q4pxTvaSnlHtuGvsUYSRqW7U7y znxOCxc7DNg9hId+3GwqNgwgRtTfKF+kMtf4fGDZYwKsBOAytTNvpOPGzbxHH7MVuJuk b/sg== X-Gm-Message-State: APjAAAWyKEiY6tVBE/qg9o+QPXuxTYsUriE044g1kR1qktqusHEve1M3 ZMp4CvH8uOQ0/K8JPIiH1LQvPA== X-Google-Smtp-Source: APXvYqwQqiRWV1E1HQFnyC8mJS0OyRxnWUmkGNTIVI7GhBQt5QbOZdmTQT0sxSHTkyg6Xoa4lwxHVA== X-Received: by 2002:a37:614e:: with SMTP id v75mr37487055qkb.27.1554133263241; Mon, 01 Apr 2019 08:41:03 -0700 (PDT) Received: from chatter.qube.local ([176.113.74.187]) by smtp.gmail.com with ESMTPSA id m18sm5936470qki.64.2019.04.01.08.41.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 08:41:02 -0700 (PDT) Date: Mon, 1 Apr 2019 11:41:00 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: RFE: default hooks for git repositories Message-ID: <20190401154100.GA3701@chatter.qube.local> References: <20190306170302.GA21727@chatter.qube.local> <20190307024241.lhlf65uqsbjywfv3@dcvr> <20190308230116.7lnfrcns4lscxrir@whir> <20190318231152.3wetgoicjw7vyf7w@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20190318231152.3wetgoicjw7vyf7w@dcvr> User-Agent: Mutt/1.11.3 (2019-02-01) List-Id: On Mon, Mar 18, 2019 at 11:11:52PM +0000, Eric Wong wrote: >Eric Wong wrote: >> Actually, is there a reason the git-native "init.templateDir" >> configuration variable isn't sufficient? > >Ping? Sorry, Eric, I'm close to declaring email bankruptcy. :) I am okay with any solution that lets us add hooks. To explain why we need hooks in public-inbox repos, it's mostly for the ease of mirroring -- I want a post-update hook to update the grokmirror [1] manifest so that our mirroring script knows when there are updates and also when there are new archives or repository epochs added. So, I defer to you entirely when it comes to how to do it. :) [1] https://github.com/mricon/grokmirror/ -K