unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63522] [PATCH 0/2] Fix return code of "guix import elpa"
@ 2023-05-15 17:44 Simon Tournier
  2023-05-15 17:45 ` [bug#63522] [PATCH 1/2] scripts: import: elpa: Warn when version is specified Simon Tournier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Simon Tournier @ 2023-05-15 17:44 UTC (permalink / raw)
  To: 63522; +Cc: Simon Tournier, rekado

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-17 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 17:44 [bug#63522] [PATCH 0/2] Fix return code of "guix import elpa" Simon Tournier
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

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).