Hello,
Whenever an action is made in Gerrit, a notification is sent to some IRC channels. Previously we had to map each project to an IRC channel fall backing to #mediawiki.
I have enhanced the python script to support wildcard when filtering on Gerrit project name. Leslie Carr has deployed the changes some minutes ago, and now:
projects from: - analytics and integrations are sent to #wikimedia-dev - operations are sent to #wikimedia-operations - labs to #wikimedia-labs - mediawiki and mediawiki extensions to #mediawiki
Default is still #mediawiki
If someone need more specific rules, you should tweak the filenames dictionary in templates/gerrit/hookconfig.py.erb .
As an example, we might want to send MobileFrontend notifications to #wikimedia-mobile .
Yeah, can we modify it to send MobileFrontend notifications to #wikimedia-mobile.
— Patrick
On Tue, Mar 27, 2012 at 11:28 AM, Antoine Musso hashar+wmf@free.fr wrote:
Hello,
Whenever an action is made in Gerrit, a notification is sent to some IRC channels. Previously we had to map each project to an IRC channel fall backing to #mediawiki.
I have enhanced the python script to support wildcard when filtering on Gerrit project name. Leslie Carr has deployed the changes some minutes ago, and now:
projects from:
- analytics and integrations are sent to #wikimedia-dev
- operations are sent to #wikimedia-operations
- labs to #wikimedia-labs
- mediawiki and mediawiki extensions to #mediawiki
Default is still #mediawiki
If someone need more specific rules, you should tweak the filenames dictionary in templates/gerrit/hookconfig.py.erb .
As an example, we might want to send MobileFrontend notifications to #wikimedia-mobile .
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 27.03.2012, 22:56 Patrick wrote:
Yeah, can we modify it to send MobileFrontend notifications to #wikimedia-mobile.
As well as other mobile extensions: ZeroRatedMobileAccess and FeaturedFeeds. I think these notifications should be sent to #mediawiki too, as this concerns WM/MW in general, too.
Le 27/03/12 21:10, Max Semenik a écrit :
I think these notifications should be sent to #mediawiki too, as this concerns WM/MW in general, too.
Unfortunately the python script does not support sending to multiple channels yet. Something any pythonist should be able to do :-]
Can you possibly open a bug about the ability to send to multiple channels? Since that is a Gerrit hook, it should be in Wikimedia product under the git/gerrit component.
Thanks!
It already supports sending to multiple channels. I can't go into details right now, but I'll follow up on this later with more info.
On Wed, Mar 28, 2012 at 6:06 AM, Antoine Musso hashar+wmf@free.fr wrote:
Le 27/03/12 21:10, Max Semenik a écrit :
I think these notifications should be sent to #mediawiki too, as this concerns WM/MW in general, too.
Unfortunately the python script does not support sending to multiple channels yet. Something any pythonist should be able to do :-]
Can you possibly open a bug about the ability to send to multiple channels? Since that is a Gerrit hook, it should be in Wikimedia product under the git/gerrit component.
Thanks!
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 28/03/12 04:37, Ryan Lane a écrit :
It already supports sending to multiple channels. I can't go into details right now, but I'll follow up on this later with more info.
That message remembers meof Fermat last theorem :-)
Fermat published a mathematical conjecture and claimed in the margin he had a proof that did not fit in.
Long story made short: the conjecture has been proven 358 years later.
http://en.wikipedia.org/wiki/Fermat%27s_Last_Theorem
On 28/03/12 12:17, Antoine Musso wrote:
Le 28/03/12 04:37, Ryan Lane a écrit :
It already supports sending to multiple channels. I can't go into details right now, but I'll follow up on this later with more info.
That message remembers meof Fermat last theorem :-)
You can just separate the channels with a comma. (Seems it was reenabled on ircd-seven)
On Fri, Apr 13, 2012 at 9:27 AM, Platonides Platonides@gmail.com wrote:
On 28/03/12 12:17, Antoine Musso wrote:
Le 28/03/12 04:37, Ryan Lane a écrit :
It already supports sending to multiple channels. I can't go into details right now, but I'll follow up on this later with more info.
That message remembers meof Fermat last theorem :-)
You can just separate the channels with a comma. (Seems it was reenabled on ircd-seven)
Seems I forgot to follow up on this. You can see how it's currently being done in class gerrit::ircbot in manifests/gerrit.pp in the operations/puppet repository.
- Ryan
wikitech-l@lists.wikimedia.org