RE: Configuring commit e-mails through SVN properties
From: McKenna, Simon (RGH) <Simon.McKenna_at_rgh.sa.gov.au>
Date: 2005-04-21 06:37:24 CEST
Hey Bruno,
-> Has anybody tried something similar? Any comments or improvements?
Thanks for sharing!
I've got a similar system working (outside of perl/python-land)
- Is it better to have hook:commit-email per file or per directory?
- Should there option for hook:propchange-email property? so that
- Do you handle multiple email addresses per property?
- Is it sane to extend concept further to govern repository access?
On pre-commit or start-commit hooks, recursive up the tree looking
Scenario:
1. admin creates repository
2. admin adds property: hook:propchange-access to root with value:
3. admin gives themselves and user1 commit rights by adding property:
4. user1 gives user2 commit rights by modifying property:
5. user1 or user2 then create directory structure and start committing,
The pre-propchange hook prevents anyone other than admin from modifying
In other words - user2 couldn't give someone else commit rights,
The pre-commit (or start-commit?) hook prevents anyone other than admin,
The general idea being we create an extensible yet enforceable
If there was a pre-checkout hook, read repository control should
Thoughts?
peace
---------------------------------------------------------------------
|
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.