<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/gnu/system/uuid.scm, branch master</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>uuid: Add support for exFAT.</title>
<updated>2024-09-01T00:00:00+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2024-09-01T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=876c343bbfe043dfc1b04cecaeed1e374843f4ed'/>
<id>876c343bbfe043dfc1b04cecaeed1e374843f4ed</id>
<content type='text'>
We expect users to use the generic STRING-&gt;FAT-UUID procedure.
This is consistent with how we already treat FAT32 vs FAT16.
It is not consistent with how we export 8 different aliases for
STRING-&gt;DCE-UUID, but I'm unconvinced that would be better.

* gnu/system/uuid.scm (%uuid-parsers, %uuid-printers):
Add the ‘exfat’ file system type.

Change-Id: Ia31482716e4395f9f10f794f49fb31c9f330a2e3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We expect users to use the generic STRING-&gt;FAT-UUID procedure.
This is consistent with how we already treat FAT32 vs FAT16.
It is not consistent with how we export 8 different aliases for
STRING-&gt;DCE-UUID, but I'm unconvinced that would be better.

* gnu/system/uuid.scm (%uuid-parsers, %uuid-printers):
Add the ‘exfat’ file system type.

Change-Id: Ia31482716e4395f9f10f794f49fb31c9f330a2e3
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Fix NTFS UUID stringification.</title>
<updated>2023-06-18T00:00:10+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2023-06-18T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=65ed7a61f1ad01da440f0e7e08bfc32b43deed73'/>
<id>65ed7a61f1ad01da440f0e7e08bfc32b43deed73</id>
<content type='text'>
Previously, (ntfs-uuid-&gt;string (string-&gt;ntfs-uuid"5234ED0D34ECF53F"))
would yield "5234EDD34ECF53F".

Reported by sughosha in #guix.

* gnu/system/uuid.scm (ntfs-uuid-&gt;string): Pad hex bytes with zero when
needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, (ntfs-uuid-&gt;string (string-&gt;ntfs-uuid"5234ED0D34ECF53F"))
would yield "5234EDD34ECF53F".

Reported by sughosha in #guix.

* gnu/system/uuid.scm (ntfs-uuid-&gt;string): Pad hex bytes with zero when
needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Support XFS.</title>
<updated>2021-09-23T16:17:17+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-09-23T11:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=90604348e14913da48327da05113d7da8ae7655a'/>
<id>90604348e14913da48327da05113d7da8ae7655a</id>
<content type='text'>
* gnu/system/uuid.scm (string-&gt;xfs-uuid): New procedure.
(%uuid-parsers, %uuid-printers): Add ‘xfs’ file system type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm (string-&gt;xfs-uuid): New procedure.
(%uuid-parsers, %uuid-printers): Add ‘xfs’ file system type.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Add support for bcachefs.</title>
<updated>2020-11-07T12:40:46+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2020-11-05T12:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=e87471dc510bc393e3306fba86f919dc6bf89b7b'/>
<id>e87471dc510bc393e3306fba86f919dc6bf89b7b</id>
<content type='text'>
* gnu/system/uuid.scm (string-&gt;bcachefs-uuid): New exported procedure.
(%uuid-parsers, %uuid-printers): Add the ‘bcachefs’ file system type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm (string-&gt;bcachefs-uuid): New exported procedure.
(%uuid-parsers, %uuid-printers): Add the ‘bcachefs’ file system type.
</pre>
</div>
</content>
</entry>
<entry>
<title>file-systems: Add NTFS support.</title>
<updated>2020-07-26T16:35:10+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2020-07-26T13:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=675e56221e3dfc58cac94bf30835f16a9c41d530'/>
<id>675e56221e3dfc58cac94bf30835f16a9c41d530</id>
<content type='text'>
* gnu/system/uuid.scm (%ntfs-endianness): New macro,
(ntfs-uuid-&gt;string): new procedure,
(%ntfs-endianness): new variable,
(string-&gt;ntfs-uuid): new exported procedure,
(%uuid-parsers): add NTFS support,
(%uuid-printers): add NTFS support.
* gnu/build/file-systems.scm (%ntfs-endianness): New macro,
(ntfs-superblock?, read-ntfs-superblock, ntfs-superblock-uuid,
check-ntfs-file-system): new procedure,
(%partition-uuid-readers): add NTFS support,
(check-file-system): add NTFS support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm (%ntfs-endianness): New macro,
(ntfs-uuid-&gt;string): new procedure,
(%ntfs-endianness): new variable,
(string-&gt;ntfs-uuid): new exported procedure,
(%uuid-parsers): add NTFS support,
(%uuid-printers): add NTFS support.
* gnu/build/file-systems.scm (%ntfs-endianness): New macro,
(ntfs-superblock?, read-ntfs-superblock, ntfs-superblock-uuid,
check-ntfs-file-system): new procedure,
(%partition-uuid-readers): add NTFS support,
(check-file-system): add NTFS support.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Prevent a loop on invalid arguments.</title>
<updated>2020-06-19T03:24:37+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2020-06-19T03:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=04a4af6dd4fbfcfc564eac5eafe647b192ba3a8f'/>
<id>04a4af6dd4fbfcfc564eac5eafe647b192ba3a8f</id>
<content type='text'>
* gnu/system/uuid.scm (uuid=?): Use type predicates in the fallback case to
prevent looping on invalid arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm (uuid=?): Use type predicates in the fallback case to
prevent looping on invalid arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Add support for JFS.</title>
<updated>2020-01-03T12:54:13+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-12-31T00:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=43c4d27cdfed5ce98ecd4ce48fcd43e188e5a3aa'/>
<id>43c4d27cdfed5ce98ecd4ce48fcd43e188e5a3aa</id>
<content type='text'>
* gnu/system/uuid.scm (string-&gt;jfs-uuid): New procedure.
(%uuid-parsers, %uuid-printers): Add ‘jfs’ file system type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm (string-&gt;jfs-uuid): New procedure.
(%uuid-parsers, %uuid-printers): Add ‘jfs’ file system type.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: 'fat-uuid-&gt;string' preserves leading zeros.</title>
<updated>2019-05-07T10:18:44+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-07T08:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=6c5790a2faf8ffc401e43b13425a707394e40874'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: 'uuid' returns #f when 'string-&gt;uuid' returns #f.</title>
<updated>2018-05-18T22:14:52+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-05-18T20:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=263c9941a1e523b360ca9f42d1ed6b11e6e6e285'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>uuid: Fix typo in comment.</title>
<updated>2017-12-02T22:13:20+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-12-02T17:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=bf57e1c7089e5337d5c8dc2a2ad3d018b95df6a8'/>
<id>bf57e1c7089e5337d5c8dc2a2ad3d018b95df6a8</id>
<content type='text'>
* gnu/system/uuid.scm: Fix typo in comment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/system/uuid.scm: Fix typo in comment.
</pre>
</div>
</content>
</entry>
</feed>
