Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: Florian Schmaus <flow@g.o>
Subject: Re: [gentoo-dev] Proposal to undeprecate EGO_SUM
Date: Fri, 30 Sep 2022 19:18:46
Message-Id: 7F747AD3-0625-482C-9014-DBA7F56EF92D@gentoo.org
In Reply to: Re: [gentoo-dev] Proposal to undeprecate EGO_SUM by Florian Schmaus
1 > On 30 Sep 2022, at 15:53, Florian Schmaus <flow@g.o> wrote:
2 >
3 > On 30/09/2022 02.36, William Hubbs wrote:
4 >> On Wed, Sep 28, 2022 at 06:31:39PM +0200, Ulrich Mueller wrote:
5 >>>>>>>> On Wed, 28 Sep 2022, Florian Schmaus wrote:
6 >>>> 2.) the number of EGO_SUM entries exceeds 1000 and a Gentoo developer
7 >>>> maintains the package
8 >>>> 3.) the number of EGO_SUM entries exceeds 1500 and a proxied
9 >>>> maintainer maintains the package
10 >>>
11 >>> These numbers seem quite large, compared to the mean number of 3.4
12 >>> distfiles for packages in the Gentoo repository. (The median and the
13 >>> 99-percentile are 1 and 22, respectively.)
14 >
15 > The numbers may appear large when compared to the whole tree, but I think a fair comparison would be within the related programming language ecosystem, e.g., Golang or Rust.
16 >
17 > For example, analyzing ::gentoo yields the following histogram for 2022-01-01:
18 > https://dev.gentoo.org/~flow/ego_sum_entries_histogram-2020-01-01.png
19 >
20 >
21 >> To stay with your example, restic has a 300k manifest, multiple 30k+
22 >> ebuilds and897 distfiles.
23 >> I'm thinking the limit would have to be much lower. Say, around 256
24 >> entries in EGO_SUM_SRC_URI.
25 >
26 > A limit of 256 appears to be to low to be of any use. It is slightly above the 50th percentile, half of the packages could not use it.
27 >
28 > We have to realize that programming language ecosystems that only build static binaries tend to produce software projects that have a large number of dependencies. For example, app-misc/broot, a tool written in Rust, has currently 310 entries in its Manifest. Why should we threat one programming language different from another? Will be see voices that ask for banning Rust packages in ::gentoo in the future? With the rising popularity of Golang and Rust, we will (hopefully) only ever see an increase of such packages in ::gentoo. And most existing packages in this category will at best keep their dependency count constant, but are also likely to accumulate further dependencies over time.
29 >
30 > And quite frankly, I don't see a problem with "large" Manifests and/or ebuilds. Yes, it means our FTPs are hosting many files, in some cases even many small files. And yes, it means that in some cases ebuild parsing takes a bit longer. But I spoke with a few developers in the past few months and was not presented with any real world issues that EGO_SUM caused. If someone wants to fill in here, then now is a good time to speak up. But my impression is that the arguments against EGO_SUM are mostly of cosmetic nature. Again, please correct me if I am wrong.
31 >
32
33 I need to re-read the whole set of new messages in this thread, but there's still the issue of xargs/command length limits from huge variable contents.
34
35 Best,
36 sam

Attachments

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

Replies

Subject Author
[gentoo-dev] RFC: check A's size in go-module.eclass Florian Schmaus <flow@g.o>