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 ms11 with LMTPS id qKA+KGjf01/XMQAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 21:06:48 +0000 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 CAsZJGjf019IZwAA1q6Kng (envelope-from ) for ; Fri, 11 Dec 2020 21:06:48 +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 AE1DC9404D7 for ; Fri, 11 Dec 2020 21:06:46 +0000 (UTC) Received: from localhost ([::1]:35954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knpch-0001LQ-9r for larch@yhetil.org; Fri, 11 Dec 2020 16:06:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knpa6-0000R5-Pd for bug-guix@gnu.org; Fri, 11 Dec 2020 16:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knpa6-0002nB-H7 for bug-guix@gnu.org; Fri, 11 Dec 2020 16:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knpa6-0002BL-8U for bug-guix@gnu.org; Fri, 11 Dec 2020 16:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45187: git download defaults to origin/master Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Dec 2020 21:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45187 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45187@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16077205858321 (code B ref -1); Fri, 11 Dec 2020 21:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Dec 2020 21:03:05 +0000 Received: from localhost ([127.0.0.1]:43461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knpZB-0002A9-0Q for submit@debbugs.gnu.org; Fri, 11 Dec 2020 16:03:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:55562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knpZ9-0002A1-82 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 16:03:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knpZ8-0008Fc-1N for bug-guix@gnu.org; Fri, 11 Dec 2020 16:03:02 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knpZ0-0002MV-GO for bug-guix@gnu.org; Fri, 11 Dec 2020 16:03:01 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1607720566; cv=none; d=zohomail.com; s=zohoarc; b=GFjofyDxgwMCPfrp6SDNyAaeqN0BQdBkO/5NN4gKiBYPuKCdJf6UWV9a+OaOpg9Ih3HVjfqz9qVDNs5EQhn+DGhb2LFwwDfpZrwqHqUkZOKQqZSaea6je9ZgFQmRftBkGvyQP3gs7lu25kM0PaGZ+L72A+iZy7OLX171XxXkslE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607720566; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=E5fC//HFOgkBiMCVSil1FwBfWDyWiudCiTeAHGn10XU=; b=ShyYrUZks8FOvD2LIuGJ+79i7S979Ok+l2B8Jzsx2yEC2CZRwvax/EWA/COGh+dXvgAxSAnF+k/ADl7UPUdvQRovFM/4NjBB3w99a7NwMshyPcHm9BIZiBk1y8BcMdnNvAXO0hplAdlCgucEaWjVo+4qiHqbAoQwzfuRdZEiXrg= 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= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1607720566; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=E5fC//HFOgkBiMCVSil1FwBfWDyWiudCiTeAHGn10XU=; b=MbvIOX6Gl2Mv1+6MAZwa48nVfkND6h7BUGED7ALcdiYJDFhLAV4IVzLMAwwg7Lcd gCd/KBBG/pAkROV6G51wqAInuFmf7MHR9tQdX0DYv8E08jml0FJdcR/YDmkiM7Qq0lR 6HKjJfzRpDs8TKEN/ypg2k0HMaajxrS4+tNXD4RI= Received: from localhost (p54ad4b85.dip0.t-ipconnect.de [84.173.75.133]) by mx.zohomail.com with SMTPS id 160772056388365.22647467927823; Fri, 11 Dec 2020 13:02:43 -0800 (PST) User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus 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: Fri, 11 Dec 2020 22:02:40 +0100 Message-ID: <878sa4vyxb.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.70 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=elephly.net header.s=zoho header.b=MbvIOX6G; arc=reject (signature check failed: fail, {[1] = sig:zohomail.com:reject}); dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AE1DC9404D7 X-Spam-Score: 0.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6O3loGume+Kt Importing https://github.com/immunogenomics/scpost with the CRAN importer fails, because the git repository does not have an origin/master branch. This repository only has a =E2=80=9Cmain=E2=80=9D br= anch. Arguably, this shouldn=E2=80=99t matter, but (guix git) has the =E2=80=9Cma= ster=E2=80=9D name set up as the default. When cloning a repository it may be better to fetch everything and select the default branch =E2=80=94 whichever name it = may have. Here is a reproducer: --8<---------------cut here---------------start------------->8--- $ guix import cran -r -a git https://github.com/immunogenomics/scpost Backtrace: In ice-9/boot-9.scm: 1736:10 19 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1731:15 18 (with-exception-handler # =E2=80=A6) In guix/scripts/import/cran.scm: 103:26 17 (_) In guix/import/utils.scm: 458:31 16 (recursive-import "https://github.com/immunogenomics/scpost" #= _ #:guix-name =E2=80=A6) 449:33 15 (lookup-node "https://github.com/immunogenomics/scpost" #f) In guix/memoization.scm: 98:0 14 (mproc "https://github.com/immunogenomics/scpost" #:version #f= #:repo git) In unknown file: 13 (_ #= # =E2=80=A6) In guix/import/cran.scm: 576:24 12 (_ "https://github.com/immunogenomics/scpost" #:repo _ #:versi= on _) 269:25 11 (fetch-description _ "https://github.com/immunogenomics/scpost= ") In guix/memoization.scm: 98:0 10 (mproc "https://github.com/immunogenomics/scpost" #:method git) In unknown file: 9 (_ #= # =E2=80=A6) In ice-9/boot-9.scm: 1736:10 8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 632:37 7 (thunk) In guix/git.scm: 424:8 6 (latest-repository-commit # "https://=E2=80=A6" =E2=80=A6) 240:2 5 (update-cached-checkout _ #:ref _ #:recursive? _ #:check-out? = _ # _ # _ # _) 208:19 4 (resolve _) In git/branch.scm: 101:8 3 (_ _ _ _) In git/bindings.scm: 77:2 2 (raise-git-error _) In ice-9/boot-9.scm: 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Git error: cannot locate remote-tracking branch 'origin/master' --8<---------------cut here---------------end--------------->8--- --=20 Ricardo