You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Angeline Diviya <an...@gmail.com> on 2008/06/09 13:41:36 UTC
Subversion Notification
Hi,
Ours is a CMM levl 4 IT company in India.. We r now implementing subversion
instead of VSS...
We tested and it works good.. Our problem now is how to configure
notification in subversion.
We r not getting proper reply in net.. or can u suggest any good site of how
to configure
notification in subversion. wat should we download and how to install it...
Thanks in Advance..
--
Regards,
Angeline Diviya.T
Love is like a knife, it can stab the heart or it can carve wonderful images
into the soul that will last a lifetime
Re: Subversion Notification
Posted by Hari Kodungallur <hk...@gmail.com>.
On Wed, Jun 11, 2008 at 4:17 PM, Ryan Schmidt <
subversion-2008b@ryandesign.com> wrote:
> On Jun 11, 2008, at 13:34, Hari Kodungallur wrote:
>
> On Tue, Jun 10, 2008 at 11:24 PM, Angeline Diviya wrote:
>>
>> I downloaded commit-email.pl and placed in the hooks directory, and i
>>> edited post-commit.tmpl file in the hooks directory and converted tat to
>>> exe...
>>>
>>> But it gives NTVDM error whn i commit my working copy....
>>>
>>>
>>> i have attached both the files commit-email.pl and my
>>> post-commit.tmpl....
>>> Please kindly go through it and let me know wat changes should be made in
>>> commit-email.pl and post-commit.tmpl, so tat my mail thing
>>> works..............
>>>
>>
>>
>> Please spend some time to understand the working of svn by reading the
>> free svn book. And specifically regarding hooks (link provided earlier) to
>> solve this issue. Everything is explained in the book.
>>
>> The file "post-commit.tmpl" has to be renamed to a file called
>> "post-commit". The tmpl is just a template file give as an example for you.
>>
>> I have no idea what NTVDM error is. All I know is that this is specific to
>> Windows. And since you are running Windows, please also make sure you have
>> perl installed. There is not going to be any use downloading and trying to
>> execute commit-email.pl (or SVN::Notify) without perl on the machine.
>>
>
> On Windows, the hook script should be a batch file and will need to be
> named "post-commit.bat" (not "post-commit"). Or the hook script can be an
> executable file named "post-commit.exe". I think there are some other
> options as well, but perl is not one of those options. To run a perl script
> as a hook script, you would need to write a batch file (which Subversion
> will call) which calls the perl script.
That's correct. The name of the batch file should be "post-commit.bat" on
Windows.
Just clarifying that I didn't mean to say perl is an option to be called
directly as a hook. When you are calling commit-email.pl from a batch file,
perl will still need to be installed (if not already installed) on that
machine since Windows don't come with perl by default.
thanks,
-Hari
Re: Subversion Notification
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 11, 2008, at 13:34, Hari Kodungallur wrote:
> On Tue, Jun 10, 2008 at 11:24 PM, Angeline Diviya wrote:
>
>> I downloaded commit-email.pl and placed in the hooks directory,
>> and i edited post-commit.tmpl file in the hooks directory and
>> converted tat to exe...
>>
>> But it gives NTVDM error whn i commit my working copy....
>>
>>
>> i have attached both the files commit-email.pl and my post-
>> commit.tmpl....
>> Please kindly go through it and let me know wat changes should be
>> made in commit-email.pl and post-commit.tmpl, so tat my mail thing
>> works..............
>
>
> Please spend some time to understand the working of svn by reading
> the free svn book. And specifically regarding hooks (link provided
> earlier) to solve this issue. Everything is explained in the book.
>
> The file "post-commit.tmpl" has to be renamed to a file called
> "post-commit". The tmpl is just a template file give as an example
> for you.
>
> I have no idea what NTVDM error is. All I know is that this is
> specific to Windows. And since you are running Windows, please also
> make sure you have perl installed. There is not going to be any use
> downloading and trying to execute commit-email.pl (or SVN::Notify)
> without perl on the machine.
On Windows, the hook script should be a batch file and will need to
be named "post-commit.bat" (not "post-commit"). Or the hook script
can be an executable file named "post-commit.exe". I think there are
some other options as well, but perl is not one of those options. To
run a perl script as a hook script, you would need to write a batch
file (which Subversion will call) which calls the perl script.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion Notification
Posted by Hari Kodungallur <hk...@gmail.com>.
On Tue, Jun 10, 2008 at 11:24 PM, Angeline Diviya <an...@gmail.com>
wrote:
> Hi
>
> I downloaded commit-email.pl and placed in the hooks directory, and i
> edited post-commit.tmpl file in the hooks directory and converted tat to
> exe...
>
> But it gives NTVDM error whn i commit my working copy....
>
>
> i have attached both the files commit-email.pl and my post-commit.tmpl....
> Please kindly go through it and let me know wat changes should be made in
> commit-email.pl and post-commit.tmpl, so tat my mail thing
> works..............
>
>
>
Please spend some time to understand the working of svn by reading the free
svn book. And specifically regarding hooks (link provided earlier) to solve
this issue. Everything is explained in the book.
The file "post-commit.tmpl" has to be renamed to a file called
"post-commit". The tmpl is just a template file give as an example for you.
I have no idea what NTVDM error is. All I know is that this is specific to
Windows. And since you are running Windows, please also make sure you have
perl installed. There is not going to be any use downloading and trying to
execute commit-email.pl (or SVN::Notify) without perl on the machine.
>
>
>
>
>
>> - SVN::Notify is a perl module that you can install.
>> - commit-email.pl is a script that comes with Subversion source code. You
>> can keep this file anywhere you want. For example, you can copy the file to
>> the hooks/ directory.
>>
>> You don't need to use both. You choose any one of the above. And then call
>> either commit-email.pl or svnnotify in the post-commit hook script. Please
>> read about the hook scripts in the svn book (link provided in yesterday's
>> email).
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>> On Tue, Jun 10, 2008 at 1:49 AM, Hari Kodungallur <
>>> hkodungallur@gmail.com> wrote:
>>>
>>>>
>>>> What is the type of notification that you are looking for? Are you
>>>> looking for a check-in notification where an email is sent to everyone
>>>> whenever a new revision is committed? This is achieved by using a hook
>>>> script. Please read about it here:
>>>> http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
>>>> The source distribution of svn comes with a perl script
>>>> (commit-email.pl) that you can call from the post-commit hook to send out
>>>> the commit emails.
>>>>
>>>> If you are looking for any other kind of notification, can you please
>>>> provide more info?
>>>>
>>>> Regards,
>>>> -Hari
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Angeline Diviya.T
>>>
>>> Love is like a knife, it can stab the heart or it can carve wonderful
>>> images into the soul that will last a lifetime
>>>
>>
>>
>
>
> --
> Regards,
> Angeline Diviya.T
>
> Love is like a knife, it can stab the heart or it can carve wonderful
> images into the soul that will last a lifetime
>
Re: Subversion Notification
Posted by Hari Kodungallur <hk...@gmail.com>.
On Tue, Jun 10, 2008 at 6:12 AM, Angeline Diviya <an...@gmail.com>
wrote:
> Hi..
>
> Thanks for ur earlier reply.. Yes this is wat we want with comment, file
> name, user name, date , time and any other detail that can be given.
>
> When i searched in the net.. it gives two info one about commit.pl and they
> r talking abt the other thing notify.vss.. (SVN-notify) a perl module
> capable of producing richer emails..
> so i got confused..... i just want to know 2 things
>
> 1. which file should i install and in which path to get notification
> 2. which file should i modify after installing the first file for the
> changes to occur
>
> everywehre they are speaking about two things commit.pl and svn-Notify,
> then they r speaking abt hooks.. really confused.. can u clarify the above
> things
>
>
- SVN::Notify is a perl module that you can install.
- commit-email.pl is a script that comes with Subversion source code. You
can keep this file anywhere you want. For example, you can copy the file to
the hooks/ directory.
You don't need to use both. You choose any one of the above. And then call
either commit-email.pl or svnnotify in the post-commit hook script. Please
read about the hook scripts in the svn book (link provided in yesterday's
email).
>
>
>
> On Tue, Jun 10, 2008 at 1:49 AM, Hari Kodungallur <hk...@gmail.com>
> wrote:
>
>>
>> What is the type of notification that you are looking for? Are you
>> looking for a check-in notification where an email is sent to everyone
>> whenever a new revision is committed? This is achieved by using a hook
>> script. Please read about it here:
>> http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
>> The source distribution of svn comes with a perl script (commit-email.pl)
>> that you can call from the post-commit hook to send out the commit emails.
>>
>> If you are looking for any other kind of notification, can you please
>> provide more info?
>>
>> Regards,
>> -Hari
>>
>
>
>
> --
> Regards,
> Angeline Diviya.T
>
> Love is like a knife, it can stab the heart or it can carve wonderful
> images into the soul that will last a lifetime
>
Re: Subversion Notification
Posted by Hari Kodungallur <hk...@gmail.com>.
On Mon, Jun 9, 2008 at 6:41 AM, Angeline Diviya <an...@gmail.com>
wrote:
> Hi,
>
>
> Ours is a CMM levl 4 IT company in India.. We r now implementing subversion
> instead of VSS...
> We tested and it works good.. Our problem now is how to configure
> notification in subversion.
> We r not getting proper reply in net.. or can u suggest any good site of
> how to configure
> notification in subversion. wat should we download and how to install it...
>
What is the type of notification that you are looking for? Are you looking
for a check-in notification where an email is sent to everyone whenever a
new revision is committed? This is achieved by using a hook script. Please
read about it here:
http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
The source distribution of svn comes with a perl script (commit-email.pl)
that you can call from the post-commit hook to send out the commit emails.
If you are looking for any other kind of notification, can you please
provide more info?
Regards,
-Hari