<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/tests/uuid.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>2019-05-07T10:18:44Z</updated>
<entry>
<title>uuid: 'fat-uuid-&gt;string' preserves leading zeros.</title>
<updated>2019-05-07T10:18:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-07T08:50:28Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6c5790a2faf8ffc401e43b13425a707394e40874'/>
<id>urn:sha1:6c5790a2faf8ffc401e43b13425a707394e40874</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35582&gt;.
Reported by sirgazil &lt;sirgazil@zoho.com&gt;.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid-&gt;string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string-&gt;uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid-&gt;string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
</content>
</entry>
<entry>
<title>uuid: 'uuid' returns #f when 'string-&gt;uuid' returns #f.</title>
<updated>2018-05-18T22:14:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-18T20:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=263c9941a1e523b360ca9f42d1ed6b11e6e6e285'/>
<id>urn:sha1:263c9941a1e523b360ca9f42d1ed6b11e6e6e285</id>
<content type='text'>
* gnu/system/uuid.scm (uuid): When STR is not a literal, return #f when
'string-&gt;uuid' returns #f.
* tests/uuid.scm ("uuid, dynamic value"): New test.
</content>
</entry>
<entry>
<title>uuid: Fix typo in 'uuid=?' test.</title>
<updated>2017-10-06T12:16:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-06T12:15:08Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0b12324284f3fbf378d363070f91b794058ae570'/>
<id>urn:sha1:0b12324284f3fbf378d363070f91b794058ae570</id>
<content type='text'>
* tests/uuid.scm ("uuid=?"): Change to 'test-assert'.
</content>
</entry>
<entry>
<title>uuid: Add 'uuid=?' and use it.</title>
<updated>2017-10-05T10:09:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-10-04T19:34:09Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=aed1f1b049f6e7ef9f2f2db58bdca6cd3effe94b'/>
<id>urn:sha1:aed1f1b049f6e7ef9f2f2db58bdca6cd3effe94b</id>
<content type='text'>
* gnu/system/uuid.scm (uuid=?): New procedure.
* tests/uuid.scm ("uuid=?"): New test.
* gnu/build/file-systems.scm (partition-uuid-predicate)
(luks-partition-uuid-predicate): Use it instead of 'bytevector=?'.
</content>
</entry>
<entry>
<title>uuid: Add a parser for FAT32 UUIDs.</title>
<updated>2017-09-22T16:40:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-09-22T16:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8a7d81a5e23c4d59fbabf2550db32d4ba5572e4b'/>
<id>urn:sha1:8a7d81a5e23c4d59fbabf2550db32d4ba5572e4b</id>
<content type='text'>
* gnu/system/uuid.scm (%fat32-uuid-rx): New variable.
(string-&gt;fat32-uuid): New procedure.
(%uuid-parsers): Add it.
* tests/uuid.scm ("uuid, FAT32, format preserved"): New test.
</content>
</entry>
<entry>
<title>uuid: Move tests to 'tests/uuid.scm'.</title>
<updated>2017-09-13T22:10:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-09-13T22:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8f3b63b5d73c0b49139c8a20b7576732abfdeeb8'/>
<id>urn:sha1:8f3b63b5d73c0b49139c8a20b7576732abfdeeb8</id>
<content type='text'>
* tests/file-systems.scm ("uuid-&gt;string", "string-&gt;uuid")
("uuid", "uuid, syntax error"): Move to...
* tests/uuid.scm: ... here.  New file.
("uuid, ISO-9660, format preserved"): New test.
</content>
</entry>
</feed>
