From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 09 12:16:08 2020 Received: (at 41764) by debbugs.gnu.org; 9 Jun 2020 16:16:08 +0000 Received: from localhost ([127.0.0.1]:60739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jigv2-00057k-Fm for submit@debbugs.gnu.org; Tue, 09 Jun 2020 12:16:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jigv1-00057I-HP for 41764@debbugs.gnu.org; Tue, 09 Jun 2020 12:16:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44818) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiguw-0006hu-8h; Tue, 09 Jun 2020 12:16:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34584 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jiguv-0002sA-Cu; Tue, 09 Jun 2020 12:16:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Famulari Subject: Re: bug#41764: `make authenticate` fails to find the keyring branch References: <20200608185404.GA2356@jasmine.lan> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 09 Jun 2020 18:16:00 +0200 In-Reply-To: <20200608185404.GA2356@jasmine.lan> (Leo Famulari's message of "Mon, 8 Jun 2020 14:54:04 -0400") Message-ID: <87img0gqpr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41764 Cc: 41764@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Leo Famulari skribis: > I just tried pushing for the first time since installing the new > pre-push hook that runs `make authenticate`. > > This failed with the following error: > > Git error: cannot locate remote-tracking branch 'keyring' > > However, `git branch --all` includes "remotes/origin/keyring". > > After I did `git checkout origin/keyring`, it worked. Right, since commit 512b9e2da26968ebafdd47f701edd8fc3936d3e8, you have to have a local =E2=80=98keyring=E2=80=99 branch. > Let's update the manual section Commit Access with the recommended way > to make this branch accessible to `make authenticate`. Maybe it should > even do it automatically? I don=E2=80=99t think it can do it automatically because it cannot guess wh= at the remote is called (Tobias reported an issue earlier because =E2=80=9Corigin/keyring=E2=80=9D was hard-coded and Tobias didn=E2=80=99t h= ave an =E2=80=9Corigin=E2=80=9D remote.) Regarding documentation, do you think it would suffice to say that one needs to have a local =E2=80=98keyring=E2=80=99 branch tracking upstream=E2= =80=99s? Thanks, Ludo=E2=80=99.