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 1KDKKEXiD2FpQQAAgWs5BA (envelope-from ) for ; Sun, 08 Aug 2021 15:55:17 +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 4KYOJEXiD2FkLgAA1q6Kng (envelope-from ) for ; Sun, 08 Aug 2021 13:55:17 +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 ABBD8CD2 for ; Sun, 8 Aug 2021 15:55:16 +0200 (CEST) Received: from localhost ([::1]:36944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCjGl-0001vK-75 for larch@yhetil.org; Sun, 08 Aug 2021 09:55:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCjGY-0001v7-4N for guix-patches@gnu.org; Sun, 08 Aug 2021 09:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCjGX-0001DT-RV for guix-patches@gnu.org; Sun, 08 Aug 2021 09:55:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCjGX-0003v4-OY for guix-patches@gnu.org; Sun, 08 Aug 2021 09:55: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: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 13:55: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: Kyle Meyer , 49252@debbugs.gnu.org Received: via spool by 49252-submit@debbugs.gnu.org id=B49252.162843084915003 (code B ref 49252); Sun, 08 Aug 2021 13:55:01 +0000 Received: (at 49252) by debbugs.gnu.org; 8 Aug 2021 13:54:09 +0000 Received: from localhost ([127.0.0.1]:53823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCjFh-0003tu-BV for submit@debbugs.gnu.org; Sun, 08 Aug 2021 09:54:09 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCjFd-0003ti-GO for 49252@debbugs.gnu.org; Sun, 08 Aug 2021 09:54:08 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1628430834; cv=none; d=zohomail.com; s=zohoarc; b=MEYbCYv9/ALXR4rmTBAs1T6jnAVrhvzWoo7O1xuoPqC0TA8LY60msZliS3c2r94Tgi1MP8DRB93Is/UtW6BRhe1AgSkJbWtce+kjmlE47pW7zyDYdSdVHWGeAb8dEyYRs4sA1nMnKxChtvAqPIdYzhgVpgzmauLKJKOA7mbD0g4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628430834; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8RIYCFAx0K2eVi3PZff5cQvQW1/vybM0Gu4TjdHVoR8=; b=GlVIodcS0AVfblkGc6p6glygKRqdvKEL8P5B/txjWzPfdY7XWYOUMfKjmaQGe3GP8IRf9bJPMs+19vtRIroW+B2ytNC5AuWwS4FZWwXD+z1lM1wYYrvQDI/PRUse5tJPDmEwMwp499FcrX/da/+ITHJaNFAbwbLQJskrISxxZlE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1628430834; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=8RIYCFAx0K2eVi3PZff5cQvQW1/vybM0Gu4TjdHVoR8=; b=i5k4hU+xShBayKSiMTlH3EEExsYlRRCoBKaU8QKhw5A4Z5NDTlzOB71gWX9OVc/6 mUu+52U+zO2vbEzJd0eRnS6PMLmTX/pNf9DYqVPwW8n788yKp6AKX4lIg9F1bgdFeNT KfADNultFFS4loHglkzmE/JV7swe5SIvkFQKqcRc= Received: from localhost (p54ad4ea5.dip0.t-ipconnect.de [84.173.78.165]) by mx.zohomail.com with SMTPS id 162843083183143.647378345185075; Sun, 8 Aug 2021 06:53:51 -0700 (PDT) References: <87y2auw3jo.fsf@inria.fr> User-agent: mu4e 1.4.15; emacs 27.2 From: Ricardo Wurmus In-reply-to: <87y2auw3jo.fsf@inria.fr> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 08 Aug 2021 15:53:48 +0200 Message-ID: <87tuk0kpoz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628430916; 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=8RIYCFAx0K2eVi3PZff5cQvQW1/vybM0Gu4TjdHVoR8=; b=ihH/V4eJhaOioy6AIvn4CYimgWK2G83D9WWCdcYB0nvpFOaiTy+cWWj8wKqbbYc3R+81u/ odJ+KDN1sCJZOVHYJw1eaV0xwLY5U+hkaBuLxG8cXW25mmMm9JQcBs8g2M6eV3j3/gYNww 8rmwKrxXjn1vUfKhOZ7FrxtNGVoBWWyNRBAg0nHbGZgBvf53A6IccbMunlG9htWGZP7n+Y 5+0EWpPQwKjalLzyBQowYKtc/4oQB0rZlg7yUGW0k31dfQXh3NDagfbSv7imKMY/CY0Lra LnYcTX/Fvz5bIroN0CozPetp7lvj917BVvw81xLSYWtAiJZnqMbB/8tGQsQgYg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1628430916; a=rsa-sha256; cv=fail; b=l+UZFV+SX7F5/1lhFskEU9JwmKxLNBrbMBiIIIM+Y+gNJVP/KeQbylF/k5NWl275HXFcEm ctgMJ+SeiD5yTjFuZA9aR2bOdJEg3zQ7d0vVb6MGebgjES/wyipIRwoWTx4KEx+PabYnZl 3+GfqhHFchMR8T2NIr6X7z3aw+kSKUFhzpsrrLEwmuJh/RVi53G5uRMDl2tUw+KTvGzcfB P3o4SDRfDn4SOS4L2/a4qGFptGUNIlI7m/BB2+qahGca87+Ir3gmE7uEwp5IdjaLbGvFI/ czfPuczw4ZfynUlwo8vjn+SglJ/tleoMOeEcoaORs4IFNCmyQzKnNKVaqw52mA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=i5k4hU+x; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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: 0.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=i5k4hU+x; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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: ABBD8CD2 X-Spam-Score: 0.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: NYWMnCBICfsA Ludovic Court=C3=A8s writes: > For the record, commit cb41c15827a2e910aa56fb5d1917ba8a085c95c7=20 > by Kyle > (Cc=E2=80=99d) gives the ability to use the remote HEAD by default,=20 > which is > exactly what we need here. > > Unfortunately, for the Guix repo at Savannah, I get: > > --8<---------------cut=20 > here---------------start------------->8--- > $ ./pre-inst-env guix time-machine -- describe > guix time-machine: error: Git error: reference=20 > 'refs/remotes/origin/HEAD' not found > --8<---------------cut=20 > here---------------end--------------->8--- > > =E2=80=A6 but it works for . For what it=E2=80=99s worth I found the same kind of problem when=20 importing an R package from Github: ./pre-inst-env guix import cran -a git=20 https://github.com/ImmuneDynamics/Spectre Here=E2=80=99s the error backtrace: --8<---------------cut here---------------start------------->8--- Backtrace: In ice-9/boot-9.scm: 724:2 19 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 18 (_ #(#(#))) In guix/ui.scm: 2185:7 17 (run-guix . _) 2148:10 16 (run-guix-command _ . _) In guix/scripts/import.scm: 120:11 15 (guix-import . _) In guix/scripts/import/cran.scm: 110:25 14 (guix-import-cran . _) In guix/memoization.scm: 98:0 13 (mproc "https://github.com/ImmuneDynamics/Spectre"=20 #:repo git) In unknown file: 12 (_ # #=20 (this is nothing)) In guix/import/cran.scm: 594:24 11 (_ "https://github.com/ImmuneDynamics/Spectre" #:repo=20 _ #:version _) 279:25 10 (fetch-description _=20 "https://github.com/ImmuneDynamics/Spectre") In guix/memoization.scm: 98:0 9 (mproc "https://github.com/ImmuneDynamics/Spectre"=20 #:method git) In unknown file: 8 (_ # #=20 (this is nothing)) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _=20 #:unwind-for-type _) In guix/store.scm: 658:37 6 (thunk) In guix/git.scm: 481:8 5 (latest-repository-commit # "https://github.com/ImmuneDynamics/Spectre"=20 #:recursive? _ #:log-port _ #:cache-directory _ #:ref _) 247:4 4 (update-cached-checkout _ #:ref _ #:recursive? _=20 #:check-out? _ #:starting-commit _ #:log-port _=20 #:cache-directory _) 214:18 3 (resolve _) In git/reference.scm: 60:8 2 (_ _ _) In git/bindings.scm: 77:2 1 (raise-git-error _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Git error: reference 'refs/remotes/origin/HEAD' not found --8<---------------cut here---------------end--------------->8--- > Presumably we have a server-side setup issue at Savannah? I think it might be a repository setting rather than a server=20 setting as other Github repositories work, yet this one repo on=20 Github does not. --=20 Ricardo