OCaml Forge

Forum: cia-bot-for-forge.ocamlcore.org--git-

Posted by: Sylvain Le Gall
Date: 2010-04-28 09:38
Summary:CIA bot for forge.ocamlcore.org (Git)
Project:Site Admin

Hello all,

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" = "master" ] && refname=
for merged in $(git-rev-list $newhead ^$oldhead | tac); do
/gitroot/ocaml-mysql/ocaml-mysql.git/ciabot.pl $merged $refname
$ chmod a+x hooks/update

Thanks to ygrek for this recipe.

Sylvain Le Gall

Latest News

Deprecating the Forge in 2017

Sylvain Le Gall - 2016-12-30 23:55 -

Forge migration to a new host, done

Sylvain Le Gall - 2016-10-14 06:42 -

Forge migration to a new host, now

Sylvain Le Gall - 2016-10-13 21:27 -

Forge migration to a new host, delayed

Sylvain Le Gall - 2016-10-09 23:27 -

Forge migration to a new host during the weekend

Sylvain Le Gall - 2016-10-08 08:53 -

Discussion Forums: cia-bot-for-forge.ocamlcore.org--git-

Monitor Forum | Start New Thread Start New Thread