~ruther/guix-local

ref: 18d50d76216f5c207d8178cb2d2d2f31eb8fe3eb guix-local/guix-package.in -rw-r--r-- 16.9 KiB
5075e283 — Ludovic Courtès 13 years ago
guix-package: Extract version strings when installing a direct store path.

* guix-package.in (guix-package)[process-actions]: Extract the version
  string from store paths.
* tests/guix-package.sh: Adjust accordingly.
d9d05363 — Ludovic Courtès 13 years ago
guix-package: Record the correct version string in manifests.

* guix-package.in (guix-package)[find-package]: Return (package-version p),
  not VERSION.
64fc89b6 — Ludovic Courtès 13 years ago
guix-package: Add `--list-available'.

* guix-package.in (show-help, %options): Add `--list-available'.
  (guix-package)[process-query]: Add support for `--list-available'.
* doc/guix.texi (Invoking guix-package): Document it.
* tests/guix-package.sh: Add test.

* guix/ui.scm (location->string): New procedure.
* guix/utils.scm: Export <location>.
733b4130 — Ludovic Courtès 13 years ago
guix-package: Add `--list-installed'.

* guix-package.in (show-help, %options): Add `--list-installed'.
  (guix-package): Move main body to...
  [process-actions]: ... here.  New internal procedure.
  [process-query]: New procedure.
* tests/guix-package.sh: Add tests for `--list-installed'.
* doc/guix.texi (Invoking guix-package): Document it.
c6f09dfa — Ludovic Courtès 13 years ago
guix-package: Fix typo.

* guix-package.in (guix-package)[find-package]: Don't use `_' as the
  wildcard, to avoid collision with `gettext'.
9518856b — Ludovic Courtès 13 years ago
guix-package: Fix handling of the PACKAGE:OUTPUT syntax.

* guix-package.in (guix-package)[find-package]: Return the correct NAME
  and SUB-DRV when NAME contains #\:.

* tests/guix-package.sh (profile): Add test.
1227fabb — Ludovic Courtès 13 years ago
guix-package: Fix invalid module use.

* guix-package.in: Use (distro packages guile), not (... base).
5901471c — Ludovic Courtès 13 years ago
guix-package: Remove extraneous procedures.

* guix-package.in (_, N_): Remove.
9b48fb88 — Ludovic Courtès 13 years ago
utils: Add `package-name->name+version'.

* guix/utils.scm (package-name->name+version): New procedure.
* guix-package.in (guix-package)[find-package]: Use it.
* tests/utils.scm ("package-name->name+version"): New test.
1275baeb — Ludovic Courtès 13 years ago
guix-package: Use more (guix ui) features.

* guix-package.in (leave): Remove.
  (guix-package): Wrap body in `with-error-handling'.
cdd5d6f9 — Ludovic Courtès 13 years ago
ui: Factorize `--version'.

* guix/ui.scm (show-version-and-exit): New procedure.
* guix-build.in (show-version): Remove.
  (%options)["version"]: Use `show-version-and-exit'.
* guix-download.in: Likewise.
* guix-package.in: Likewise.
0afdc485 — Ludovic Courtès 13 years ago
Add a preliminary `guix-package' command-line tool.

* guix-package.in, tests/guix-package.sh: New files.
* configure.ac: Output `guix-package'.
* Makefile.am (TESTS): Add `tests/guix-package.sh'.
  (bin_SCRIPTS): Add `guix-package'.