<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/utils.scm, branch wip-deploy</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=wip-deploy</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=wip-deploy'/>
<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: Test 'compressed-port' and 'decompressed-port' for both gzip and xz.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-23T20:11:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4c7ebe318f6b3c4ddadcea8d08c9fb67ac46ec1e'/>
<id>urn:sha1:4c7ebe318f6b3c4ddadcea8d08c9fb67ac46ec1e</id>
<content type='text'>
* tests/utils.scm (test-compression/decompression): New procedure.
&lt;top level&gt;: Call it for both 'xz and 'gzip.
</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>union: Add 'relative-file-name'.</title>
<updated>2018-05-10T12:53:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-04-28T15:17:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=dac1c97d131d297134fa878ac240d9ec0127044b'/>
<id>urn:sha1:dac1c97d131d297134fa878ac240d9ec0127044b</id>
<content type='text'>
* guix/build/union.scm (%not-slash): New variable.
(relative-file-name): New procedure.
* tests/union.scm (test-relative-file-name): New macro and tests.
</content>
</entry>
<entry>
<title>utils: Move base16 procedures to (guix base16).</title>
<updated>2017-03-16T21:50:14Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-03-15T20:54:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4c0c4db0702048488a9712dbba7cad862c667d54'/>
<id>urn:sha1:4c0c4db0702048488a9712dbba7cad862c667d54</id>
<content type='text'>
* guix/utils.scm (bytevector-&gt;base16-string, base16-string-&gt;bytevector):
Move to...
* guix/base16.scm: ... here.  New file.
* tests/utils.scm ("bytevector-&gt;base16-string-&gt;bytevector"): Move to...
* tests/base16.scm: ... here.  New file.
* Makefile.am (MODULES): Add guix/base16.scm.
(SCM_TESTS): Add tests/base16.scm.
* build-aux/download.scm, guix/derivations.scm,
guix/docker.scm, guix/import/snix.scm, guix/pk-crypto.scm,
guix/scripts/authenticate.scm, guix/scripts/download.scm,
guix/scripts/hash.scm, guix/store.scm, tests/hash.scm,
tests/pk-crypto.scm: Adjust imports accordingly.
</content>
</entry>
<entry>
<title>utils: Support defaults in substitute-keyword-arguments.</title>
<updated>2016-10-07T12:42:05Z</updated>
<author>
<name>Eric Bavier</name>
<email>bavier@member.fsf.org</email>
</author>
<published>2016-09-20T20:41:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b8b129ebd8d017c957094f3d977a1c452d7d450f'/>
<id>urn:sha1:b8b129ebd8d017c957094f3d977a1c452d7d450f</id>
<content type='text'>
* guix/utils.scm (collect-default-args, expand-default-args): New
syntax.
(substitute-keyword-arguments): Allow default value declarations.
* tests/utils.scm (substitute-keyword-arguments): New test.
</content>
</entry>
<entry>
<title>utils: Fix default-keyword-arguments.</title>
<updated>2016-10-07T12:41:57Z</updated>
<author>
<name>Eric Bavier</name>
<email>bavier@member.fsf.org</email>
</author>
<published>2016-09-01T13:20:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=347df60158a11abbc9b84ac36cd113362d7e09e0'/>
<id>urn:sha1:347df60158a11abbc9b84ac36cd113362d7e09e0</id>
<content type='text'>
* guix/utils.scm (default-keyword-arguments): Properly test for present
keywords.
* tests/utils.scm (default-keyword-arguments): New test.
</content>
</entry>
<entry>
<title>utils: Move 'fcntl-flock' to (guix build syscalls).</title>
<updated>2016-05-06T11:25:30Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-05-06T11:12:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=4e0ea3eb288c2143b44bf324c64047762c72d3b3'/>
<id>urn:sha1:4e0ea3eb288c2143b44bf324c64047762c72d3b3</id>
<content type='text'>
* guix/utils.scm (%struct-flock, F_SETLKW, F_SETLK, F_xxLCK)
(fcntl-flock): Move to...
* guix/build/syscalls.scm: ... here.  New variables.
* guix/nar.scm: Adjust imports accordingly.
* tests/utils.scm ("fcntl-flock wait", "fcntl-flock non-blocking"): Move
to...
* tests/syscalls.scm: ... here.  New tests.
(temp-file): New variable.
</content>
</entry>
<entry>
<title>utils: Move combinators to (guix combinators).</title>
<updated>2016-05-04T21:35:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-05-04T15:35:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=958dd3ce68733bcd5c1231424c7e4ad39e67594a'/>
<id>urn:sha1:958dd3ce68733bcd5c1231424c7e4ad39e67594a</id>
<content type='text'>
* guix/utils.scm (compile-time-value, memoize, fold2)
(fold-tree, fold-tree-leaves): Move to...
* guix/combinators: ... here.  New file.
* tests/utils.scm ("fold2, 1 list", "fold2, 2 lists")
(fold-tree tests): Move to...
* tests/combinators.scm: ... here.  New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* gnu/packages.scm, gnu/packages/bootstrap.scm,
gnu/services/herd.scm, guix/build-system/gnu.scm,
guix/build-system/python.scm, guix/derivations.scm,
guix/gnu-maintenance.scm, guix/import/elpa.scm,
guix/scripts/archive.scm, guix/scripts/build.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/size.scm, guix/scripts/substitute.scm,
guix/serialization.scm, guix/store.scm, guix/ui.scm: Adjust imports
accordingly.
</content>
</entry>
</feed>
