Introducing KDE Activity Filter

Ben Cooksley bcooksley at kde.org
Tue Jul 14 07:56:00 BST 2020


On Tue, Jul 14, 2020 at 1:50 AM Luiz Fernando Ranghetti
<elchevive68 at gmail.com> wrote:
>
> Hi Ben,

Hi Luiz,

>
> How to specify svn addresses?
>
> Back in time I have pt_BR translations filtered in the old commit filter. Then I could see the commits on phabricator, watching pages like this:
> https://phabricator.kde.org/source/svn/history/branches/stable/l10n-kf5/pt_BR/  (and its trunk counterpart). I didn't find something similar to this on invent.k.o
>
> Now I'm left with this:
> https://websvn.kde.org/branches/stable/l10n-kf5/pt_BR/messages/?sortby=date#dirlist (in this case scripty run will mask someone contribution)

At this time i'm afraid Subversion is not supported by the Activity
Filter service.

Adding such support would require adding a Subversion variant to the
rule generator, which can be found below.
https://invent.kde.org/sysadmin/repo-management/-/blob/master/activity-filter/procmailrcgenerator.py#L4

It should be reasonably straight forward to implement, however I lack
mail samples (with full headers preserved) that would be necessary to
implement this.

>
> Regards,
>
> Luiz
>

Regards,
Ben

>
>
>
>
> Em dom., 12 de jul. de 2020 às 14:57, Ben Cooksley <bcooksley at kde.org> escreveu:
>>
>> On Mon, Jul 13, 2020 at 4:46 AM Albert Astals Cid <aacid at kde.org> wrote:
>> >
>> > El diumenge, 12 de juliol de 2020, a les 8:08:11 CEST, Ben Cooksley va escriure:
>> > > Hi all,
>> > >
>> > > A few years back Sysadmin had to turn off the old Commit Filter
>> > > service due to a number of security issues, with no replacement
>> > > available.
>> > >
>> > > I'm now happy to announce that a replacement service is now available,
>> >
>> > Very much appreciated! Now i can stop using ifttt :)
>> >
>> > > with the added functionality of also being able to cover activity on
>> > > Bugzilla and Gitlab (for Tasks and Merge Requests). It is intended
>> > > that Activity Filter will be used to provide Gitlab notifications for
>> > > merge requests and tasks to mailing lists, along with CI notifications
>> > > if desired (once that is moved to Gitlab)
>> > >
>> > > The new service is configured through YAML format files in the
>> > > sysadmin/activityfilter repository
>> > > (https://invent.kde.org/sysadmin/activityfilter), which is open to
>> > > developers to commit. Please ensure that you read the README contained
>> > > in the repository before doing so.
>> > >
>> > > Please let us know if you have any questions on the above!
>> >
>> > Can i do stuff like this?
>> >
>> > - name: "Commits"
>> >   subscribes: "aacid at kde.org"
>> >   to: commits
>> >   where:
>> >     project: 'bla'
>> >     project: 'bla1'
>> >     project: 'bla2'
>> >     project: 'bla3'
>> >     project: 'bla4'
>> >     project: 'bla5'
>> >     project: 'bla6'
>> >     project: 'bla7'
>> >     project: 'bla8'
>> >
>> > ?
>>
>> I'm afraid rules like that aren't supported, however you can specify a
>> regex so something like:
>>
>> where:
>>     project: 'foo1|foo2|foo3'
>>
>> should work fine.
>>
>> >
>> > Cheers,
>> >   Albert
>> >
>>
>> Cheers,
>> Ben
>>
>> >
>> > >
>> > > Thanks,
>> > > Ben Cooksley
>> > > KDE Sysadmin
>> > >
>> >
>> >
>> >
>> >


More information about the kde-community mailing list