Discussions  >  CollabNet Subversion Admins  >  RE: Create or modify hook script to send generic message ?

Back to topic list

RE: Create or modify hook script to send generic message ?

Author markphip (OCN Member)
Full name Mark Phippard
Date 2012-03-21 04:41:12 PDT
Message There are not any hooks for "read" access, which is what I assume you want. All I can think of would be to have a process that is tailing or otherwise reading the subversion log that SVN Edge produces. This will let you know who is accessing the server and you could build up a list of users and email them.

I am not sure your requirement, but maybe you could run this as a cron job a little after midnight and just read through the log from the previous day.






____________________​____________________​
From: Phil Pinkerton [XXXX@XXXX]
Sent: Wednesday, March 21, 2012 7:05 AM
To: CollabNet Subversion Admins
Subject: Create or modify hook script to send generic message ?

Looking for a way to send or display a Notice like a MOTD whenever any repository is accessed.

For example there will be a major change in Repository locations. Some projects already have pre and post commit hook scripts. What I want to do is advise the user who accesses their Repository of that change.

perhaps adding an email or message to be sent automagically to whoever accesses the repository ?

Ideas ?

--------------------​--------------------​--------------
http://subversion.op​en.collab.net/ds/vie​wMessage.do?dsForumI​d=3&dsMessageId=​450302

To cancel your subscription to this CollabNet Subversion Admins discussion, please e-mail XXXX@XXXX.

« Previous message in topic | 2 of 8 | Next message in topic »

Messages

Show all messages in topic

Create or modify hook script to send generic message ? pcpinkerton (OCN Member) Phil Pinkerton 2012-03-21 04:05:43 PDT
     RE: Create or modify hook script to send generic message ? markphip (OCN Member) Mark Phippard 2012-03-21 04:41:12 PDT
     Re: Create or modify hook script to send generic message ? cmpilato (OCN Member) C. Michael Pilato 2012-03-21 09:16:16 PDT
         RE: Re: Create or modify hook script to send generic message ? phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-22 08:26:42 PDT
             Re: Create or modify hook script to send generic message ? cmpilato (OCN Member) C. Michael Pilato 2012-03-22 09:05:24 PDT
                 RE: Re: Create or modify hook script to send generic message ? phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-22 11:00:46 PDT
                     Re: Create or modify hook script to send generic message ? cmpilato (OCN Member) C. Michael Pilato 2012-03-22 11:20:18 PDT
                         RE: Re: Create or modify hook script to send generic message ? phil_pinkerton (OCN Member) Phil Pinkerton 2012-03-22 13:25:01 PDT
Messages per page: