Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Pre-commit hooks are back!

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


innocentkiller at gmail

Aug 5, 2011, 2:31 PM

Post #1 of 3 (385 views)
Permalink
Pre-commit hooks are back!

Hi everyone,

I've just rewritten our pre-commit hooks today (/trunk/tools/subversion/hooks)
and deployed them to the MediaWiki repository. The following rules are in place:
* No empty commit summaries
* Lint test for all php files
* No committing as root

If anyone has any problems with the new hooks, let me know :)

-Chad

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


hashar+wmf at free

Aug 6, 2011, 12:41 AM

Post #2 of 3 (356 views)
Permalink
Re: Pre-commit hooks are back! [In reply to]

On 05/08/11 23:31, Chad wrote:
> Hi everyone,
>
> I've just rewritten our pre-commit hooks today (/trunk/tools/subversion/hooks)
> and deployed them to the MediaWiki repository. <snip>

Are there any instructions somewhere to disable them easily? Just in
case of trouble.

--
Ashar Voultoiz


_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Platonides at gmail

Aug 6, 2011, 3:07 AM

Post #3 of 3 (353 views)
Permalink
Re: Pre-commit hooks are back! [In reply to]

Ashar Voultoiz wrote:
> Are there any instructions somewhere to disable them easily? Just in
> case of trouble.

The svn book explains it. I think it was just
chmod -x hook_file



_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.