On Fri, 28 Sep 2012 03:01:46 +0200, gregor herrmann wrote:
> 1) Client side (i.e. vasks):
>
> 1a) /home/groups/pkg-perl/meta/pkg-perl-post-receive
>
> BASE=/home/groups/pkg-perl
> KGB=/home/groups/kgb/trunk
> CONF=$BASE/kgb-client.conf
> PKG=${DIR%.git}
cat > hooks/reflog
> if [ -e $BASE/KGB-notifications-disabled ]; then
> echo "KGB notifications disabled"
> else
> cat hooks/reflog | \
> PERL5LIB=$KGB/lib $KGB/script/kgb-client --conf $CONF \
> --repository git --git-reflog - --module $PKG
> fi
Cheers,
gregor, adding a missing line, thanks Tincho
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Johnny Shines: Too Wet To Plow
Attachment:
signature.asc
Description: Digital signature