From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6NETBcVoEGHzIAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:29:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eAKjAMVoEGHHMwAA1q6Kng (envelope-from ) for ; Sun, 08 Aug 2021 23:29:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7976010C3B for ; Mon, 9 Aug 2021 01:29:08 +0200 (CEST) Received: from localhost ([::1]:38898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsE7-0005xm-IQ for larch@yhetil.org; Sun, 08 Aug 2021 19:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsE2-0005xe-Hn for guix-patches@gnu.org; Sun, 08 Aug 2021 19:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsE2-0001ti-2T for guix-patches@gnu.org; Sun, 08 Aug 2021 19:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsE1-0000gM-Th for guix-patches@gnu.org; Sun, 08 Aug 2021 19:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49252] [PATCH] Channels defaulting to HEAD instead of =?UTF-8?Q?=E2=80=98master=E2=80=99?= Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49252 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , 49252@debbugs.gnu.org Received: via spool by 49252-submit@debbugs.gnu.org id=B49252.16284652902562 (code B ref 49252); Sun, 08 Aug 2021 23:29:01 +0000 Received: (at 49252) by debbugs.gnu.org; 8 Aug 2021 23:28:10 +0000 Received: from localhost ([127.0.0.1]:54941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsDC-0000fG-2l for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:28:10 -0400 Received: from out1.migadu.com ([91.121.223.63]:41179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsDA-0000f7-FM for 49252@debbugs.gnu.org; Sun, 08 Aug 2021 19:28:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1628465286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L4peNXilfvPJNk81AET5TFEy8P3NhGAZLxXqrb3LoQI=; b=m5wopfA45v32uVEw4MAEFt1w3TwBEx3QUeZLt3Xe7vJrcvqCJqIF5LzGR1m9azKuS14UdI Ks+RgcjB12xDF8p1w4WpY7w+Ke/7ZZKDseXj2Fkvxnev+bsKziDgTDfjf7T3jLC3zGu1Pb fU4eZaOVVykPzmv/j0gXNrBdwaiHROeG97JaZk5/0/DVMNwSFxxvRzdxM4T2YVqxD6RJSc fR3vcHiaffw8BtLY2Mtv515fP5my2m8UAKZXnm/YYPKbnoHtjNTqqIwjldrurGVvmlW70o U3ri8ibeKshERcLF92MkN5+MLbWhpmlLDkAJ0+APcFt7IZ2rY4FHiWsexiO/4A== From: Kyle Meyer In-Reply-To: <87h7g5p7yi.fsf@gnu.org> References: <87y2auw3jo.fsf@inria.fr> <87fswo8goa.fsf@kyleam.com> <87h7g5p7yi.fsf@gnu.org> Date: Sun, 08 Aug 2021 19:28:05 -0400 Message-ID: <87k0kv8qka.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628465348; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L4peNXilfvPJNk81AET5TFEy8P3NhGAZLxXqrb3LoQI=; b=IDlwdeL06QLlMy62OI+3eA41hCp3tlglsYboM4I9nrmdX55vAol6Mzng1uRp2bGbTowlFx uWfsFyvhbae1S6gXLTcP/U5i28Ymqb7VTQpz9wWQlfBAehJthreCveWj1tk6Qr2/EToP9Y 3Epc5pUtW4qq0SdK97+Pf+Br8YYFhIACkK/WxEmXQvYg3kXEz7yQhq0ECs+tn6CllQUAQc Md8RlUKUh1taw021hggztjH44E1Y4ohSzlMGW4V0qtDDuIqtHV0R1NnIlXX+TQX4gacm1P KhrV5eHnLglLYkbW64afRI16F+Pc7NrlFmSdhH5NCLNTc9iFsWeAITcidCAvgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628465348; a=rsa-sha256; cv=none; b=d7szk/nzhJxPLynRgA6j0rfgqAdlBHq79YhFX9ntQ288FjKEJjWMmcihmT9xy/A1u7PwIb fF/W2By7K+bBiNx4iPAkzkjcC/qbh+JSF9vf5TphISPjAdhrj/4C4o+1oc/QVwu61BsbYg q/Ce6+ilsz/V0hkyrqPg+kTr55tgvPbYj04omvhu5C23A3mO489c3ECCojZAZ22Ajj27RT C34iPYuLZDLu+YPBAR93tnfpqGZoz790r6PNmFKaYFhc7snpYhN+eIex0hBqlJCVzkOvul HvlFF0Xf4mvgdXGm7oJ0Cf1YbXvD9bXiRGmhyj/rYv75danJ8M6G8nXekNvgzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=m5wopfA4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=m5wopfA4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7976010C3B X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: vgsAzL52kr2U Ludovic Court=C3=A8s writes: > Kyle Meyer skribis: [...] >> >> Hmm, it looks like it's there: >> >> $ git ls-remote https://git.savannah.gnu.org/git/guix.git | grep HEAD >> e499500730de23fd54ae63696a725d4b90a406d7 HEAD >> >> $ git clone https://git.savannah.gnu.org/git/guix.git && cd guix >> $ git for-each-ref refs/remotes/origin | grep HEAD >> e499500730de23fd54ae63696a725d4b90a406d7 commit refs/remotes/origin/HE= AD >> $ git name-rev refs/remotes/origin/HEAD >> refs/remotes/origin/HEAD master > > OK, so something else must be at fault. > > Ideas? My understanding is that the clone is happening through guile-git, which uses libgit2. In libgit2's v1.1.0 release notes, I see "[t]he refs/remotes/origin/HEAD file will be created at clone time to point to the origin's default branch". So my current guess is that this clone was made before guix's libgit2 was 1.1.0. Does that sound possible (i.e. this clone is from before 2020-12-ish)? Do you still see the "reference 'refs/remotes/origin/HEAD' not found" failure if you force a fresh clone?