<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/profiles.scm, 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-02-07T14:46:45Z</updated>
<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>profiles: Allow a profile to be added as an entry of another profile.</title>
<updated>2019-01-20T00:42:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-20T00:33:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=38b77f34640ff8a491913d29abcd16a846f2d0e4'/>
<id>urn:sha1:38b77f34640ff8a491913d29abcd16a846f2d0e4</id>
<content type='text'>
* guix/build/profiles.scm (build-etc/profile): When 'OUTPUT/etc/profile'
already exists, delete it first.
(build-profile): Likewise for 'OUTPUT/manifest'.
* tests/profiles.scm ("profile in profile"): New test.
</content>
</entry>
<entry>
<title>tests: Adjust to python.scm split.</title>
<updated>2019-01-20T00:42:11Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-20T00:39:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2d17a904aca81ed91c5a33ba15d244bca78ac4b8'/>
<id>urn:sha1:2d17a904aca81ed91c5a33ba15d244bca78ac4b8</id>
<content type='text'>
This is a followup to 44d10b1f722856ab8e9b942804aa7ef33e2ef739.

* tests/profiles.scm ("package-&gt;manifest-entry, search paths"): Adjust
module name for PYTHON2-MATPLOTLIB.
</content>
</entry>
<entry>
<title>tests: Add 'test-assertm' to (guix tests).</title>
<updated>2018-11-12T22:37:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-04-04T19:59:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9ed86fe175c15c819d6d86681c8136ff6bc927c0'/>
<id>urn:sha1:9ed86fe175c15c819d6d86681c8136ff6bc927c0</id>
<content type='text'>
* guix/tests.scm (test-assertm): New macro.
* tests/gexp.scm (test-assertm): Remove.
* tests/profiles.scm (test-assertm): Remove.
* tests/challenge.scm (%store, test-assertm): Remove.
* tests/debug-link.scm (%store, test-assertm): Remove.
* tests/size.scm (%store, test-assertm): Remove.
</content>
</entry>
<entry>
<title>profiles: Correctly deal with etc/ being a relative symlink.</title>
<updated>2018-09-10T22:14:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-10T21:37:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2225d56a14a2d8d29374a14eefe90b3cffa79804'/>
<id>urn:sha1:2225d56a14a2d8d29374a14eefe90b3cffa79804</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/32686&gt;.
Reported by Oleg Pykhalov &lt;go.wigust@gmail.com&gt;.

* guix/build/profiles.scm (ensure-writable-directory): Add #:symlink.
[absolute?]: New procedure.
[unsymlink]: Use it to determine how to resolve readlink's result.
(build-profile): Pass SYMLINK to 'ensure-writable-directory'.
* tests/profiles.scm ("profile-derivation when etc/ is a relative symlink"):
New test.
</content>
</entry>
<entry>
<title>Merge branch 'master' into core-updates</title>
<updated>2018-05-17T05:00:50Z</updated>
<author>
<name>Mark H Weaver</name>
<email>mhw@netris.org</email>
</author>
<published>2018-05-17T05:00:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=539bf8f2c071b53834829259bb3fabf0390c5dc6'/>
<id>urn:sha1:539bf8f2c071b53834829259bb3fabf0390c5dc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>profiles: Optionally use relative file names for symlink targets.</title>
<updated>2018-05-10T12:53:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-04-28T20:20:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=e00ade3fb81f89cd7c030f998ccd3e07ef2628f0'/>
<id>urn:sha1:e00ade3fb81f89cd7c030f998ccd3e07ef2628f0</id>
<content type='text'>
* guix/build/union.scm (symlink-relative): New procedure.
* guix/build/profiles.scm: Re-export it.
(build-profile): Add #:symlink and pass it to 'union-build'.
* guix/profiles.scm (profile-derivation): Add #:relative-symlinks?.
Pass #:symlink to 'build-profile'.
* tests/profiles.scm ("profile-derivation relative symlinks, one entry")
("profile-derivation relative symlinks, two entries"): New tests.
</content>
</entry>
<entry>
<title>guix: Separate the package name and version with "@", not "-".</title>
<updated>2018-05-09T04:55:46Z</updated>
<author>
<name>Chris Marusich</name>
<email>cmmarusich@gmail.com</email>
</author>
<published>2018-04-08T23:51:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ede121de426f9c56820852888a0b370f0ccbce49'/>
<id>urn:sha1:ede121de426f9c56820852888a0b370f0ccbce49</id>
<content type='text'>
* guix/packages.scm (package-full-name): By default, use "@" to separate
  the package name and package version.  Add an optional delimiter
  argument so that there is still a way to explicitly use a different
  delimiter.
* gnu/packages/commencement.scm (gcc-boot0) &lt;unpack-gmp&amp;co&gt;: Adjust
  accordingly.
* tests/graph.scm: Adjust accordingly.
* tests/profiles.scm: Adjust accordingly.
* NEWS: Mention the change.

Fixes: &lt;https://bugs.gnu.org/31088&gt;.
Reported by Pierre Neidhardt &lt;ambrevar@gmail.com&gt;.
</content>
</entry>
<entry>
<title>tests: Use invoke and return #t from all builders.</title>
<updated>2018-03-28T01:35:43Z</updated>
<author>
<name>Mark H Weaver</name>
<email>mhw@netris.org</email>
</author>
<published>2018-03-28T00:05:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=1e868858fd2de0d1125e6191be5e28df22fe6665'/>
<id>urn:sha1:1e868858fd2de0d1125e6191be5e28df22fe6665</id>
<content type='text'>
* tests/packages.scm ("package-source-derivation, snippet", "trivial")
("trivial with local file as input", "trivial with source")
("trivial with system-dependent input", "trivial with #:allowed-references")
("--search-paths with pattern", "--search-paths with single-item search path")
("replacement also grafted"): In the builders, raise an exception on errors
and otherwise return #t.  Use invoke.
</content>
</entry>
<entry>
<title>profiles: 'manifest-add' truly deletes duplicate entries.</title>
<updated>2018-03-01T13:00:21Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-01T10:37:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=435603a1d6106b535cf143d17cb030b2d0795b54'/>
<id>urn:sha1:435603a1d6106b535cf143d17cb030b2d0795b54</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/30569&gt;.
Reported by Andreas Enge &lt;andreas@enge.fr&gt;.

* guix/profiles.scm (manifest-add): Don't append ENTRIES as is.
Instead, cons each element of ENTRIES as we fold over it.
Remove unneeded ellispes in 'match' patterns.
</content>
</entry>
</feed>
