Re: svn.gnome.org commit notification hooks and Git
- From: Owen Taylor <otaylor redhat com>
- To: Claude Paroz <claude 2xlibre net>
- Cc: GNOME Infrastructure <gnome-infrastructure gnome org>
- Subject: Re: svn.gnome.org commit notification hooks and Git
- Date: Wed, 15 Apr 2009 18:50:21 -0400
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.
- Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]