On Tue, 20 Nov 2012 12:02, Paul Wise wrote: > It would be nice to have a commit hook that would prevent the need for > more such patches in the future, do we have the ability to add that?
I've attached a script and patch for this but it needs review and testing. -- bye, pabs http://wiki.debian.org/PaulWise
reject_bugs
Description: application/shellscript
? reject-https-links.patch ? reject_bugs Index: checkoutlist =================================================================== RCS file: /cvs/webwml/CVSROOT/checkoutlist,v retrieving revision 1.7 diff -p -u -r1.7 checkoutlist --- checkoutlist 26 May 2011 08:50:21 -0000 1.7 +++ checkoutlist 2 Dec 2012 08:03:54 -0000 @@ -14,3 +14,4 @@ log_accum.pl error checking out administrative file log_accum.pl commit_prep2 error checking out administrative file commit_prep2 ciabot_cvs.pl error checking out administrative file ciabot_cvs.pl +reject_bugs error checking out administrative file reject_bugs Index: commitinfo =================================================================== RCS file: /cvs/webwml/CVSROOT/commitinfo,v retrieving revision 1.7 diff -p -u -r1.7 commitinfo --- commitinfo 27 May 2011 08:50:19 -0000 1.7 +++ commitinfo 2 Dec 2012 08:03:54 -0000 @@ -13,4 +13,5 @@ # # If the name "ALL" appears as a regular expression it is always used # in addition to the first matching regex or "DEFAULT". +ALL /home/groups/debwww/cron/scripts/reject_bugs ALL /home/groups/debwww/cron/scripts/commit_prep2 -r %s
signature.asc
Description: This is a digitally signed message part