From: Ionen Wolkens <ionen@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates
Date: Sun, 12 Jan 2025 16:20:59 -0500 [thread overview]
Message-ID: <Z4QyO0Ct3hUIhTxi@eversor> (raw)
In-Reply-To: <1067019a-fe12-4793-8ff1-a1e21dbcb3ae@asokolov.org>
[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]
On Sun, Jan 12, 2025 at 02:30:10PM +0000, 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
> >
> >> CRATES. Please provide" + eqawarn "a crate tarball
> >
> >> instead and fetch it via SRC_URI. You can use" +
> >
> >> eqawarn "'pycargoebuild --crate-tarball' to create one." + fi
> >
> > I would like to suggest to use "QA Notice: " prefix if you want to have them reported.
> >
> > Agostino
>
> Side question: maybe eqawarn should add such prefix automatically?
In the context of automatically filing bugs, sometimes we also want to
warn for low priority things (e.g. either just something to be aware of
or something to ideally fix on bump when happen to see the warning)
without filing a hundred bugs.
So question is more whether we want this to happen here or not and put
pressure on maintainers (incl. proxied) to fix it asap.
From a technical standpoint, eqawarn would need to know when it's the
"header" of a notice (like optfeature_header) given we often have
several eqawarn in a row and "QA Notice:" for each line would be weird.
This means needing to modify all usage of it anyway which doesn't bring
much vs just inlining it unless we wanted to do something more special
with this.
--
ionen
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2025-01-12 21:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-12 12:56 [gentoo-dev] [PATCH] cargo.eclass: Emit a warning if the package uses 300+ crates Michał Górny
2025-01-12 13:15 ` Agostino Sarubbo
2025-01-12 14:30 ` Alexey Sokolov
2025-01-12 21:20 ` Ionen Wolkens [this message]
2025-01-13 9:40 ` Florian Schmaus
2025-01-13 13:23 ` orbea
2025-01-13 16:10 ` Ionen Wolkens
2025-01-13 13:36 ` Michał Górny
2025-01-14 16:56 ` Florian Schmaus
2025-01-14 17:43 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z4QyO0Ct3hUIhTxi@eversor \
--to=ionen@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox