How to send mails automatically when cvs check-in is performed ?
Hi,
Company network scenario : 2 RHEL servers... First server acts as Proxy,Mail & DHCP...while the second one acts as file server & cvs server. Problem : Till now everyone is able to checkout & checkin the cvs server successfully.Now the company persons has given me a challenge that whenever a person "checks-in" the cvs server a mail should go to a specified person/group automatically How to send mails(automatically) to a particular person/group whenever a person makes check-in in the cvs server..????? Sorry if i posted in the wrong section..i thought the problem is more with the mail part .. Please reply.. A Confused person... |
how you share the cvs data? samba?ssh? http?
|
Hi kstan,
Through ssh..i'll explain cvs-network in detail..We are currently working on different projects..So we had created different cvs repository for each project(total 3 cvs repositories).. 3 repositories are .. 1. /ic/a 2. /Sw/b 3. /Algo/c Altogether 30 users are here out of which 5 are windows users & rest linux(RHEL Desktop or Mandriva)..Windows users are using wincvs 1.2 & linux users are using lincvs 1.4.3.Windows users connect to cvs-server through "ssh tunneling".Linux users connect to cvs-server through the port 2401. At present when a user commits a change in the ic-repository(/ic/a), the other users who belong to that particular repository who get notification mail automatically... Already we are having the group-id for the ic-team.. |
Quote:
My suggestion is, Configure a start up script , when any ssh login will trigger the script and run some necessary action you want. (either ~/.bashrc, /etc/environment,/etc/profile,/etc/profile.d/automail or etc kind of way you prefer). The action can be check what current username, check what current cvs version (which is going to update), and etc. If you want to maintain the server, create a specific username, inside the startup script purposely detect this kind of login won't trigger the email. I hope you can understand and it is a long story to explain the scenario and logic. Simply plan for you strategy. However, before you ask us the next question tell us your strategy so we can suggestion what is the next step. regards, Ks |
Have a look at cvsspam. I use it here to send emails on commits and it works fine. It needs ruby to run, but you don't need to know the ruby syntax to install/configure it.
|
Hi gilead;
Quote:
How the performance? Regards, Ks |
As far as I know it doesn't support SVN. However, one of the sites linked at the bottom of their homepage might - I haven't checked.
There are about 30 users on the repository here so performance has never been a problem. |
All times are GMT -5. The time now is 04:42 AM. |