* Re: branch master updated: import/cran: Abort with error message when recursive import fails.
[not found] <20201211231330.954.34915@vcs0.savannah.gnu.org>
@ 2020-12-12 11:21 ` Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2020-12-12 11:21 UTC (permalink / raw)
To: guix-devel
Hi,
guix-commits@gnu.org skribis:
> commit 482b8ae2cd3f126a1300178e317df8993bf75b16
> Author: Ricardo Wurmus <rekado@elephly.net>
> AuthorDate: Sat Dec 12 00:06:18 2020 +0100
>
> import/cran: Abort with error message when recursive import fails.
>
> Previously, after a failed recursive import "guix import" would signal
> success.
>
> * guix/import/cran.scm (cran->guix-package): Raise a condition when all
> repositories have been exhausted.
> * guix/scripts/import/cran.scm (guix-import-cran): Handle errors.
[...]
> @@ -585,7 +586,10 @@ s-expression corresponding to that package, or #f on failure."
> ((bioconductor)
> ;; Retry import from CRAN
> (cran->guix-package package-name #:repo 'cran))
> - (else (values #f '()))))))))
> + (else
> + (raise (condition
> + (&message
> + (message "couldn't find meta-data for R package")))))))))))
Maybe include the package name?
(raise (formatted-message
(G_ "couldn't find meta-data for R package '~a'")
package-name))
Ludo’.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-12 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20201211231330.954.34915@vcs0.savannah.gnu.org>
2020-12-12 11:21 ` branch master updated: import/cran: Abort with error message when recursive import fails Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.