On Tue, 2006-09-05 at 10:01 -0700, Karl Fogel wrote:
> "Ernest L. Williams Jr." <ernesto@ornl.gov> writes:
> > On Sat, 2006-09-02 at 05:36 -0700, Kenneth Porter wrote:
> >> --On Friday, September 01, 2006 8:28 PM -0400 "Ernest L. Williams Jr."
> >> <ernesto@ornl.gov> wrote:
> >>
> >> > My question today is how to transfer my existing CVS like email
> >> > notification scheme to SVN with the least resistance?
> >>
> >> Use the supplied hook script example:
> >>
> >> <http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks>
> >>
> > The book does not explain this very well. I have already read the above
> > before posting to this list.
> >
> >> You'll find the example in the tools/hook-scripts directory of the
> >> distribution:
> >>
> >> <http://svn.collab.net/viewvc/svn/trunk/tools/hook-scripts/>
> > Again, the example is not clear and it gets me no where.
>
> You need a paid consultant, I think. I don't mean that sarcastically,
> by the way, just as an honest assessment of how you can most quickly
> achieve your goal here.
My question was very simple but all I get is pointers to the
documentation. So now, a consultant is the answer, hmmm?
What I need to do was simply done in CVS. I just asked for a
translation of the following:
=========== loginfo ================================================
# The "loginfo" file is used to control where "cvs commit" log
#information is sent. The first entry on a line is a regular expression
# which is tested
# against the directory that the change is being made to, relative to
#the $CVSROOT. For the first match that is found, the remainder of the
#line is a filter program that should expect log information on its
#standard input
#
# If the repository name does not match any of the regular expressions
#in the first field of this file, the "DEFAULT" line is used, if it is
#specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
#
# The filter program may use one and only one "%s" modifier (ala
#printf). If such a "%s" is specified in the filter program, a brief
#title is included (as one argument, enclosed in single quotes) showing
#the relative directory name and listing the modified file names.
#
# For example:
#DEFAULT (echo ""; who am i; echo %s; date; cat) >>
$CVSROOT/CVSROOT/commitlog
ALL mail -s %s ernesto@myplace.com biguser@myplace.com
project1 mail -s %s user1@myplace.com user2@myplace.com
project2 mail -s %s user3@myplace.com user4@myplace.com
project3 mail -s %s user5@myplace.com
project4 mail -s %s user6@myplace.com user7@myplace.com
project5 mail -s %s user1@myplace.com user5@myplace.com
================ loginfo ==========================================
Can the above e done simply in SVN, if so provide an example?
>
> Good luck,
> -Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 5 20:23:35 2006