GNU bug report logs -
#63522
[PATCH 0/2] Fix return code of "guix import elpa"
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 <at> 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
This bug report was last modified 2 years and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.