guix-play/guix
Christopher Baines 681af17460
guix: Move narinfo code from substitute script to module.
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.

This is just moving the code around, no code should have been significantly
changed.

* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
2021-01-16 11:51:03 +00:00
..
build build-system/cargo: Use argument "--no-track" in "cargo install". 2020-12-31 14:42:15 +02:00
build-system import: cran: Update the Bioconductor version to 3.12. 2020-12-09 12:12:19 +01:00
import import: texlive: Produce a partial package definition rather than crashing. 2021-01-10 23:30:30 -05:00
scripts guix: Move narinfo code from substitute script to module. 2021-01-16 11:51:03 +00:00
store maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
tests tests: Move OpenPGP helpers to (guix tests gnupg). 2020-06-16 16:10:46 +02:00
android-repo-download.scm android-repo-download: Remove unnecessary use of Guile-JSON. 2020-09-08 00:47:35 +02:00
avahi.scm avahi: Remove poll timeout when possible. 2020-12-20 10:40:57 +01:00
base16.scm
base32.scm
base64.scm base64: Do not use (rnrs). 2019-12-15 00:34:05 +01:00
build-system.scm packages: Add 'package-with-c-toolchain'. 2020-10-12 18:23:47 +02:00
bzr-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
cache.scm git: Periodically delete least-recently-used cached checkouts. 2021-01-13 16:26:58 +01:00
channels.scm channels: Expose the default channel in %default-channel. 2020-11-28 00:06:14 +01:00
ci.scm ci: Add "evaluation" method. 2020-12-07 16:15:55 +01:00
colors.scm ui: Don't disable colors when INSIDE_EMACS is set. 2020-02-24 11:01:52 +01:00
combinators.scm combinators: Fix typo. 2020-07-05 03:15:08 +05:30
config.scm.in Use "guile-zlib" and "guile-lzlib" instead of (guix config). 2020-08-24 13:35:24 +02:00
cpio.scm linux-initrd: Add special-file->cpio-header*. 2020-11-22 11:03:31 +01:00
cve.scm lint: cve: Set a connection timeout. 2020-10-12 11:28:56 +02:00
cvs-download.scm Use guile-zlib extension in build-side code. 2020-08-24 10:41:06 +02:00
d3.v3.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
deprecation.scm deprecation: Add a two-element form for simple aliases. 2020-01-12 00:19:09 +01:00
derivations.scm derivations: Avoid uses of 'write' in 'write-derivation'. 2020-08-28 23:29:07 +02:00
describe.scm describe: Save the original value of (program-arguments). 2020-09-19 22:52:36 +02:00
diagnostics.scm diagnostics: Add '&formatted-message'. 2020-07-25 19:11:36 +02:00
discovery.scm discovery: Fix typo. 2020-07-05 16:07:59 +05:30
docker.scm pack: Provide a meaningful "repository name" for Docker. 2019-09-16 10:25:31 +02:00
download.scm download: Update ImageMagick mirror list. 2020-12-13 01:05:57 +01:00
elf.scm
ftp-client.scm
gexp.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
git-authenticate.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
git-download.scm Remove (guix json) and require Guile-JSON 4.3.0+. 2020-09-08 00:47:35 +02:00
git.scm git: Periodically delete least-recently-used cached checkouts. 2021-01-13 16:26:58 +01:00
glob.scm guix: Add globstar support. 2020-12-09 22:25:17 +01:00
gnu-maintenance.scm Use "guile-zlib" and "guile-lzlib" instead of (guix config). 2020-08-24 13:35:24 +02:00
gnupg.scm gnupg: Accept revoked keys. 2020-04-17 23:36:47 +02:00
grafts.scm grafts: Improve performance for derivations with many inputs. 2020-06-06 23:28:48 +02:00
graph.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
graph.scm graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
hg-download.scm guix: hg-download: Add hg-predicate. 2020-11-14 10:27:00 +00:00
http-client.scm substitute: Cache and reuse connections while substituting. 2020-12-08 22:30:08 +01:00
i18n.scm
inferior.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
licenses.scm Revert "gnu: nmap: Update license." 2021-01-10 17:43:31 +01:00
lint.scm upstream: Make the 'updaters' parameter optional. 2021-01-07 12:08:41 +01:00
man-db.scm Use "guile-zlib" and "guile-lzlib" instead of (guix config). 2020-08-24 13:35:24 +02:00
memoization.scm
modules.scm
monad-repl.scm
monads.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
nar.scm database: Remove #:deduplicate? from 'register-items'. 2020-12-15 17:32:11 +01:00
narinfo.scm guix: Move narinfo code from substitute script to module. 2021-01-16 11:51:03 +00:00
openpgp.scm openpgp: '&openpgp-unrecognized-packet-error' includes type tag. 2020-10-14 15:22:55 +02:00
packages.scm packages: Fix 'base32' used before definition warning. 2021-01-11 08:15:08 -05:00
pki.scm
profiles.scm profiles: Delete duplicate manifest entries in packages->manifest. 2020-12-07 12:48:26 +01:00
profiling.scm
progress.scm status: Do not emit ANSI escapes when stderr is not a tty. 2020-12-18 16:13:39 +01:00
quirks.scm quirks: Adjust patch to allow traveling back to Dec. 2018. 2020-07-24 18:56:25 +02:00
records.scm records: Have ABI check work well for cross-compilation. 2020-04-08 00:05:45 +02:00
remote.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
repl.scm repl: Return stack traces along with exceptions. 2020-03-19 15:14:08 +01:00
scripts.scm Discover extensions via GUIX_EXTENSIONS_PATH. 2021-01-05 23:58:21 +01:00
search-paths.scm
self.scm self: Add dependency on guile-zstd. 2021-01-14 09:12:24 +01:00
serialization.scm daemon: Delegate deduplication to 'guix substitute'. 2020-12-19 23:25:01 +01:00
sets.scm
ssh.scm ssh: Use 'guix repl' instead of 'guile'. 2020-12-23 16:03:32 +01:00
status.scm status: Do not emit ANSI escapes when stderr is not a tty. 2020-12-18 16:13:39 +01:00
store.scm store: Fix ensure-path docstring. 2020-11-23 14:10:34 +01:00
svn-download.scm guix: Fix download-svn-to-store. 2020-09-14 14:24:29 +01:00
swh.scm Remove (guix json) and require Guile-JSON 4.3.0+. 2020-09-08 00:47:35 +02:00
tests.scm tests: Do not fetch and print the random seed from the top level. 2020-10-20 16:30:16 +02:00
transformations.scm transformations: Add '--with-patch'. 2020-12-27 17:23:40 +01:00
ui.scm ui: Fix order of match clauses. 2021-01-07 18:10:58 +01:00
upstream.scm upstream: Make the 'updaters' parameter optional. 2021-01-07 12:08:41 +01:00
utils.scm utils: Support zstd compression via Guile-zstd. 2021-01-13 22:24:19 +01:00
workers.scm