AW: Adding license text to files
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Thu, 11 Aug 2011 08:15:28 +0200
Hi, Jason,
Jason Aubrey [mailto:aubreyja_at_gmail.com]
All you can do from subversion itself is to create a pre-commit hook which refuses commits which don't have that license in place. You then can write a tool or script which users run on the working copies before committing. (Some clients like TortoiseSVN provide client-side pre-commit hooks, so you can automate this step.)
Another solution would be a cron job (or windows task planner) which checks out the HEAD, fixes all files, and commits them back to the repository. This approach is less intrusive, but the revisions without license will be available in the repository.
Mit freundlichen Grüßen
Markus Schaber
___________________________
3S-Smart Software Solutions GmbH
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
Geschäftsführer: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Handelsregister: Kempten HRB 6186 | USt-IDNr.: DE 167014915
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.