Re: [PATCH 00/12] Plannings for secure-testing repository migration to git
Hi Guido,
On Thu, Dec 28, 2017 at 01:28:26PM +0100, Guido Günther wrote:
> Hi,
> On Thu, Dec 28, 2017 at 12:45:38PM +0100, Guido Günther wrote:
> [..snip..]
> > We could provide a pre-commit hook:
> >
> > https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks
> >
> > they're not enforced though. User would have to set it up via
> >
> > ln -s bin/pre-commit .git/hooks/pre-commit
> >
> > (which we could put into a "bin/setup-repo"). Since the hook can
> > identify changed files we could only run tests on changed files so it
> > would be reasonably fast. I'll have a look.
>
> What about adding this to the secure-testing-repo (the makefile already
> creates stamps so we don't need to differentiate in the hook again). We
> might add other stuff like installing dependencies to run the various
> commands to setup-repo later on.
Thank you looks good and have applied it as well!
Regards,
Salvatore
Reply to: