Forum: cia-bot-for-forge.ocamlcore.org--git-
Posted by: Sylvain Le Gall With a little help from OCamlCore.org administrator, our fellow OCaml developper ygrek has set up a CIA bot for one of his project. You need to be login to forge.ocamlcore.org with ssh. Here is his recipe. $ cd /gitroot/ocaml-mysql/ocaml-mysql.git $ wget http://cia.vc/clients/git/ciabot.pl $ vi ciabot.pl # review configuration section, set project name and email address, ensure $xml_rpc=0 # setup update hook $ cat hooks/update refname=${1#refs/heads/} [ "$refname" = "master" ] && refname= oldhead=$2 newhead=$3 for merged in $(git-rev-list $newhead ^$oldhead | tac); do /gitroot/ocaml-mysql/ocaml-mysql.git/ciabot.pl $merged $refname done $ chmod a+x hooks/update Thanks to ygrek for this recipe. Sylvain Le GallThis project has not yet categorized itself in the Trove Software Map |
Latest Newsforge distribution upgrade 2013/04/24 - 04/27Sylvain Le Gall - 2013-04-23 15:58 -
0 Comment Read More/Comment
Hardware problem, OVH is investigatingSylvain Le Gall - 2011-04-12 18:42 -
0 Comment Read More/Comment
|
Discussion Forums: cia-bot-for-forge.ocamlcore.org--git-
