<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/guix-package.sh, branch master</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=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-05-26T21:02:02Z</updated>
<entry>
<title>discovery: 'all-modules' returns modules in path order.</title>
<updated>2019-05-26T21:02:02Z</updated>
<author>
<name>Robert Vollmert</name>
<email>rob@vllmrt.net</email>
</author>
<published>2019-05-25T06:40:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=002d17dcaacba0f86265b34f2509419d9e21224d'/>
<id>urn:sha1:002d17dcaacba0f86265b34f2509419d9e21224d</id>
<content type='text'>
A particular effect of this is that if there are ambiguous
packages in a directory specified with `-L module_dir` and the
distribution, the version from `module_dir` will be loaded,
which is usually what would be expected. (E.g. for `guix build`
or `guix package -i`.)

* guix/discovery.scm (all-modules): Return modules in path order.
* tests/guix-package.sh: Test local definitions take precedence.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>tests: Fix guix-package.sh.</title>
<updated>2019-05-13T14:54:13Z</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2019-05-13T14:54:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ccabb664ed55d44767e037bb73169be2ecf9449d'/>
<id>urn:sha1:ccabb664ed55d44767e037bb73169be2ecf9449d</id>
<content type='text'>
GCC is now a hidden package, so cannot be installed.

* tests/guix-package.sh: Replace 'gcc' by 'zile' in a test that install
multiple packages.
</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>profiles: Raise an error for unmatched patterns.</title>
<updated>2019-02-07T14:46:45Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-02-07T13:54:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=487cbb0164c715e722b622fa800fa0b217fa132c'/>
<id>urn:sha1:487cbb0164c715e722b622fa800fa0b217fa132c</id>
<content type='text'>
Previously, "guix package -r something-not-installed" would silently
complete.  Now an error is raised.

* guix/profiles.scm (&amp;unmatched-pattern-error): New condition type.
(manifest-matching-entries): Rewrite to raise an error when one of
PATTERNS is not matched.
* guix/ui.scm (call-with-error-handling): Handle 'unmatched-pattern-error?'.
* tests/guix-package.sh: Add test.
* tests/profiles.scm ("manifest-matching-entries"): Don't try to remove
unmatched pattern.
("manifest-matching-entries, no match"): New test.
("manifest-transaction-effects"): Remove 'remove' field.
</content>
</entry>
<entry>
<title>guix package: '--show' errors when asked for a non-existent package.</title>
<updated>2018-11-11T22:53:29Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-11T16:13:20Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=652163154c06b47936a453f44ea35938789718de'/>
<id>urn:sha1:652163154c06b47936a453f44ea35938789718de</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/33323&gt;.
Reported by swedebugia &lt;swedebugia@riseup.net&gt;.

* guix/scripts/package.scm (process-query): Call 'leave' when
'find-packages-by-name' returns the empty list.
* tests/guix-package.sh: Test it.
</content>
</entry>
<entry>
<title>profiles: 'packages-&gt;manifest' now accepts inferior packages.</title>
<updated>2018-09-21T15:04:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2018-09-18T08:21:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=811b21fb15d36b06fde994ca7ef5916a9a19f250'/>
<id>urn:sha1:811b21fb15d36b06fde994ca7ef5916a9a19f250</id>
<content type='text'>
* guix/profiles.scm (packages-&gt;manifest)[inferiors-loaded?]: New
variable.
[inferior-&gt;entry]: New procedure.
Accept inferior packages when INFERIORS-LOADED? is true.
* tests/guix-package.sh: Add test using a manifest with an inferior.
* tests/inferior.scm ("packages-&gt;manifest"): New test.
</content>
</entry>
<entry>
<title>guix package: Use relative symlinks to generations.</title>
<updated>2018-07-13T15:28:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-13T12:33:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=bc6e291ef0b3c71c07e50d88d7764e5dd334e8b1'/>
<id>urn:sha1:bc6e291ef0b3c71c07e50d88d7764e5dd334e8b1</id>
<content type='text'>
Reported by Roel Janssen &lt;roel@gnu.org&gt;
at &lt;https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00036.html&gt;.

* guix/profiles.scm (switch-to-generation): Use (basename generation) as
the symlink target.
* guix/scripts/package.scm (build-and-use-profile): Likewise,
use (basename name) as the symlink target.
* tests/guix-package.sh: Adjust --roll-back test accordingly.  Add
explicitly test with '-p foo/prof'.
</content>
</entry>
<entry>
<title>tests: Adjust 'guix package' test to "python2" name.</title>
<updated>2018-06-06T12:37:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-06T12:26:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=477ee222aa796257b5f32966da662e76fe706332'/>
<id>urn:sha1:477ee222aa796257b5f32966da662e76fe706332</id>
<content type='text'>
This is a followup to a7714d42de2c3082f3609d1e63c83d703fb39cf9, which
renamed Python 2.x to "python2".

* tests/guix-package.sh: Use g-wrap and guile@2.0 when testing
collisions.
</content>
</entry>
<entry>
<title>guix package: Add '--allow-collisions'.</title>
<updated>2018-03-31T21:30:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-31T21:14:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=fc95dc4c34bf88ebd8c21752bf6d54b5cf752d1a'/>
<id>urn:sha1:fc95dc4c34bf88ebd8c21752bf6d54b5cf752d1a</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/30830&gt;.
Suggested by Ricardo Wurmus &lt;rekado@elephly.net&gt;.

* guix/scripts/package.scm (build-and-use-profile): Add
 #:allow-collisions? and pass it to 'profile-derivation'.
(show-help, %options): Add '--allow-collisions'.
(manifest-action, process-actions): Pass #:allow-collisions? to
'build-and-use-profile'.
* tests/guix-package.sh: Add collision test.
* doc/guix.texi (Invoking guix package): Document '--allow-collisions'.
</content>
</entry>
<entry>
<title>guix package: '--search' no longer shows superseded packages.</title>
<updated>2018-02-27T14:46:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-02-27T14:46:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0fb405796cdb5579c911b30da9d40b4a18cd7f07'/>
<id>urn:sha1:0fb405796cdb5579c911b30da9d40b4a18cd7f07</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/30566&gt;.
Reported by Björn Höfling &lt;bjoern.hoefling@bjoernhoefling.de&gt;.

* guix/scripts/package.scm (find-packages-by-description): Ignore
superseded packages.
* tests/guix-package.sh: Add test.
</content>
</entry>
</feed>
