From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sA6yG4h5O2GFOQAAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 17:28:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gEpuF4h5O2HWLQAAbx9fmQ (envelope-from ) for ; Fri, 10 Sep 2021 15:28:08 +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 33C2A18B8F for ; Fri, 10 Sep 2021 17:28:08 +0200 (CEST) Received: from localhost ([::1]:59046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOiRj-0001Yn-Cl for larch@yhetil.org; Fri, 10 Sep 2021 11:28:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOiRe-0001YY-BV for guix-patches@gnu.org; Fri, 10 Sep 2021 11:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOiRe-0001vz-3b for guix-patches@gnu.org; Fri, 10 Sep 2021 11:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOiRd-00048J-UZ for guix-patches@gnu.org; Fri, 10 Sep 2021 11:28:01 -0400 Subject: bug#50426: [PATCH] import: elpa: Don't hardcode default branch to 'master'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 10 Sep 2021 15:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 50426 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 50426-done@debbugs.gnu.org Mail-Followup-To: 50426@debbugs.gnu.org, ludo@gnu.org, public@yoctocell.xyz Received: via spool by 50426-done@debbugs.gnu.org id=D50426.163128765815848 (code D ref 50426); Fri, 10 Sep 2021 15:28:01 +0000 Received: (at 50426-done) by debbugs.gnu.org; 10 Sep 2021 15:27:38 +0000 Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOiRG-00047W-AL for submit@debbugs.gnu.org; Fri, 10 Sep 2021 11:27:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOiRE-00047J-U3 for 50426-done@debbugs.gnu.org; Fri, 10 Sep 2021 11:27:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49038) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOiR8-0001VS-KL; Fri, 10 Sep 2021 11:27:30 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=47226 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOiR8-0007p1-BN; Fri, 10 Sep 2021 11:27:30 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <7a5a35f29121ebbb2e1ec1fe991159fbf6bae2e4.1630925679.git.public@yoctocell.xyz> Date: Fri, 10 Sep 2021 17:27:28 +0200 In-Reply-To: <7a5a35f29121ebbb2e1ec1fe991159fbf6bae2e4.1630925679.git.public@yoctocell.xyz> (Xinglu Chen's message of "Mon, 06 Sep 2021 12:57:04 +0200") Message-ID: <87bl50cuxr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1631287688; 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-to: 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; bh=+Ua1xoHp0BtxVpyaTgskrk2ZiIROvWqhGoiJfRao42E=; b=lg6VtCMl3K4mvRq+HUFBNVghQgwlRvMbYS2iQY6r+OrZyVhqS0zwuEn4gHsa8OegW8sIur wrZqQvkNfGQov1jLndSiaJQuCkfx1bQ9uuYzlwWya2UkXljYWvs7WkQdWR0tPxgGcD3xvs QU3mrVocjG7DWULkyuH+nagUoDlkvH9O/wBtFyFOvKA/QNDKbkQ+2jOdSzk91og8+sgOsR 7WN+dmmTdVSc6P4YP3/VxXjdC+bnLwdD2aDzFekue4R+RXcre3ImRea/mC0iMF38Rm4Fu8 MTkWSOMjl0jYwHP1gZaJspyj7O6eJ6lmn92f3hvE6xujezgyaddAyBlzbZjLBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631287688; a=rsa-sha256; cv=none; b=VmwRipNm6GGEBrj81iXcl4wsbNMGwbjGBR+mxXpM3xO16a6dAJWeCzNurKu3AH31k7XnV2 AiZ8r0d6+wTeJUCeL0KjZPH2EgnVA1gmCEMT3hmgh6Cb64tZAhdH+c7I3tFkoB5p+LKRoM xT2ELjH5auTWtMJjMdrOk7UEUPj5MM05oR7WjAMKXJjbc+Vlk6Ru5HTgxmjhwptUC9cF4M y5GuGIYhzLj4lZWXxrKsxVCUywjo2W7ld96i+cY90K6BW4k0OQMuei5rSFGNkJ9a1324fz a2GhWXgGvnS0ND9x5NUnWieMLF1NGJN12LJvne9yikKXtrwlkGWR2+WdfM+9iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 33C2A18B8F X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: rSs/8Kv+ToqL Hi, Xinglu Chen skribis: > Otherwise, remotes without a branch named 'master' will cause an error wh= en > importing. > > * guix/import/elpa (git-repository->origin): Fallback to HEAD instead of = the > 'master' branch. Applied, thanks! > For example, try to import the =E2=80=98consult=E2=80=99 package from MEL= PA: > > $ ./pre-inst-env guix import elpa -a melpa consult This example works for me: --8<---------------cut here---------------start------------->8--- $ guix describe Generacio 189 Aug 30 2021 12:09:27 (nuna) guix f91ae94 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: f91ae9425bb385b60396a544afe27933896b8fa3 ludo@ribbon ~/src/guix$ guix import elpa -a melpa consult Starting download of /tmp/guix-file.E3Bp9a >From https://melpa.org/packages/consult-20210905.1657.tar... =E2=80=A60905.1657.tar 240KiB 501KiB/s 00:00 [#############= #####] 100.0% (package (name "emacs-consult") (version "20210905.1657") (source (origin (method url-fetch) (uri (string-append "https://melpa.org/packages/consult-" version ".tar")) (sha256 (base32 "0d29fd0r6bsn3ivqzjdlj7yhafbs84x3p4v7885nc14fgmbl5a7k")))) [=E2=80=A6] --8<---------------cut here---------------end--------------->8--- But maybe something changed on MELPA in the meantime? Thanks, Ludo=E2=80=99.