GNU bug report logs - #37254
[PATCH 0/4] Refactor (guix ci) and (guix import crate)

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sun, 1 Sep 2019 14:47:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/4] Refactor (guix ci) and (guix import crate)
Date: Sun,  1 Sep 2019 16:46:47 +0200
Hello Guix!

Initially I just wanted to fix “guix import crate blake2-rfc”, which
didn’t work as Efraim reported on IRC, but that led me to refactor
(guix ci) and (guix import crate) to use ‘define-json-mapping’ to
automatically map JSON dictionaries to records.

Feedback welcome!

Thanks,
Ludo’.

Ludovic Courtès (4):
  Add (guix json).
  ci: Use (guix json) and adjust for Guile-JSON 3.x.
  import: create: Separate crates.io API from actual conversion.
  import: crate: Correct interpretation of dual-licensing strings.

 Makefile.am                 |   1 +
 guix/build-system/cargo.scm |  11 ++-
 guix/ci.scm                 |  68 ++++++---------
 guix/import/crate.scm       | 161 ++++++++++++++++++++++++++----------
 guix/json.scm               |  62 ++++++++++++++
 guix/swh.scm                |  35 +-------
 tests/crate.scm             |  13 ++-
 7 files changed, 229 insertions(+), 122 deletions(-)
 create mode 100644 guix/json.scm

-- 
2.23.0





This bug report was last modified 5 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.