On Tue, Apr 16, 2013 at 10:34:14AM +0300, Markus Lehtonen wrote: [..snip..] > >[replacements] > >last_upstream = ... > >foo = cmd1 > >bar = cmd2 > > > >Im undecided if the rhs should be evaluated by a shell or by python but > >we probably want both. > > Hmm, I dislike the idea of running arbitrary shell (or Python) code from > the command line. How about just allowing few git commands (through > gbp.git) and python regex or something.
We could have all of them off by default. I'm not 100% sure we need this either especially since Daniel's use case doesn't need arbitrary python code but just some additional command line options but if it's implemented consistently (and can be turned off easily) I have no objections in merging it. > I'm even planning to implement a '--no-hooks' command line option to > prevent running any hooks. That would probably make sense too. Cheers, -- Guido -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org