Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/3] glep-0074: Specify the format of size and checksum fields
Date: Fri, 23 Sep 2022 14:04:52
Message-Id: 20220923140355.1307514-3-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/3] glep-0074: clarifications about size and checksum fields by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 glep-0074.rst | 13 +++++++++++++
4 1 file changed, 13 insertions(+)
5
6 diff --git a/glep-0074.rst b/glep-0074.rst
7 index 54bf216..bfbe092 100644
8 --- a/glep-0074.rst
9 +++ b/glep-0074.rst
10 @@ -191,6 +191,19 @@ The encoding can be used for other characters as well. In particular,
11 escaping non-printable characters might be desirable.
12
13
14 +Size and checksum fields
15 +------------------------
16 +
17 +The Manifest entries used to describe files list the file size and one
18 +or more checksums. The size is expressed as an unsigned decimal integer.
19 +The checksums are expressed using pairs of fields, with the first field
20 +in every pair specifying the hash name and the second field its value.
21 +The names of hashes and the encoding of their values are specified
22 +in the `checksum algorithms`_ section.
23 +
24 +It is invalid to specify a hash name without a value.
25 +
26 +
27 File verification
28 -----------------
29
30 --
31 2.37.3

Replies