Mand
Hi there, Can I ask why you want a notification when people checkout? There may be a better/simpler way of achieving what you want. If you're using Apache you can probably script something from the logs, but I'm not aware of a hook that is available for this.
satheesh
Thanks Mand, But, before checkout i want check the user's rights, right users only able to checkout... others are not able to checkout... In this case how can i check
andyl
Hook scripts do not fire on checkout. Only on events which are about to or just have altered the repository.
Subversion has path-based authorization built in. Use that to stop people from accessing things they shouldn't have access to. If think you need to monitor checkouts this closely, you have major trust issues with the people you've granted access, and no software can fix that. You have a people problem, not a technical one.
satheesh
Thanks andyl, I going to use path based authentication.... to fix this problem tha
Thenmozhi
Hi, We want to know is there any way in SVNServer to introduce new hooks apart from the existing 9 types of hooks. So that we can use it for any set of operation that we are doing with the SVN repository. For example, we would like to introduce hook to invoke before opening the repository, or while getting the file from repository, something like that. Any help will be greatly apprecaited. Thanks in advance.
satheesh
Hi andyl, you have mentioned abt svnhookdispatcher. i have 2 questions, 1. whether it is working under svnserve or not. 2. If its working, can i use this(svnhookdispatcher) for some other events like "pre-checkout" , "log in to repository"(while connection establishment... that is opening the repository with user credential)
Mand
Satheesh, The link that andyl provided uses the Apache module, so you'd only be able to use that if you're using Apache to serve the repository (not svnserve).
satheesh
Thanks Mand, Is any other way is there to implement this in svnserve. I mean before login and before checkout it is possible to call any hooks script..
Mand
There are *no* pre-defined hooks that report on read actions. As andyl said, I'd consider why you really need this, address the people problem if there is one, or failing that use Apache and tailor something from the log.