Re: svn.gnome.org commit notification hooks and Git
- From: Claude Paroz <claude 2xlibre net>
- To: Owen Taylor <otaylor redhat com>
- Cc: GNOME Infrastructure <gnome-infrastructure gnome org>
- Subject: Re: svn.gnome.org commit notification hooks and Git
- Date: Thu, 16 Apr 2009 10:05:24 +0200
Le mercredi 15 avril 2009 à 18:50 -0400, Owen Taylor a écrit :
> On Fri, 2009-04-03 at 09:25 +0200, Claude Paroz wrote:
> > >
> > > This is handled by the procmail rule:
> > >
> > > :0 bi
> > > * ^Subject:.*POCOMMIT.\/[-+a-z0-9A-Z_ ]+
> > > | cd /var/www/djamnedlies && /usr/bin/python /var/www/djamnedlies/manage.py update-stats $MATCH
> > >
> > > update-stats does not read stdin.
> >
> > Seems your proposal is perfectly suited to replace this hook. A simple
> > update of the procmail rule should suffice.
>
> Don't think that will quite work - looking at
> djamnedlies/stats/management/commands/update-stats.py, it will bail if
> it gets more than two arguments.
>
> And that's how multi-branch updates now appear - you get one item on the
> subject for each updated branch.
>
> But should be a simple change in any case.
I've now updated the script to accept more than one branch in its
arguments.
Claude
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]