Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [QA] New policy: 'files' directory must not be larger than 32 KiB
Date: Tue, 19 Dec 2017 21:04:13
Message-Id: CAJ0EP41pxpJjp-g+n++JD5xcSs=pbjAtK7kMuO9ZyZgJ4e+EWg@mail.gmail.com
In Reply to: Re: [gentoo-dev] [QA] New policy: 'files' directory must not be larger than 32 KiB by Patrick Lauer
1 On Tue, Dec 19, 2017 at 3:33 PM, Patrick Lauer <patrick@g.o> wrote:
2 > On 12/17/17 19:39, Mike Gilbert wrote:
3 >> On Sun, Dec 17, 2017 at 8:21 AM, Michał Górny <mgorny@g.o> wrote:
4 >>> Hello, everyone.
5 >>>
6 >>> It's my pleasure to announce that with a majority vote the QA team has
7 >>> accepted a new policy. The accepted wording is:
8 >>>
9 >>> Total size of 'files' subdirectory of a package should not be larger
10 >>> than 32 KiB. If the package needs more auxiliary files, they should
11 >>> be put into SRC_URI e.g. via tarballs.
12 >>>
13 >>> (the total size being computed as a sum of apparent file sizes)
14 >>>
15 >>> The relevant policy vote is finishing at bug #633758 [1]. The CI reports
16 >>> [2] were updated to report packages whose 'files' directories exceed
17 >>> 64 KiB, to avoid adding many new warnings at once. The limit will
18 >>> be lowered down to 32 KiB as packages are fixed to comply with the new
19 >>> policy.
20 >>>
21 >>> At the same time, I would like to explicitly remind developers that
22 >>> the spirit of the policy is 'do not let "files" grow large', not 'make
23 >>> sure you're one byte less than 32769.' Do not argue that your package
24 >>> exceeds the limit only by few bytes -- even if it gets close to the
25 >>> limit, then it means it's way too large.
26 >>
27 >> I just want to voice my opinion on this: as a developer, this policy
28 >> is a royal pain in the ass.
29 >>
30 >> I would ask the council to please increase this limit to at least 100
31 >> KiB, preferably more.
32 >>
33 > As a user I would like to ask everyone involved to stick to the 32kB
34 > limit so that we (as in everyone) don't have to fetch megabytes of
35 > patches we'll never use, just because someone was lazy.
36
37 According to Francesco's numbers, that represents a small fraction of
38 the space used by a repository. A typical user won't even notice it.
39
40 Call me lazy if you like, but I prefer to let the computer do slightly
41 more work if it saves me several minutes every time I want to push out
42 a patch.

Replies

Subject Author
Re: [gentoo-dev] [QA] New policy: 'files' directory must not be larger than 32 KiB "Vadim A. Misbakh-Soloviov" <gentoo@×××.name>