commit: 2044fddc9109876cb8b908c0749cc2eaaccffab3 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Sep 23 13:19:18 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Oct 4 06:56:08 2022 +0000 URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=2044fddc
glep-0074: Specify the format of size and checksum fields Closes: https://bugs.gentoo.org/872332 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> glep-0074.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/glep-0074.rst b/glep-0074.rst index 0a55ad4..5cf0708 100644 --- a/glep-0074.rst +++ b/glep-0074.rst @@ -191,6 +191,19 @@ The encoding can be used for other characters as well. In particular, escaping non-printable characters might be desirable. +Size and checksum fields +------------------------ + +The Manifest entries used to describe files list the file size in bytes +and one or more checksums. The size is expressed as an unsigned decimal +integer. The checksums are expressed using pairs of fields, with +the first field in every pair specifying the hash name and the second +field its value. The names of hashes and the encoding of their values +are specified in the `checksum algorithms`_ section. + +It is invalid to specify a hash name without a value. + + File verification -----------------
