Hi,

> 1) I meant which git hook does the ciabot call? post-receive I guess, but I 
> don't know if there are any alternatives.

'update':

r...@vcs-noshell:/srv/git# cat denemo.git/hooks/update.d/ciabot
#!/bin/bash
refname=$1
oldhead=$2
newhead=$3
exec /usr/src/git/contrib/ciabot/ciabot.py ${refname} $(git rev-list 
${oldhead}..${newhead} | tac)

The documentation in ciabot.py suggests doing it that way.


> 2) It seems, that the script works on per received push basis, not
> commit. That means if we push several commits at once CIA just takes
> this as on message. (And then shows the last one before that pack :)
> ). Any chance to let cia show every single commit, not only one per
> push?

Well as far as I'm concerned multiple commits per push do work in
savane.git.  Then again, that particular repository also don't have
the "one-commit-late" issue.

-- 
Sylvain

Reply via email to