Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/3] glep-0074: Specify the format of size and checksum fields
Date: Sun, 25 Sep 2022 19:06:39
Message-Id: 8722970be35fbb87a04faf470d1d81867efcb7a0.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/3] glep-0074: Specify the format of size and checksum fields by John Helmert III
1 On Sat, 2022-09-24 at 18:09 -0500, John Helmert III wrote:
2 > On Fri, Sep 23, 2022 at 04:03:54PM +0200, Michał Górny wrote:
3 > > Signed-off-by: Michał Górny <mgorny@g.o>
4 > > ---
5 > > glep-0074.rst | 13 +++++++++++++
6 > > 1 file changed, 13 insertions(+)
7 > >
8 > > diff --git a/glep-0074.rst b/glep-0074.rst
9 > > index 54bf216..bfbe092 100644
10 > > --- a/glep-0074.rst
11 > > +++ b/glep-0074.rst
12 > > @@ -191,6 +191,19 @@ The encoding can be used for other characters as well. In particular,
13 > > escaping non-printable characters might be desirable.
14 > >
15 > >
16 > > +Size and checksum fields
17 > > +------------------------
18 > > +
19 > > +The Manifest entries used to describe files list the file size and one
20 > > +or more checksums. The size is expressed as an unsigned decimal integer.
21 >
22 > "an unsigned decimal integer" representing the file's size in bytes
23 > (rather than bits, or nibbles, or $UNIT), right?
24 >
25
26 Very well. I'm afraid this is going to break some existing
27 implementations that preferred to measure in inches but gotta live with
28 it.
29
30 --
31 Best regards,
32 Michał Górny