<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/utils.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-06-20T12:07:01Z</updated>
<entry>
<title>utils: canonical-newline-port: Fix handling of carriage return at buffer end.</title>
<updated>2019-06-20T12:07:01Z</updated>
<author>
<name>Robert Vollmert</name>
<email>rob@vllmrt.net</email>
</author>
<published>2019-06-16T14:18:29Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3149c002644b927e0245d237cdda3a6aeca00e4a'/>
<id>urn:sha1:3149c002644b927e0245d237cdda3a6aeca00e4a</id>
<content type='text'>
Prior to this change the added test fails for me locally at byte
1024. It might depend on some default buffer sizes.

Fixes &lt;https://bugs.gnu.org/35863&gt;.

* tests/utils.scm ("canonical-newline-port-1024"): Add test.
* guix/utils.scm (canonical-newline-port): Correct comments on CR/LF.
Remove CR even when they're at the end of the buffer.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>utils: Support compression and decompression with lzip.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-23T20:14:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4e48923e7523c863996bb616c6abb7e4cb78a3b5'/>
<id>urn:sha1:4e48923e7523c863996bb616c6abb7e4cb78a3b5</id>
<content type='text'>
* guix/utils.scm (lzip-port): New procedure.
(decompressed-port, compressed-port, compressed-output-port): Add 'lzip
case.
* tests/utils.scm &lt;top level&gt;: Call 'test-compression/decompression' for
'lzip as well.
</content>
</entry>
<entry>
<title>utils: Memoize 'absolute-dirname'.</title>
<updated>2018-12-19T22:52:25Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-06-26T15:48:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=87b711d200ad13eaef284bdd1ab77f85618b0498'/>
<id>urn:sha1:87b711d200ad13eaef284bdd1ab77f85618b0498</id>
<content type='text'>
* guix/utils.scm (absolute-dirname): Wrap in 'mlambda'.
</content>
</entry>
<entry>
<title>Revert "guix: Compress and decompress xz archives in parallel."</title>
<updated>2018-07-22T16:01:35Z</updated>
<author>
<name>Marius Bakke</name>
<email>mbakke@fastmail.com</email>
</author>
<published>2018-07-22T16:01:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=e9be2c5409f37173d70b202aa06752e3814ccdc2'/>
<id>urn:sha1:e9be2c5409f37173d70b202aa06752e3814ccdc2</id>
<content type='text'>
Threaded compression makes archives non-deterministic: the result depends on
the number of threads used for compressing.  See &lt;https://bugs.gnu.org/31015&gt;.

This reverts commit 63102406f22412bb922de5549deb89d3594a38c0.
</content>
</entry>
<entry>
<title>utils: Really clean up temporary directories.</title>
<updated>2018-07-13T21:33:45Z</updated>
<author>
<name>Leo Famulari</name>
<email>leo@famulari.name</email>
</author>
<published>2018-07-12T00:24:29Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=27f7cbc91d1963118e44b14d04fcc669c9618176'/>
<id>urn:sha1:27f7cbc91d1963118e44b14d04fcc669c9618176</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/32126&gt;.

* guix/utils.scm (call-with-temporary-directory): Use DELETE-FILE-RECURSIVELY
instead of RMDIR.
</content>
</entry>
<entry>
<title>utils: Micro-optimize 'source-properties-&gt;location'.</title>
<updated>2018-07-02T13:28:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-02T12:49:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=223fa5b327b0892cf45d22e4a9fbfb06164e409d'/>
<id>urn:sha1:223fa5b327b0892cf45d22e4a9fbfb06164e409d</id>
<content type='text'>
* guix/utils.scm (source-properties-&gt;location): Destructure LOC with
'match', adding a fast path without 'assq-ref' calls.
</content>
</entry>
<entry>
<title>utils: Disable memoization for 'location'.</title>
<updated>2018-07-02T13:28:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-02T12:47:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3059a35afe3f0ff2561870e0a0fb21e03fc3247a'/>
<id>urn:sha1:3059a35afe3f0ff2561870e0a0fb21e03fc3247a</id>
<content type='text'>
This was getting 25% hits, which did not quite justify the overhead.

* guix/utils.scm (location): Remove 'mlambda'.
</content>
</entry>
<entry>
<title>gnu: ldb: Fix build on 32-bit systems.</title>
<updated>2018-06-16T19:35:25Z</updated>
<author>
<name>Marius Bakke</name>
<email>mbakke@fastmail.com</email>
</author>
<published>2018-06-12T17:51:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=259341cf93de80533d212cb73e5e652aa4bc716c'/>
<id>urn:sha1:259341cf93de80533d212cb73e5e652aa4bc716c</id>
<content type='text'>
* guix/utils.scm (target-64bit?): New procedure.
* gnu/packages/samba.scm (ldb)[inputs]: Only add LMDB on 64-bit systems.
[arguments]: Make #:tests? conditional on LMDB availability.
</content>
</entry>
<entry>
<title>utils: Add 'version-prefix?'.</title>
<updated>2018-05-13T11:29:27Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-13T10:16:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=437f62f02a1b8c89b8ab39ecd53926489fac42db'/>
<id>urn:sha1:437f62f02a1b8c89b8ab39ecd53926489fac42db</id>
<content type='text'>
* guix/utils.scm (version-prefix?): New procedure.
* tests/utils.scm ("version-prefix?"): New test.
</content>
</entry>
<entry>
<title>guix: utils: Add version-major.</title>
<updated>2017-12-11T19:12:23Z</updated>
<author>
<name>nee</name>
<email>nee.git@cock.li</email>
</author>
<published>2017-10-09T21:02:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=47dc9a0dae35960ec6239152df748bb062c640b2'/>
<id>urn:sha1:47dc9a0dae35960ec6239152df748bb062c640b2</id>
<content type='text'>
* guix/utils.scm (version-major): New procedure.
</content>
</entry>
</feed>
