bug#44115: [PATCH] import: Make failed recursive imports yield an error instead of backtrace.

2020-10-29 Thread Lulu
* guix/import/utils.scm (recursive-import): Move error handling of recursive imports to a single point. * guix/import/gem.scm (gem->guix-package): Fix the `values' hack and make the procedure return #f on failure. * guix/import/pypi.scm (pypi->guix-package): Fix the condition hack and make the p

bug#44115: “guix import -r“ fails with Bactktrace instead of error

2020-10-29 Thread Lulu
Okay, this one was a tad difficult but I think I got it down. A problem was that there were hacks in importers to circumvent this problem without actually solving it. I'm going to send in annotated patches soon. -- Lulu

bug#44030: guix import pypi foo@1.2.3 breaks

2020-10-29 Thread Lulu
Okay, I tested this a bit and it seems to work fine. I'm going to write formal tests for it (and other importers, if possible) later. -- Lulu

bug#44030: [PATCH] import: pypi: Add '@' syntax for specifying the package version.

2020-10-28 Thread Lulu
* guix/import/pypi.scm (pypi-fetch): Add ’@’ syntax for specifying the package version. --- guix/import/pypi.scm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 15116e349d..559be4a98b 100644 --- a/guix/import/pypi.scm +

bug#31302: `guix import json` doesn't handle inputs with the form 'package:output'

2020-10-26 Thread Lulu
ror: package `glib@2.62.6' lacks output `foo'. So, it seems like this bug was fixed somewhere along the line. -- Lulu

bug#44030: guix import pypi foo@1.2.3 breaks

2020-10-26 Thread Lulu
it's only a matter of pointing the FTP fetch in the right direction, although I couldn't confirm it, as the gnu importer doesn't work for me since my ISP blocks PGP keyserver ports. I need to take a closer look at CRAN, CPAN, TeXLive and opam. -- Lulu [1]: https://guides.rub

bug#44030: [PATCH] guix: import: Add versioning syntax to pypi importer.

2020-10-26 Thread Lulu
Use @ as the unified versioning syntax, as per crate and hackage importers, plus minor spacing fixes. diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 15116e349d..add2a7ed7a 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -118,13 +118,15 @@ (define (pypi-fetch nam

bug#44030: [PATCH] guix: import: Add versioning syntax to pypi importer.

2020-10-26 Thread Lulu
Ah, heck, I used an old revision of the file when I generated the diff. Sorry about that. Here's the properly working patch: diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 15116e349d..1ec1ecbfa1 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -118,13 +118,15 @@

bug#39434: [PATCH] gnu: Fix typo in symbol exported from (gnu services web)

2020-10-14 Thread Lulu
diff --git a/gnu/services/web.scm b/gnu/services/web.scm index c8ffc19d83..b2d1dcf0ee 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -90,7 +90,7 @@ nginx-configuration nginx-configuration? -nginx-configuartion-nginx +nginx-configu

bug#31302: `guix import json` doesn't handle inputs with the form 'package:output'

2020-10-14 Thread Lulu
I just checked this and failed to replicate it. It happily generates config from `glib:doc', `glib:bin' and `glib:out' in input fields and complains if there's a nonexistent `glib:foo' input, as of v1.1.0. -- Lulu