<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/grafts.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2018-11-28T09:39:58Z</updated>
<entry>
<title>grafts: Record metadata as derivation properties.</title>
<updated>2018-11-28T09:39:58Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-26T21:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=64fd1c01bc6f1be6ffcafc08789d5dafb9850c2e'/>
<id>urn:sha1:64fd1c01bc6f1be6ffcafc08789d5dafb9850c2e</id>
<content type='text'>
* guix/grafts.scm (graft-derivation/shallow): Pass #:properties to
'build-expression-&gt;derivation'.
* tests/grafts.scm ("graft-derivation, grafted item is a direct
dependency"): Check the value returned by 'derivation-properties'.
</content>
</entry>
<entry>
<title>graft: Correctly replace references near the end of the scan buffer.</title>
<updated>2017-08-24T21:55:51Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-08-24T11:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=94e86a6b67c7a02f5f11358743f3b9f11997059c'/>
<id>urn:sha1:94e86a6b67c7a02f5f11358743f3b9f11997059c</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/28212&gt;.
Reported by Leo Famulari &lt;leo@famulari.name&gt;.

* guix/build/graft.scm (replace-store-references): When I &gt;= END, check
whether WRITTEN &gt; END and call 'get-bytevector-n!' when it is.
* tests/grafts.scm (buffer-size): New variable.
("replace-store-references, &lt;http://bugs.gnu.org/28212&gt;"): New test.
</content>
</entry>
<entry>
<title>grafts: Do not pull derivation outputs not depended on.</title>
<updated>2017-01-25T10:04:25Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-01-25T09:20:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=482fda2729c3e76999892cb8f9a0391a7bd37119'/>
<id>urn:sha1:482fda2729c3e76999892cb8f9a0391a7bd37119</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/24886&gt;.

Previously, the grafting derivation of, say, brdf-explorer would pull in
qt:doc even though brdf-explorer depends only on qt:out, not qt:doc.

* guix/grafts.scm (with-cache): Use 'vhash-assoc' and 'vhash-cons'
instead of 'vhash-assq' and 'vhash-consq'.
(cumulative-grafts): Pass #:outputs to 'graft-derivation/shallow'.  Use
OUTPUTS instead of (derivation-output-names drv).
(graft-derivation): Add #:outputs parameter; pass it to
'cumulative-grafts'.
* tests/grafts.scm (make-derivation-input): New variable.
("graft-derivation, replaced derivation has multiple outputs"): Make
sure P2:zzz is not part of the outputs of P3D.
("graft-derivation with #:outputs")
("graft-derivation, unused outputs not depended on"): New tests.
</content>
</entry>
<entry>
<title>grafts: Apply the right grafts in the presence of multiple outputs.</title>
<updated>2016-10-17T21:59:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-10-17T21:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=3d47aa81ba4c19b45ce9a9ff0ece0252777ea8ed'/>
<id>urn:sha1:3d47aa81ba4c19b45ce9a9ff0ece0252777ea8ed</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/24712&gt;.

* guix/grafts.scm (cumulative-grafts): Add grafts for all the outputs of
DRV.
* tests/grafts.scm ("graft-derivation, replaced derivation has multiple
outputs"): New test.
</content>
</entry>
<entry>
<title>grafts: 'graft-derivation' does now introduce grafts that shadow other grafts.</title>
<updated>2016-10-14T21:31:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-10-14T16:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=b013c33f6f060c14ca7d1f3cfcb5d8ce3ef1c53c'/>
<id>urn:sha1:b013c33f6f060c14ca7d1f3cfcb5d8ce3ef1c53c</id>
<content type='text'>
Partly fixes &lt;http://bugs.gnu.org/24418&gt;.

* guix/grafts.scm (cumulative-grafts)[graft-origin?]: New procedure.
[dependency-grafts]: Use it in new 'if' around recursive call.
* tests/grafts.scm ("graft-derivation, grafts are not shadowed"): New test.
</content>
</entry>
<entry>
<title>grafts: Allow the replacement to have a different name.</title>
<updated>2016-10-03T21:16:48Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-10-03T21:02:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=57bdd79e485801ccf405ca7389bd099809fe5d67'/>
<id>urn:sha1:57bdd79e485801ccf405ca7389bd099809fe5d67</id>
<content type='text'>
* guix/build/graft.scm (replace-store-references): REPLACEMENT is now
the full string, not just the hash.
(rewrite-directory)[hash-mapping](valid-suffix?): Remove.
(hash+suffix): Rename to...
(hash+rest): ... this.  Change to return the whole string as the second
element of the list.  Adjust 'match-lambda' expression accordingly;
check whether the string length of the origin and replacement match.
* tests/grafts.scm ("graft-derivation, grafted item uses a different
name"): New test.
* doc/guix.texi (Security Updates): Update sentence on the name/version
restriction.
</content>
</entry>
<entry>
<title>gexp: Remove more uses of #:modules.</title>
<updated>2016-07-12T20:47:08Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-07-12T16:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=66a35ceb43f53c3f3e363714c9a6a402f243670d'/>
<id>urn:sha1:66a35ceb43f53c3f3e363714c9a6a402f243670d</id>
<content type='text'>
* guix/scripts/system.scm (switch-to-system): Adjust comment.
* tests/gexp.scm ("gexp-&gt;derivation #:references-graphs"): Use
'with-imported-modules' instead of #:modules.
* tests/grafts.scm ("graft-derivation, preserve empty directories"):
Likewise.
</content>
</entry>
<entry>
<title>grafts: Rename files whose name matches a graft.</title>
<updated>2016-05-20T23:35:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-05-20T20:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ece6864bd04fc2f9ff86fd4ac9cb0712dd71c094'/>
<id>urn:sha1:ece6864bd04fc2f9ff86fd4ac9cb0712dd71c094</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/23132&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

* guix/build/graft.scm (rename-matching-files): New procedure.
(rewrite-directory): Use it.
* tests/grafts.scm ("graft-derivation, renaming"): New test.
</content>
</entry>
<entry>
<title>grafts: Preserve empty directories when grafting.</title>
<updated>2016-05-20T23:35:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-05-20T20:11:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=cf8b312d1872aec1f38a179eeb981d79bf7faa03'/>
<id>urn:sha1:cf8b312d1872aec1f38a179eeb981d79bf7faa03</id>
<content type='text'>
* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Add case for
'directory.
Pass #:directories? #t to 'find-files'.
</content>
</entry>
<entry>
<title>build: Add a Guile custom test driver using SRFI-64.</title>
<updated>2016-04-03T12:19:09Z</updated>
<author>
<name>Mathieu Lirzin</name>
<email>mthl@gnu.org</email>
</author>
<published>2015-10-26T22:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a9edb211e733b8b34e67ec3b4450567e9376986f'/>
<id>urn:sha1:a9edb211e733b8b34e67ec3b4450567e9376986f</id>
<content type='text'>
Before that '.log' files for scheme tests were fragmented and not
included in test-suite.log.  This unifies the semantics of SRFI-64 API
with Automake test suite.

* build-aux/test-driver.scm: New file.
* Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables.
(SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables.
(AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0.
* test-env.in: Silence guix-daemon.
* doc/guix.texi (Running the Test Suite): Describe how to display the
detailed results.  Bug reports require only 'test-suite.log' file.
* tests/base32.scm, tests/build-utils.scm, tests/builders.scm,
tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm,
tests/cve.scm, tests/derivations.scm, tests/elpa.scm,
tests/file-systems.scm, tests/gem.scm, tests/gexp.scm,
tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm,
tests/gremlin.scm, tests/hackage.scm, tests/hash.scm,
tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm,
tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm,
tests/profiles.scm, tests/publish.scm, tests/pypi.scm,
tests/records.scm, tests/scripts-build.scm, tests/scripts.scm,
tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm,
tests/store.scm, tests/substitute.scm, tests/syscalls.scm,
tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm,
tests/utils.scm: Don't exit at the end of test groups.
* tests/containers.scm: Likewise.  Use 'test-skip' instead of exiting
with error code 77.
</content>
</entry>
</feed>
