~ruther/guix-local

ref: 511d8a02e8da698cf07aeb4aede05eef9d5b3471 guix-local/guix d---------
guix: records: Add match-record.

* guix/records.scm: New syntax-rule.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
63ae4800 — Tobias Geerinckx-Rice 9 years ago
download: Refresh the cpan.org mirror list.

* guix/download.scm (%mirrors)[cpan]: Update the list of CPAN mirrors (of
which several are dead) with a more-or-less geographically diverse selection.
b5c7574b — Tobias Geerinckx-Rice 9 years ago
Revert "import: cpan: Use HTTPS for home pages."

This reverts commit 29f7bf59d5d4d4b848eaedc6766bb4e02cae20d3: HTTPS support
at search.cpan.org is unreliable, at best.  Don't rely on it.
29f7bf59 — Tobias Geerinckx-Rice 9 years ago
import: cpan: Use HTTPS for home pages.

* guix/import/cpan.scm (cpan-home): Use HTTPS.
* tests/cpan.scm ("cpan->guix-package"): Expect it.
6d176ad3 — Tobias Geerinckx-Rice 9 years ago
import: cpan: Actually use CPAN-HOME.

* guix/import/cpan.scm (cpan-module->sexp): Use the CPAN-HOME procedure.
73f33b93 — Tobias Geerinckx-Rice 9 years ago
import: cpan: Add trailing "/" to CPAN-HOME.

Prevent regression after commit e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.

* guix/import/cpan.scm (cpan-home): Add trailing "/".
e4bc1727 — Eric Bavier 9 years ago
import: cpan: Add trailing "/" on home-page.

This appeases 'guix lint', which otherwise complains about permanent
redirects.

* guix/import/cpan.scm (cpan-module->sexp): Add trailing "/" on home-page.
* tests/cpan.scm ("cpan->guix-package"): Adjust accordingly.
23055424 — Eric Bavier 9 years ago
import: cpan: Propagate imported dependencies.

This is most often the need for perl module dependencies.

* guix/import/cpan.scm (cpan-module->sexp): 'inputs -> 'propagated-inputs.
* tests/cpan.scm ("cpan->guix-package"): Adjust accordingly.
34b1f339 — Ludovic Courtès 9 years ago
graph: Remove mention of Graphviz from the summary line.

* guix/scripts/graph.scm (show-help): Remove mention of Graphviz from
the summary line.
0a2ce1ea — Ludovic Courtès 9 years ago
import: elpa: Do not abort when failing to download the archive.

* guix/import/elpa.scm (elpa-fetch-archive): Use 'http-fetch/cached'
directly instead of 'call-with-downloaded-file'.  This ensures we don't
just abort when networking access is lacking, which is required to allow
'guix refresh -c refresh' to proceed.
90297811 — Ludovic Courtès 9 years ago
import: github: Gracefully handle multiple-URL origins.

* guix/import/github.scm (latest-release)[origin-github-uri]: New
procedure.  Use it.
6d6d1932 — Ludovic Courtès 9 years ago
lint: 'refresh' gracefully handles lack of networking access.

* guix/scripts/lint.scm (check-for-updates): Wrap
'package-latest-release*' call in 'with-networking-fail-safe'.
4b879e0a — Ludovic Courtès 9 years ago
lint: Extract network-related exception handling.

* guix/scripts/lint.scm (call-with-networking-fail-safe): New procedure.
(with-networking-fail-safe): New macro.
(current-vulnerabilities*): Rewrite in terms of 'with-networking-fail-safe'.
a1ff7e1d — Ludovic Courtès 9 years ago
scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'.

* guix/scripts.scm (parse-command-line): Add #:build-options? parameter
and honor it.
* guix/scripts/challenge.scm (guix-challenge): Use 'parse-command-line'
with #:build-options? #f instead of 'args-fold*'.
* guix/scripts/gc.scm (guix-gc): Likewise.
* guix/scripts/graph.scm (guix-graph): Likewise.
* guix/scripts/hash.scm (guix-hash): Likewise.
* guix/scripts/lint.scm (guix-lint): Likewise.
* guix/scripts/refresh.scm (guix-refresh): Likewise.
* guix/scripts/size.scm (guix-size): Likewise.
* guix/scripts/weather.scm (guix-weather): Likewise.
efff3dd4 — Ludovic Courtès 9 years ago
scripts: Use 'args-fold*' for command that do not honor build flags.

Fixes <https://bugs.gnu.org/28984>.
Reported by Eric Bavier.

* guix/scripts/challenge.scm (guix-challenge): Use 'args-fold*' instead
of 'parse-command-line'.
* guix/scripts/size.scm (guix-size): Likewise.
* guix/scripts/weather.scm (guix-weather): Likewise.
552ee772 — Leo Famulari 9 years ago
build-system/go: Fix installation path of executable files.

* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.
bf7dfb1f — Ludovic Courtès 9 years ago
challenge: Display an overall summary.

* guix/scripts/challenge.scm (summarize-report-list): New procedure.
(guix-challenge): Use it.
* doc/guix.texi (Invoking guix challenge): Adjust command output in
example.
d213cc8c — Ludovic Courtès 9 years ago
substitute: Don't send more than 1000 requests in a row.

Fixes <https://bugs.gnu.org/28731>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* guix/scripts/substitute.scm (at-most): New procedure.
(http-multiple-get): Use it to send at most 1000 requests at once.
44c6a87f — Ludovic Courtès 9 years ago
guix package: '--list-available' does not show superseded packages.

* guix/scripts/package.scm (process-query) <'list-available>: Filter out
P if it matches 'package-superseded'.
c10851cf — Leo Famulari 9 years ago
build-system/go: Parameterize installing the source code.

* guix/build-system/go.scm (go-build): Add install-source? key.
* guix/build/go-build-system.scm (install-source): Check if
install-source? is true.
Next