Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies