guix/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 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
android-repo-download.scm
avahi.scm avahi: Remove poll timeout when possible. 2020-12-20 10:40:57 +01:00
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm git: Periodically delete least-recently-used cached checkouts. 2021-01-13 16:26:58 +01:00
channels.scm
ci.scm
colors.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
d3.v3.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gexp.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
git-authenticate.scm
git-download.scm
git.scm git: Periodically delete least-recently-used cached checkouts. 2021-01-13 16:26:58 +01:00
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
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
http-client.scm
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
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
narinfo.scm guix: Move narinfo code from substitute script to module. 2021-01-16 11:51:03 +00:00
openpgp.scm
packages.scm packages: Fix 'base32' used before definition warning. 2021-01-11 08:15:08 -05:00
pki.scm
profiles.scm
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
records.scm
remote.scm
repl.scm
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
svn-download.scm
swh.scm
tests.scm
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