On Mon, Jan 13, 2025 at 05:23:54AM -0800, orbea wrote:
> On Mon, 13 Jan 2025 10:40:30 +0100
> Florian Schmaus <f...@gentoo.org> wrote:
> 
> > On 12/01/2025 13.56, Michał Górny wrote:
> > > Emit a QA warning suggesting the use of crate tarball, when the
> > > package in question uses 300 crates or more.  Such a long crate
> > > lists cause ebuilds and Manifests to grow very fast, causing
> > > significant space consumption on end user systems (including users
> > > who are not using the package in question) and git history growth.
> > > On top of that, fetching that many crates takes significant time.
> > > 
> > > The number of 300 is pretty arbitrary, chosen approximately to match
> > > Manifests that are over 100 KiB in size.  We should probably look
> > > into lowering in the future, as more packages are transitioned.  
> > Thanks for your proposal. I know you wrote it because Gentoo is 
> > important to you.
> > 
> > I am sorry, however, but the arbitrary limit you propose is harmful,
> > and its necessity is questionable.
> 
> Its worth pointing out that is already being done in Gentoo, see
> dev-util/maturin for one example.

ftr this is something I was planning to do either way, but kept
procrastinating given that package needs special handling to
handle crates used by tests (it builds separate rust packages
for its tests with their own crates). This just prompted me to
finally have a look before a potential warning hits.
-- 
ionen

Attachment: signature.asc
Description: PGP signature

Reply via email to