mbox

[bug#45409,0/3] Move some (guix scripts substitute) code to two new modules

Message ID 87y2hn9l8j.fsf@cbaines.net
Headers show

Message

Christopher Baines Dec. 24, 2020, 5:17 p.m. UTC
These commits are still a work in progress, but I think the changes look
pretty positive.



Christopher Baines (3):
  guix: Move narinfo code from substitute script to module.
  guix: Untangle (guix narinfo) from (guix scripts substitute).
  guix: Split (guix substitute) from (guix scripts substitute).

 Makefile.am                 |   2 +
 guix/narinfo.scm            | 325 +++++++++++++++
 guix/scripts/challenge.scm  |   3 +-
 guix/scripts/substitute.scm | 778 +-----------------------------------
 guix/scripts/weather.scm    |   3 +-
 guix/substitute.scm         | 527 ++++++++++++++++++++++++
 6 files changed, 875 insertions(+), 763 deletions(-)
 create mode 100644 guix/narinfo.scm
 create mode 100644 guix/substitute.scm

Comments

Christopher Baines March 6, 2021, 12:57 a.m. UTC | #1
I pushed the creation of the (guix substitutes) module as
112692c0d546d35cd67c5dc70dbd1dc609b18f64, so hopefully now it'll be
easier to improve substitute related things in Guix and things like the
Guix Build Coordinator that use this code.