On 2026-08-02, Haelwenn (lanodan) Monnier wrote:
> [2026-08-01 15:55:05+0100] Sam James:
>>Anna Vyalkova <
cyber+gentoo@sysrq.in> writes:
>>> On 2026-07-31, Sam James wrote:
>>>>> What if instead of only marking slop packages, it will be possible to
>>>>> mark all anti-features[0]? So users could be warned not only about
>>>>> slop packages, but also about non-free network services, bundled
>>>>> dependencies and other practices discouraged by Gentoo's high quality
>>>>> standards.
>>>>>
>>>>> This can be done either in profiles or in the ebuild itself. The term
>>>>> "anti-feature" is generic and future-proof.
>>>>
>>>> Well, IMO, the most important part of the discussion was how to handle
>>>> the marking and the UX around that. I set out a few options in my email.
>>>
>>> I think it doesn't need to be implemented directly in Portage and could
>>> be a third-party service as well. Submissions could be made by users
>>> themselves and approved by maintainers (for example, by replying to a
>>> confirmation e-mail).
>>>
>>> Integration with Portage could be as simple as maintaining a file in
>>> /etc/portage/package.mask/.
>>
>>Perhaps in a way like Matt's app-portage/no-distcc-env.
>
> Yeah, that sounds like a quite nice way of doing it.
> And seems like package.unmask takes priority, so users could override
> a single package if needed.
>
>>> If anyone is interested, let's collaborate.
So, I actually started writing some code for such submissions but I
can't move forward without reaching a consensus on the submission
process among package maintainers. The most important question is opt-in
vs. opt-out.
The process could look like this:
1. Larry runs "jihad-report app-rizz/gyatt gentoo" (no, I'm not a
Muslim, I just have been reading "Dune" recently).
2. The script runs some pquery checks to make sure such package exists
and is not maintainer-needed.
3. If everything is ok, Larry's favorite e-mail client is laucnhed via
"xdg-email"
To:
butler@sysrq.in
Subject: app-rizz/gyatt::gentoo
blah-blah
[ ] Item 0
[ ] Item 1
...
[ ] Item N
4. Larry checks all anti-features that apply to the package and sends
his message.
5. On sysrq.in, the message is received (rejected if FCrDNS, SPF, DKIM
or spam checks fail) and piped into "butler.py".
6. Butler validates "Subject:" and verifies again that such package
exists and is not maintainer-needed.
7. Butler reads the body as plain text and calculates a single number
that is the sum of bit flags.
8. Butler reads projects.xml and replaces projects with their members.
9a. If Larry is a maintainer, the entry for app-rizz/gyatt::gentoo is
upserted into the "project" table with the calculated sum of bit flags.
9b. If Larry is not a maintainer, Butler verifies he is not banned and
has no current submissions for app-rizz/gyatt::gentoo (only one attempt
is allowed), then his submission is inserted into the "submission"
table.
10b. Butler sends a message to the maintainers that have not opted out,
citing the questionnaire filled by Larry.
To unsubscribe, a maintainer sends any message to
butler+unsubscribe@sysrq.in.
To subscribe back, a maintainer sends any message to
butler+subscribe@sysrq.in.
11b. If any recipient replies, the entry for app-rizz/gyatt::gentoo is
upserted into the "project" table from the "submission" table, and the
submission is deleted.