Re: clocc hg hooks

Raymond Toy <[email protected]> Wed, 09 Mar 2011 13:08:16 -0500
Newsgroups gmane.lisp.clocc.devel
Message-ID <[email protected]>
On 3/9/11 10:02 AM, Sam Steingold wrote:
>> * Raymond Toy <[email protected]> [2011-03-08 23:24:45 -0500]:
>>
>> I think it would be nice to have commit messages sent out with hg
>> pushes.  Perhaps we can use the changegroup hook given in
>> <http://mercurial.selenic.com/wiki/Hook#The_changegroup_hook>.  These
>> seem relatively simple to setup and we can just send all mail to the
>> clocc-cvs list.  This just gives the commit messages.
>>
>> Or perhaps the NotifyExtension
>> <http://mercurial.selenic.com/wiki/NotifyExtension>, which will send out
>> diffs.  (I kind of like diffs, but perhaps people consider that to be
>> too cluttered for commit messages.)
> I think diffs should go to clocc-devel and push notifications to
> clisp-list.
Presumably you meant clocc-list, not clisp-list.
> or maybe not...
I think I'd prefer them to go to just one list (clocc-cvslog).  diffs to
clocc-devel is too cluttered and uninteresting to most people, since
clocc is a random collection of things.
>> In addition, I'd like the keyword extension enabled.
> I don't think this is a good idea.
> I used to use that with cvs but not with mercurial.
> http://mercurial.selenic.com/wiki/KeywordPlan#head-2007fad6f31bf6f1f1b5c3d5b02e5c6225de3ec5
> http://mercurial.selenic.com/wiki/VersioningWithMake
>
Yes, I read those.  But f2cl doesn't use make, but expects the files to
contain $Id$ keywords.  This is also why I suggested only enabling the
keyword extension for files that match the pattern *.l, which is
basically only the f2cl source files.  If that's not enough, we can
probably tighten the pattern to just the .l files in src/f2cl/src.  Then
the keyword extension won't be used except for those few files.

Ray
 


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d