git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ciabot scripts and merge flood prevention
@ 2010-04-24 15:05 Joey Hess
  2010-04-24 16:05 ` Eric Raymond
  0 siblings, 1 reply; 2+ messages in thread
From: Joey Hess @ 2010-04-24 15:05 UTC (permalink / raw)
  To: Eric Raymond; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

There's a problem with the old ciabot scripts, and I think also the v3
versions, when two published branches are merged. In this case, ciabot
reports all the changes twice, once when they're first committed to the
first branch, and a second time when the first branch is merged into the
second. This can unleash a flood of redundant commit messages that wipes
out conversation in any poor irc channel that has CIA in it. I've
generated floods that lasted up to 15 minutes.

I document the problem and one solution here. There's also a link to 
the hook script Gnome is using, based on the same method.
http://kitenet.net/~joey/blog/entry/lazyweb:_git_cia_hooks/
Maybe this could be built into the ciabot scripts?


(BTW, in both scripts, the example of git-rev-list ... | tac
could perhaps more efficiently be written as git-rev-list --reverse ...)

-- 
see shy jo

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-24 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-24 15:05 ciabot scripts and merge flood prevention Joey Hess
2010-04-24 16:05 ` Eric Raymond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).