🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.dev
2 messages
2 total messages Started by Anna Vyalkova Tue, 24 Nov 2026 16:10
[gentoo-dev] RFC: Do you mind moderating user submissions describing anti-features in packages you maintain?
#217
Author: 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.
[gentoo-dev] Re: RFC: Do you mind moderating user submissions describing anti-features in packages you maintain?
#223
Author: Duncan
Date: Thu, 26 Nov 2026 17:20
41 lines
2987 bytes
Anna Vyalkova posted on Tue, 24 Nov 2026 21:08:34 +0500 as excerpted:

> 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.

In my listbot experience, inevitably someone tries to unsubscribe without 
(re)reading the instructions they might possibly have read years ago when 
they first subscribed but have long since forgotten, and replies directly 
with their unsubscribe.

As outlined here that would result not only in a failed (10b) unsubscribe, 
but in an unintentional (11b) upsert. 

A more robust 11b upsert would require a (greppable and thus automatable) 
keyword in the reply, as instructed in butler's message.  Further, the 
instructions in said message can ask for the keyword alone on its line, 
while not placing it that way in the instructions, so a simple quote-back 
doesn't trigger it.  For instance, instructions:

To approve this submission, please reply to this message including a line 
with APPROVED as a keyword alone on its own line.

Then the grep can be for '^APPROVED$' and won't trigger on a simple quote-
back of the instructions.  (Of course if desired the same could be done 
for automated unsubscribe as well, hopefully handling that common 
mistake.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads