Re: [Koha-devel] Client-side git hooks

2018-07-21 Thread Barton Chittenden
On Fri, Jul 20, 2018 at 8:07 AM, Tomas Cohen Arazi wrote: > Maybe run the QA script should be one of them? +1 ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website

Re: [Koha-devel] Client-side git hooks

2018-07-20 Thread Jonathan Druart
I shared my pre-commit git hook years ago (2012) https://wiki.koha-community.org/wiki/Tips_and_tricks It does -wc and much more... On Fri, 20 Jul 2018 at 05:53 David Cook wrote: > Hi all, > > > > How many of you are using client-side git hooks? That is, git hooks that > are in your working

Re: [Koha-devel] Client-side git hooks

2018-07-20 Thread Tomas Cohen Arazi
Maybe run the QA script should be one of them? El vie., 20 de jul. de 2018 8:46 a. m., Martin Renvoize < martin.renvo...@ptfs-europe.com> escribió: > I use git-hooks pretty extensively though I'm still porting many of them > from the project I've been working on for the last year for use with

Re: [Koha-devel] Client-side git hooks

2018-07-20 Thread Martin Renvoize
I use git-hooks pretty extensively though I'm still porting many of them from the project I've been working on for the last year for use with Koha. There's so much you can do, for instance, I used to always run perltidy over any changed files in my commit to ensuring I stayed tidy (won't be

[Koha-devel] Client-side git hooks

2018-07-20 Thread David Cook
Hi all, How many of you are using client-side git hooks? That is, git hooks that are in your working directory. A while ago, I added a "pre-commit" git hook in my Koha git working directory, which runs a little Python script every time I make a commit. It's nothing fancy. Basically it