<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/scripts/package.scm, branch wip-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=wip-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-07-11T21:13:26Z</updated>
<entry>
<title>guix gc: Correctly handle '--delete-generations' with no arguments.</title>
<updated>2019-07-11T21:13:26Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-07-10T17:58:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5c3d44303e1bb75d45334af5cf86cde723da0371'/>
<id>urn:sha1:5c3d44303e1bb75d45334af5cf86cde723da0371</id>
<content type='text'>
Previously, 'guix gc --delete-generations' would crash: the "" pattern
would be passed to 'matching-generations', which would return #f instead
of returning a list.

Reported by Raghav Gururajan &lt;rvgn@disroot.org&gt;
in &lt;https://bugs.gnu.org/36466&gt;.

* guix/ui.scm (matching-generations): Raise an error when passed an
invalid pattern.
* guix/scripts/gc.scm (delete-old-generations): Check if PATTERN is
true.
(%options): Leave ARG as-is for 'delete-generations'.
(guix-gc): Use 'assq' instead of 'assoc-ref' for 'delete-generations'.
* guix/scripts/package.scm (delete-matching-generations):
Replace (string-null? pattern) with (not pattern).  Remove 'else'
clause.
(%options): Leave ARG as-is for 'delete-generations'.
* guix/scripts/pull.scm (%options): Leave ARG as-is for
'list-generations'.
(process-query): Replace (string-null? pattern) with (not pattern).
* guix/scripts/system.scm (list-generations): Likewise, and remove
'else' clause.
(process-command): Use #f instead of "" when no pattern is given.
</content>
</entry>
<entry>
<title>ui: Add 'display-search-results' and use it.</title>
<updated>2019-06-27T09:14:41Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-25T21:37:32Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4311cf965c978c7865c03349c82110b241f8ff23'/>
<id>urn:sha1:4311cf965c978c7865c03349c82110b241f8ff23</id>
<content type='text'>
* guix/ui.scm (display-search-results): New procedure.
* guix/scripts/package.scm (find-packages-by-description): Remove
'unzip2' call and return a list of pairs.
(process-query): Change to use 'display-search-results'.
* guix/scripts/system/search.scm (find-service-types): Remove 'unzip2'
call and return a list of pairs.
(guix-system-search): Use 'display-search-results'.
</content>
</entry>
<entry>
<title>guix package: Do not list environment variables that need to be set.</title>
<updated>2019-06-05T21:10:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-05T15:33:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=bcb7c900cc9d01603fb8fa47bc52caa8e7ebd480'/>
<id>urn:sha1:bcb7c900cc9d01603fb8fa47bc52caa8e7ebd480</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35942&gt;.

* guix/scripts/package.scm (display-search-paths): Rename to...
(display-search-path-hint): ... this.  Adjust callers.
Remove #:kind parameter.  Replace the list of environment variables with
an invitation to source $GUIX_PROFILE/etc/profile or run 'guix package
--search-paths'.
</content>
</entry>
<entry>
<title>ui: Make package outputs searchable.</title>
<updated>2019-05-09T07:10:34Z</updated>
<author>
<name>Chris Marusich</name>
<email>cmmarusich@gmail.com</email>
</author>
<published>2019-05-06T08:51:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=387e6b9e340ce4b401f220f72881415623a466f7'/>
<id>urn:sha1:387e6b9e340ce4b401f220f72881415623a466f7</id>
<content type='text'>
* guix/ui.scm (relevance): Allow the "field" procedure of a metric to
return a list, and handle that case appropriately.  Update docstring.
(%package-metrics): Add a metric for package outputs.
* guix/scripts/package.scm (find-packages-by-description): Update
docstring.
* tests/guix-package.sh: Add a test case to verify that package outputs are
included in search results.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
</entry>
<entry>
<title>guix package: Add 'install', 'remove', and 'upgrade' aliases.</title>
<updated>2019-04-29T08:13:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-27T16:04:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=d824cfbabeb0780c9ea7a6dab02c47b6a4d029c6'/>
<id>urn:sha1:d824cfbabeb0780c9ea7a6dab02c47b6a4d029c6</id>
<content type='text'>
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
</content>
</entry>
<entry>
<title>guix package: Use absolute file names in search path recommendations.</title>
<updated>2019-04-10T10:40:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-08T20:16:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=21b3c0ca8789c22b9b689faa01286b18f103b92e'/>
<id>urn:sha1:21b3c0ca8789c22b9b689faa01286b18f103b92e</id>
<content type='text'>
Suggested by Chris Marusich.

* guix/scripts/package.scm (absolutize): New procedure.
(display-search-paths): Use it.
</content>
</entry>
<entry>
<title>guix: Match package names case-insensitively.</title>
<updated>2019-03-16T22:32:41Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-03-16T06:01:26Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b56d160944ace6e06fcfe5a36310c98e6a213b87'/>
<id>urn:sha1:b56d160944ace6e06fcfe5a36310c98e6a213b87</id>
<content type='text'>
* guix/scripts/package.scm (options-&gt;upgrade-predicate, process-query):
Use REGEXP/ICASE when matching package names.
</content>
</entry>
<entry>
<title>describe: Add 'package-provenance'.</title>
<updated>2019-03-06T23:00:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-06T22:48:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2cb658a9a7c491ee8ea13da9682170e40deb25ed'/>
<id>urn:sha1:2cb658a9a7c491ee8ea13da9682170e40deb25ed</id>
<content type='text'>
* guix/scripts/package.scm (package-provenance): Move to...
* guix/describe.scm (package-provenance): ... here.
</content>
</entry>
<entry>
<title>guix system: Add 'delete-generations'.</title>
<updated>2019-02-13T15:19:54Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-13T14:27:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=499b166d1ce3ead61afb985053012ceb451f3beb'/>
<id>urn:sha1:499b166d1ce3ead61afb985053012ceb451f3beb</id>
<content type='text'>
* guix/scripts/package.scm (delete-matching-generations): Export.
* guix/scripts/system.scm (show-help): Add 'delete-generations'.
(process-command): Honor it.
(guix-system): Support it.
* doc/guix.texi (Invoking guix system): Document it.
</content>
</entry>
<entry>
<title>Avoid name clash with 'build' from (guix store) and (guix status).</title>
<updated>2019-02-11T22:23:28Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-02-11T22:05:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2637cfd7a4894ef2a2a7da3bb46d8815c43d7e75'/>
<id>urn:sha1:2637cfd7a4894ef2a2a7da3bb46d8815c43d7e75</id>
<content type='text'>
Since commit 976ef2d97887d16eab8d4eb9dad811786b04d690, (guix status)
exports 'build', which clashes with 'build' from (guix store).

* build-aux/run-system-tests.scm: Select 'with-status-verbosity'
from (guix status).
* guix/scripts/archive.scm: Likewise.
* guix/scripts/build.scm: Likewise.
* guix/scripts/copy.scm: Likewise.
* guix/scripts/environment.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/scripts/system.scm: Likewise.
</content>
</entry>
</feed>
