~ruther/guix-local

ref: 7b158c4ee2d4b5cf6a2cd9bf0246465c3c8a06ca guix-local/guix/scripts d---------
afe9f409 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
b8300494 — Alex Kost 10 years ago
Move <boot-parameters> to (gnu system).

* guix/scripts/system.scm (previous-grub-entries)
  (display-system-generation): Use accessors instead of matching
  <boot-parameters>.
  (boot-parameters, boot-parameters?, boot-parameters-label)
  (boot-parameters-root-device, boot-parameters-kernel)
  (boot-parameters-kernel-arguments, read-boot-parameters): Move to...
* gnu/system.scm: ... here. Export them.
8c986ab1 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
f888c0b1 — Ludovic Courtès 10 years ago
lint: cve: Catch host name lookup errors.

* guix/scripts/lint.scm (package-vulnerabilities): Catch
'getaddrinfo-error'.
db5a9444 — Ludovic Courtès 10 years ago
guix package: Allow multiple '--search' flags.

* guix/scripts/package.scm (find-packages-by-description): Change 'rx'
parameter to 'regexps'.
[matches-all?, matches-one?]: New procedures.
Use them.
(process-query): Collect regexps from all 'search' queries, and pass
them to 'find-packages-by-description'.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Document it.
53334dd6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
51385362 — Ludovic Courtès 10 years ago
graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.

Before that it would include #f for most origins since that the default
value of 'origin-patch-guile'.

* guix/scripts/graph.scm (bag-node-edges): When 'origin-patch-guile'
returns #f, use (default-guile).
* tests/graph.scm ("bag DAG, including origins"): Check for an edge from
O to (default-guile).
f88282af — Ludovic Courtès 10 years ago
graph: %BAG-EMERGED-NODE-TYPE filters out origins.

Fixes <http://bugs.gnu.org/22280>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/scripts/graph.scm (%bag-emerged-node-type)[edges]: Mimic
%BAG-NODE-TYPE.  This is a followup to 38b92da.
223d7939 — Ludovic Courtès 10 years ago
guix build: Augment %PATCH-PATH when -L is passed.

Fixes <http://bugs.gnu.org/22259>.
Reported by Nikolay Merinov <nikolay.merinov@member.fsf.org>.

* guix/scripts/build.scm (%standard-build-options) <-L>: Augment
%PATCH-PATH.
* tests/guix-package.sh: Add test.
38fa30eb — Leo Famulari 10 years ago
guix package: Fix typo in comment.

* guix/scripts/package.scm: Fix typo.
c5b303c5 — Ludovic Courtès 10 years ago
lint: The CPE name of GRUB is "grub2".

Reported by Leo Famulari.

* guix/scripts/lint.scm (package-name->cpe-name): Add "grub".
20464dde — Ludovic Courtès 10 years ago
guix build: Gracefully handle type errors in -e and -f.

* guix/scripts/build.scm (options->things-to-build)[validate-type]: New
procedure.
[ensure-list]: Use it.
ee2a7e3f — Ludovic Courtès 10 years ago
guix build: Remove dead code.

* guix/scripts/build.scm (options->things-to-build): Remove unused
'match' clause.
e82e55e5 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
a8d65643 — Ludovic Courtès 10 years ago
guix build: Add '--check'.

* guix/derivations.scm (build-derivations): Add optional 'mode'
parameter.
* guix/scripts/build.scm (%default-options): Add 'build-mode'.
(show-help, %options): Add '--check'.
(guix-build): Honor 'build-mode' key of OPTS.  Pass it to
'show-what-to-build' and 'build-derivations'.
* doc/guix.texi (Invoking guix build): Document it.
(Substitutes): Mention it.
5b74fe06 — Ludovic Courtès 10 years ago
guix build: Add '--rounds'.

* guix/scripts/build.scm (show-build-options-help)
(%standard-build-options): Add --rounds.
(set-build-options-from-command-line): Honor it.
* doc/guix.texi (Invoking guix build): Document it.
* doc/contributing.texi (Submitting Patches): Mention it.
e80c0f85 — Ludovic Courtès 10 years ago
gnu-maintenance: Add GNOME updater.

* guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Remove glib.
(false-if-ftp-error): New macro.
(latest-release*): Use it.
(non-emacs-gnu-package?): Rename to...
(pure-gnu-package?): ... this.  Add call to 'gnome-package?'.
(%gnu-updater): Adjust accordingly.
(gnome-package?, latest-gnome-release): New procedures.
(%gnome-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %GNOME-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
fba607b1 — Ludovic Courtès 10 years ago
refresh: Bail out when asked for a nonexistent updater.

* guix/scripts/refresh.scm (lookup-updater): Call 'leave' when 'find'
returns #f.
cd08fe42 — Mathieu Lirzin 10 years ago
edit: Don't assume that an emacs daemon is running.

* guix/scripts/edit.scm (%editor): Use Emacs as a default value.
b16dbd13 — Mathieu Lirzin 10 years ago
edit: Allow command line arguments in $VISUAL and $EDITOR.

* guix/scripts/edit.scm (guix-edit): Fix the assumption that %editor is
a one word command.
Next