Gentoo Archives: gentoo-dev

From: R0b0t1 <r030t1@×××××.com>
To: 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 20:44:33
Message-Id: CAAD4mYi=BbNFfUUTbWaTp7xecMEyM=B+KzECo0piHzkH9UM63A@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 2: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
38 How easy is it to move patches to Gentoo infrastructure if the patches
39 are not provided by upstream? I am slightly uncomfortable with
40 everything being pushed to websites like GitHub by default.

Replies