🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #217

[gentoo-dev] RFC: Do you mind moderating user submissions describing anti-features in packages you maintain?

#217
From: Anna Vyalkova
Date: Tue, 24 Nov 2026 16:10
95 lines
4712 bytes
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.
Technical Details
Message-ID: <O31fH-dU5E-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <Nnp7X-8lyd-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Anna Vyalkova <cyber+gentoo@sysrq.in>
Newsgroups: linux.gentoo.dev
Subject: [gentoo-dev] RFC: Do you mind moderating user submissions describing anti-features in packages you maintain?
Date: Tue, 24 Nov 2026 17:10:01 +0100
Message-ID: <O31fH-dU5E-1@gated-at.bofh.it>
References: <Nnp7X-8lyd-19@gated-at.bofh.it>
Mail-Followup-To: gentoo-dev@lists.gentoo.org, gentoo-guru@lists.gentoo.org
List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org>
Reply-To: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Newsgroups: gmane.linux.gentoo.devel
User-Agent: Mutt/2.4.3 (2026-10-09)
Approved: robomod@news.nic.it
Lines: 95
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: gentoo-guru@lists.gentoo.org
X-Original-Date: Tue, 24 Nov 2026 21:08:34 +0500
X-Original-Message-ID: <awW2gr5S0zI1jqz-@sysrq.in>
X-Original-References: <am5gPDWkKPhn0muR@cloudsdale.lanodan.eu>