unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 36760@debbugs.gnu.org
Subject: [bug#36760] [PATCH 0/3] Switch to Guile-JSON 3.x
Date: Mon, 22 Jul 2019 12:13:37 +0200	[thread overview]
Message-ID: <20190722101337.11764-1-ludo@gnu.org> (raw)

Hello Guix!

This is the big switch to Guile-JSON 3.x!

As a reminder, Guile-JSON 3.x changes the mapping between JSON data
structures and Scheme data structures in an incompatible way compared
to 1.x.  Essentially, JSON dictionaries now map to alists (instead of
hash tables), and JSON arrays map to vectors (instead of lists.)

The patch updates all the code in one go, mostly because a single Guile
process cannot have two different (json) modules loaded at the same
time.

When we update the ‘guix’ package, everything that depends on it will
also have to be updated to a snapshot that uses Guile-JSON 3.x: cuirass,
hpcguix-web, and rcas-web.  I count on you, dear reader, to help in
those areas.  :-)

Comments?

Ludo’.

Ludovic Courtès (3):
  maint: Switch to Guile-JSON 3.x.
  gnu: guile-json: Define 'guile-json-1'.
  gnu: Explicitly refer to 'guile-json-1' when needed.

 configure.ac                        |  4 ++--
 doc/guix.texi                       |  2 +-
 gnu/installer.scm                   |  4 ++--
 gnu/installer/locale.scm            | 21 +++++++++--------
 gnu/packages/bioinformatics.scm     |  2 +-
 gnu/packages/ci.scm                 |  2 +-
 gnu/packages/guile-xyz.scm          |  6 ++---
 gnu/packages/guile.scm              |  4 ++++
 gnu/packages/mail.scm               |  4 ++--
 gnu/packages/package-management.scm |  4 ++--
 gnu/packages/web.scm                |  2 +-
 gnu/system/vm.scm                   |  2 +-
 guix/docker.scm                     | 19 ++++++++--------
 guix/git-download.scm               |  4 ++--
 guix/import/cpan.scm                | 14 ++++++------
 guix/import/crate.scm               |  6 ++---
 guix/import/gem.scm                 | 10 ++++++---
 guix/import/json.scm                | 11 ++-------
 guix/import/pypi.scm                |  8 +++----
 guix/import/stackage.scm            |  4 ++--
 guix/import/utils.scm               | 25 +++++----------------
 guix/scripts/import/json.scm        |  2 +-
 guix/scripts/pack.scm               |  2 +-
 guix/self.scm                       |  2 +-
 guix/swh.scm                        | 35 ++++++++++++++++-------------
 m4/guix.m4                          | 21 +++++++++++++++++
 tests/import-utils.scm              | 22 ++++++++++++++++++
 27 files changed, 140 insertions(+), 102 deletions(-)

-- 
2.22.0

             reply	other threads:[~2019-07-22 10:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 10:13 Ludovic Courtès [this message]
2019-07-22 10:18 ` [bug#36760] [PATCH 1/3] maint: Switch to Guile-JSON 3.x Ludovic Courtès
2019-07-22 10:18   ` [bug#36760] [PATCH 2/3] gnu: guile-json: Define 'guile-json-1' Ludovic Courtès
2019-07-22 10:18   ` [bug#36760] [PATCH 3/3] gnu: Explicitly refer to 'guile-json-1' when needed Ludovic Courtès
2019-07-24 22:39 ` bug#36760: [PATCH 0/3] Switch to Guile-JSON 3.x Ludovic Courtès
2019-08-17 17:29 ` [bug#36760] " Ludovic Courtès
2019-08-17 20:47   ` Ricardo Wurmus
2019-08-17 21:17     ` 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=20190722101337.11764-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=36760@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).