unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58308: guix import -r swallows errors
@ 2022-10-05 15:37 Ricardo Wurmus
  2023-05-15 17:46 ` Simon Tournier
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2022-10-05 15:37 UTC (permalink / raw)
  To: 58308

Consider this:

   $ ./pre-inst-env guix import elpa -r syslog
   $ echo $?
   0

And now this:

   $ ./pre-inst-env guix import elpa syslog
   guix import: error: failed to download package 'syslog'
   $ echo $?
   1

The recursive importer swallows the error.

-- 
Ricardo




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

* bug#58308: guix import -r swallows errors
  2022-10-05 15:37 bug#58308: guix import -r swallows errors Ricardo Wurmus
@ 2023-05-15 17:46 ` Simon Tournier
  2023-05-19 15:45   ` Simon Tournier
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Tournier @ 2023-05-15 17:46 UTC (permalink / raw)
  To: Ricardo Wurmus, 58308

Hi,

On mer., 05 oct. 2022 at 17:37, Ricardo Wurmus <rekado@elephly.net> wrote:
> Consider this:
>
>    $ ./pre-inst-env guix import elpa -r syslog
>    $ echo $?
>    0
>
> And now this:
>
>    $ ./pre-inst-env guix import elpa syslog
>    guix import: error: failed to download package 'syslog'
>    $ echo $?
>    1
>
> The recursive importer swallows the error.

Fixed by <https://issues.guix.gnu.org/issue/63522>.

Cheers,
simon




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

* bug#58308: guix import -r swallows errors
  2023-05-15 17:46 ` Simon Tournier
@ 2023-05-19 15:45   ` Simon Tournier
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Tournier @ 2023-05-19 15:45 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 58308-done

Hi,

On lun., 15 mai 2023 at 19:46, Simon Tournier <zimon.toutoune@gmail.com> wrote:

> Fixed by <https://issues.guix.gnu.org/issue/63522>.

Pushed as d81701a85aa8aa96f4a853f06fe28693fa8bee12.

Closing.

Cheers,
simon




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

end of thread, other threads:[~2023-05-19 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 15:37 bug#58308: guix import -r swallows errors Ricardo Wurmus
2023-05-15 17:46 ` Simon Tournier
2023-05-19 15:45   ` Simon Tournier

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