https://bugzilla.wikimedia.org/show_bug.cgi?id=35427

--- Comment #8 from Chad H. <[email protected]> 2012-05-07 11:27:54 UTC 
---
(In reply to comment #7)
> I think filtering at the IRC output level is cleanest for what I'm after. How
> are the messages being pushed to IRC? Is it using ircecho and some stdin 
> piping
> thing like usual or what? And do you have a link to the code on gitweb or 
> where
> the code lives now (the new viewvc)?

Yep, ircecho is pulling the info from logs that are being generated on the
gerrit box. The code is in the gerrit hooks, which can be found here[0] (the
function you're looking for is log_to_file()).

Configuration is handled by hookconfig.py.erb[1], and it would be nice to
control this on a project-level basis.

I honestly haven't dove into this yet (although I did silence L10n-bot, see
updates to 35538, pending merge to production), so if anyone is volunteering
that's awesome and I'd be more than happy to review it.

[0]
https://gerrit.wikimedia.org/r/gitweb?p=operations/puppet.git;a=tree;f=files/gerrit/hooks
[1]
https://gerrit.wikimedia.org/r/gitweb?p=operations/puppet.git;a=blob;f=templates/gerrit/hookconfig.py.erb

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to