~ruther/guix-local

ref: d10fa5c7ff878ad4723e1946d4c308261cd9e98f guix-local/guix/scripts d---------
9a3762a7 — Ludovic Courtès 9 years ago
size: Avoid '_' as a pattern variable in 'match'.

* guix/scripts/size.scm (display-profile, profile->page-map): Don't use
'_' as a 'match' pattern variable.
5ea69d9a — Chris Marusich 9 years ago
system: Support the --root option in 'guix system'.

Fixes <https://bugs.gnu.org/26271>.

* guix/scripts/system.scm (perform-action): Add #:gc-root parameter and
honor it.
(show-help): Document the --root option.
(%options): Add 'root'.
(process-action): Pass 'root' option to perform-action as #:gc-root.
* doc/guix.texi (Invoking guix system): Document '--root'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
a09b45da — Chris Marusich 9 years ago
build: Add and export procedure 'register-root*'.

* guix/scripts/build.scm (register-root*): Add and export it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
50f4ea18 — Ludovic Courtès 9 years ago
environment: Deal with single-entry search paths.

This is a followup to fcd75bdbfa99d14363b905afbf914eec20e69df8.

* guix/scripts/environment.scm (create-environment): Check whether
SEPARATOR is #f.
1c6b2d3f — Chris Marusich 9 years ago
build: Export register-root procedure.

* guix/scripts/build.scm: Export register-root procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2a0d5de5 — Ludovic Courtès 9 years ago
Merge branch 'core-updates'
63102406 — Efraim Flashner 9 years ago
guix: Compress and decompress xz archives in parallel.

* guix/scripts/pack.scm (%compressors): Add flag '-T0' when calling "xz".
* guix/utils.scm (decompressed-port, compressed-port,
compressed-output-port): Same.
f264e838 — Tobias Geerinckx-Rice 9 years ago
substitute: Send ‘User-Agent’ header.

* guix/scripts/substitute.scm (narinfo-request): Pass ‘User-Agent’ #:headers
to ‘build-request’.
84157bb8 — Marius Bakke 9 years ago
Merge branch 'master' into core-updates

Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698.
1a75083b — Ricardo Wurmus 9 years ago
import cran: Print package stream in the expected order.

* guix/scripts/import/cran.scm (guix-import-cran): Reverse list of packages.
c17383f4 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
689db38e — Alex Kost 9 years ago
ui: Support Texinfo markup in package synopses.

* guix/ui.scm (package-field-string): New procedure.
(package-description-string): Use it.
(package-synopsis-string): New procedure.
(package->recutils): Use it.
* guix/scripts/lint.scm (check-synopsis-style)[check-texinfo-markup]:
New procedure.  Use it in checks.
* tests/lint.scm: Test it.
* gnu/packages/perl.scm (perl-try-tiny)[synopsis]: Adjust for the
Texinfo markup.
0371b345 — Efraim Flashner 9 years ago
Merge remote-tracking branch 'origin/master' into core-updates
4bb5e0ae — Ludovic Courtès 9 years ago
publish: Add '--nar-path'.

* guix/scripts/publish.scm (show-help, %options): Add '--nar-path'.
(%default-options): Add 'nar-path'.
(guix-publish): Honor it.
cdd7a7d2 — Ludovic Courtès 9 years ago
publish: Make the nar URL prefix a parameter.

* guix/scripts/publish.scm (narinfo-string): Add #:nar-path and honor it.
(render-narinfo): Likewise.
(make-request-handler): Likewise.
(run-publish-server): Likewise.
* tests/publish.scm ("custom nar path"): New test.
46f58390 — Ludovic Courtès 9 years ago
publish: Add '--public-key' and '--private-key'.

* guix/scripts/publish.scm (show-help, %options): Add --public-key and
--private-key.
* doc/guix.texi (Invoking guix publish): Document it.
ab2a74e4 — Ludovic Courtès 9 years ago
publish: The public and private keys are now SRFI-39 parameters.

* guix/scripts/publish.scm (%default-options): Add 'public-key-file' and
'private-key-file'.
(lazy-read-file-sexp): Remove.
(%private-key, %public-key): Turn into SRFI-39 parameters.
(signed-string, render-narinfo): Adjust accordingly.
(guix-publish): Honor 'public-key-file' and 'private-key-file' from
OPTS.  Use 'parameterize'.
* guix/pk-crypto.scm (read-file-sexp): New procedure.
* tests/publish.scm: Initialize '%public-key' and '%private-key'.
f67337e2 — Mark H Weaver 9 years ago
Merge branch 'master' into core-updates
4fd06a4d — Ludovic Courtès 9 years ago
http-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.

* guix/build/download.scm (open-connection-for-uri): Add note about
same-named binding in Guile 2.2.0.
* guix/http-client.scm: Use 'guix:open-connection-for-uri' for the
procedure coming from (guix build download).
* guix/scripts/lint.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.
5461115e — Ludovic Courtès 9 years ago
pack: Add '--target'.

* guix/scripts/pack.scm (self-contained-tarball): Add #:target.
(docker-image): Add #:target.
[build]: Pass it to 'build-docker-image'.
(%options, show-help): Add '--target'.
(guix-pack): Pass TARGET to 'profile-derivation' and to 'build-image'.
* guix/docker.scm (build-docker-image): Add #:system parameter and honor it.
* doc/guix.texi (Invoking guix pack): Document '--target'.
(Additional Build Options): Refer to the Autoconf manual instead of the
obsolete 'configure.info' for cross-compilation.
Next