unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 37254@debbugs.gnu.org
Subject: [bug#37254] [PATCH 0/4] Refactor (guix ci) and (guix import crate)
Date: Sun,  1 Sep 2019 16:46:47 +0200	[thread overview]
Message-ID: <20190901144647.15185-1-ludo@gnu.org> (raw)

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

             reply	other threads:[~2019-09-01 14:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-01 14:46 Ludovic Courtès [this message]
2019-09-01 14:56 ` [bug#37254] [PATCH 1/4] Add (guix json) Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 2/4] ci: Use (guix json) and adjust for Guile-JSON 3.x Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 3/4] import: create: Separate crates.io API from actual conversion Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 4/4] import: crate: Correct interpretation of dual-licensing strings Ludovic Courtès
2019-09-01 16:05 ` [bug#37254] [PATCH 0/4] Refactor (guix ci) and (guix import crate) Efraim Flashner
2019-09-04 11:04   ` bug#37254: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190901144647.15185-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=37254@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).