I want to set up the following email about the project I'm working on:
That is, there is a difference in commit / logs and changes to send an e-mail to a list using the comment hook.
What is the easiest way to set up a Linux machine? When creating a new repository, a sample post-cut hook is provided in < Div class = "post-text" itemprop = "text" followed by commit.tmpl hooks /
. There is a line that looks less or less like this:
/ / / share / subversion / hitch-script / commit-email.pl "$ REPOS" "$ REV" commits -Voters @ Example.org
Just replace the email with the address that you want to send notifications to, change the script to hooks / post-commit
( Tmpl
extensions) and make it executable ( chmod a + x
).
When you run commit-email.pl
without any script, you will see a usage screen with additional options that modify the subject line or dispatch address for example Allows to
Please note that Debian's commit-email.pl
script is located in the optional shipping-device
package.
Comments
Post a Comment