From: Simon Tournier <zimon.toutoune@gmail.com>
To: 63522@debbugs.gnu.org
Cc: Simon Tournier <zimon.toutoune@gmail.com>, rekado@elephly.net
Subject: [bug#63522] [PATCH 0/2] Fix return code of "guix import elpa"
Date: Mon, 15 May 2023 19:44:04 +0200 [thread overview]
Message-ID: <cover.1684171669.git.zimon.toutoune@gmail.com> (raw)
Hi,
This fixes issue #58308 [1]:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import elpa syslog
guix import: error: failed to download meta-data for package 'syslog'
$ echo $?
1
$ ./pre-inst-env guix import elpa syslog -r
guix import: error: failed to download meta-data for package 'syslog'
$ echo $?
1
--8<---------------cut here---------------end--------------->8---
In addition, since Elpa importer does not support the specification of the
version, the first patch warns about that:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix import elpa -a melpa magit@12
guix import: warning: this importer does not consider the version
(package
((name "emacs-magit")
(version "20230510.2139")
[...]
--8<---------------cut here---------------end--------------->8---
1: https://issues.guix.gnu.org/issue/58308
Cheers,
simon
Simon Tournier (2):
scripts: import: elpa: Warn when version is specified.
scripts: import: elpa: Return consistent error code.
guix/scripts/import/elpa.scm | 34 ++++++++++++++++++++--------------
1 file changed, 20 insertions(+), 14 deletions(-)
base-commit: 6e38ec447f98383e0722ac300734f8d7c8c5c7b0
--
2.38.1
next reply other threads:[~2023-05-15 17:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 17:44 Simon Tournier [this message]
2023-05-15 17:45 ` [bug#63522] [PATCH 1/2] scripts: import: elpa: Warn when version is specified Simon Tournier
2023-05-15 17:45 ` [bug#63522] [PATCH 2/2] scripts: import: elpa: Return consistent error code Simon Tournier
2023-05-17 21:27 ` [bug#63522] [PATCH 0/2] Fix return code of "guix import elpa" Josselin Poiret via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1684171669.git.zimon.toutoune@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=63522@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).