<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/graft.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-08-24T16:01:05Z</updated>
<entry>
<title>grafts: Add (guix build debug-link) and use it.</title>
<updated>2018-08-24T16:01:05Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-08-21T20:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=93c333895a4e2dc9baabec8ade60d9d2ac0a91e2'/>
<id>urn:sha1:93c333895a4e2dc9baabec8ade60d9d2ac0a91e2</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/19973&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

* guix/build/debug-link.scm: New file.
* guix/build/graft.scm (%graft-hooks): New variable.
(graft): Add #:hooks and honor it.
* guix/grafts.scm (graft-derivation/shallow): Add (guix build
debug-link) and (guix elf) to #:modules.
* tests/debug-link.scm: New file.
* Makefile.am (MODULES): Add guix/build/debug-link.scm.
(SCM_TESTS): Add tests/debug-link.scm.
</content>
</entry>
<entry>
<title>grafts: Add high-level 'graft' procedure on the build side.</title>
<updated>2018-08-24T15:57:56Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-08-21T13:09:11Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=e4297aa8b95cefa32e2595ce58886fc03b0561f7'/>
<id>urn:sha1:e4297aa8b95cefa32e2595ce58886fc03b0561f7</id>
<content type='text'>
* guix/build/graft.scm (graft): New procedure.
* guix/grafts.scm (graft-derivation/shallow)[build]: Use it instead of
inline code.
</content>
</entry>
<entry>
<title>grafts: Clarify the status of the workaround for &lt;http://bugs.gnu.org/24659&gt;.</title>
<updated>2017-11-14T21:38:02Z</updated>
<author>
<name>Leo Famulari</name>
</author>
<published>2017-11-14T21:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=412716eff2d898f28636f68cb8761862f416cac3'/>
<id>urn:sha1:412716eff2d898f28636f68cb8761862f416cac3</id>
<content type='text'>
* guix/build/graft.scm (mkdir-p*): Annotate.
</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>
</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: Remove unnecessary 'umask' call.</title>
<updated>2016-10-17T21:59:03Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2016-10-17T21:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=fb3af759ee284fb1cb14c5514ed0432d9cbbfdbf'/>
<id>urn:sha1:fb3af759ee284fb1cb14c5514ed0432d9cbbfdbf</id>
<content type='text'>
This is a followup to d72267863382041b84a9712eea354882be72ef55.

* guix/build/graft.scm (rewrite-directory): Remove 'umask' call.
</content>
</entry>
<entry>
<title>grafts: Always make directories #o755.</title>
<updated>2016-10-10T19:40:23Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2016-10-10T19:36:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d72267863382041b84a9712eea354882be72ef55'/>
<id>urn:sha1:d72267863382041b84a9712eea354882be72ef55</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/22954&gt;.
Reported by Albin &lt;albin@fripost.org&gt;
and Jeffrey Serio &lt;serio.jeffrey@gmail.com&gt;.

* guix/build/graft.scm (mkdir-p*): New procedure.
(rewrite-directory): Use it instead of 'mkdir-p'.
</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>
</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>grafts: Make grafting faster.</title>
<updated>2016-08-09T21:59:26Z</updated>
<author>
<name>Mark H Weaver</name>
</author>
<published>2016-03-09T06:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5a1add373ab427a3b336981d857252e703a9f8d1'/>
<id>urn:sha1:5a1add373ab427a3b336981d857252e703a9f8d1</id>
<content type='text'>
* guix/build/graft.scm (replace-store-references): Reimplement for
faster grafting.  Use binary I/O instead of textual I/O.  Replace
'mapping' argument (an alist) with 'replacement-table' (a vhash).
(rewrite-directory): Adapt to mapping argument change in
'replace-store-references'.  Remove 'with-fluids' that previously set
'%default-port-encoding' to #f, since we now use binary I/O.
(define-inline, hash-length): New macros.
(nix-base32-char?): New variable.
</content>
</entry>
<entry>
<title>graft: Fail when one of the threads raises an exception.</title>
<updated>2016-05-24T21:52:14Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2016-05-24T21:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=007c20b61c84af11289f96d43374e2e688838a26'/>
<id>urn:sha1:007c20b61c84af11289f96d43374e2e688838a26</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/23581&gt;.

* guix/build/graft.scm (exit-on-exception): New procedure.
(rewrite-directory): Use it to wrap REWRITE-LEAF.
</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>
</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>
</feed>
