Sunday 09 Aug 2015 20:17:57, Patrick Lauer wrote :
> On Sunday 09 August 2015 08:06:53 Anthony G. Basile wrote:
> > Hi everyone,
> > 
> > I hate to be a nag, but please read
> > https://wiki.gentoo.org/wiki/Gentoo_git_workflow.  In particular, commit
> > messages.  I'm seeing lots of cvs style messages going in and without
> > history it will be hard to figure out what happened just from the
> > message.  Particularly, we should prepend "CATEGORY/PN: " to the first
> > line so we can easily search git log for what happened to a package.
> 
> Lazy me says:
> 
> Can't we make repoman do that?
> 

We should delegate this task to git and set up a hook for this kind of checks.

http://git-scm.com/docs/githooks

I'm not going to copy and paste what's on the website but a hook is basically a
script that gets executed post/pre commits/push/[insert action here]. 

Hooks can be written in any programming language.

If we take the concept event further, even repoman itself could go away..


Reply via email to