Subject: [PATCH 0/4] Refactor (guix ci) and (guix import crate)
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>
Date: Sun, 1 Sep 2019 16:46:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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