Commit Notifications

Ben Cooksley bcooksley at kde.org
Fri Oct 13 08:29:38 UTC 2017


On Fri, Oct 13, 2017 at 10:24 AM, Allen Winter <winter at kde.org> wrote:
> I still get email notifications on commits to a few repos.

Hi Allen,

>
> How do I unsubscribe from the ones I no longer care about?
> How do I subscribe to new repos I'm currently interested in?

The legacy subscriptions are likely coming from the commitfilter which
was previously built into projects.kde.org.
If you'd like these to be cleaned up please file a sysadmin ticket and
we'll take care of removing those.

These were retained to minimize disruption to those that already had
subscriptions setup.

Unfortunately setting up new subscriptions isn't possible, to minimize
the work created by maintaining what is effectively commitfilter
manually.

>
> searching the wiki isn't helping.
> I see mention of CommitFilter, but that's dead.
> I tried watching github mirrors, but that didn't work either.
>
> Phab maybe?
> not seeing anything obvious there either.

Phabricator would in theory be able to drive this through it's Herald
module however:

1) Herald rules impose a cost on every change to a task, review and
other similar objects of approximately 1ms per rule. To minimize the
risk of future scalability rules we don't allow individuals to setup
rules for just themselves.

2) Any commit notifications sent via Herald rules will use commit
emails in the Phabricator format, rather than the standard KDE Git
commit emails which are sent to kde-commits at kde.org.

As a result it isn't able to help here. For those wondering, Herald is
the "Restricted Application" which you'll see mentioned on review and
some task emails. Only Community Admins have the power to create and
manage Herald rules.

Sorry I can't provide too much more help here.

If someone is interested in building such a system - operating a
commit filter like service isn't terribly complicated. Procmail,
combined with headers already included in our message by the hooks
make building the email side fairly simple. The hard part is the user
interface to maintain the rules. If you'd like more details on this,
please contact me.

Cheers,
Ben Cooksley
KDE Sysadmin


More information about the Kde-frameworks-devel mailing list