<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On söndag 12 juli 2020 kl. 20:48:29 EEST Ben Cooksley wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> On Mon, Jul 13, 2020 at 4:46 AM Albert Astals Cid <aacid@kde.org> wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > El diumenge, 12 de juliol de 2020, a les 8:08:11 CEST, Ben Cooksley va escriure:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Hi all,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > A few years back Sysadmin had to turn off the old Commit Filter</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > service due to a number of security issues, with no replacement</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > available.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > I'm now happy to announce that a replacement service is now available,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Very much appreciated! Now i can stop using ifttt :)</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Very much appreciated! :)</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > with the added functionality of also being able to cover activity on</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Bugzilla and Gitlab (for Tasks and Merge Requests). It is intended</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > that Activity Filter will be used to provide Gitlab notifications for</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > merge requests and tasks to mailing lists, along with CI notifications</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > if desired (once that is moved to Gitlab)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > The new service is configured through YAML format files in the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > sysadmin/activityfilter repository</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > (https://invent.kde.org/sysadmin/activityfilter), which is open to</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > developers to commit. Please ensure that you read the README contained</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > in the repository before doing so.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Please let us know if you have any questions on the above!</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Can i do stuff like this?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > - name: "Commits"</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > subscribes: "aacid@kde.org"</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > to: commits</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > where:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla1'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla2'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla3'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla4'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla5'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla6'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla7'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > project: 'bla8'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > ?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I'm afraid rules like that aren't supported, however you can specify a</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> regex so something like:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> where:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> project: 'foo1|foo2|foo3'</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> should work fine.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Is there a way to verify that the yaml file is syntactically correct before pushing the change?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Regards,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> Kåre</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Cheers,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Albert</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Cheers,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Ben</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Thanks,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Ben Cooksley</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > KDE Sysadmin</p>
<br /><br /></body>
</html>