Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-12 Thread Ionen Wolkens
On Sun, Jan 12, 2025 at 02:30:10PM +, Alexey Sokolov wrote: > 12.01.2025 13:15, Agostino Sarubbo пишет: > > > On domenica 12 gennaio 2025 13:56:39 CET Michał Górny wrote: > > > >> + if [[ ${#crates[@]} -ge 300 ]]; then > > > >> + eqawarn "This package uses a very large number of > > > >> CRATE

Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-12 Thread Alexey Sokolov
12.01.2025 13:15, Agostino Sarubbo пишет: > On domenica 12 gennaio 2025 13:56:39 CET Michał Górny wrote: > >> + if [[ ${#crates[@]} -ge 300 ]]; then > >> + eqawarn "This package uses a very large number of > >> CRATES. Please provide" + eqawarn "a crate tarball > >> instead and fetch it via SRC_UR

Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-12 Thread Agostino Sarubbo
On domenica 12 gennaio 2025 13:56:39 CET Michał Górny wrote: > + if [[ ${#crates[@]} -ge 300 ]]; then > + eqawarn "This package uses a very large number of > CRATES. Please provide" + eqawarn "a crate tarball > instead and fetch it via SRC_

[gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates

2025-01-12 Thread Michał Górny
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)