[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

pre patch, input wanted automatic NNTP group

From: Jon Bendtsen <jbendtsen_at_laerdal.dk>
Date: Wed, 29 Apr 2009 13:55:17 +0200

Hi guys

I would like some input before i start coding. I have 2 options that i
am looking at coding.
They are written like that because i have written the
mailer.conf.example first.
input is wanted.

# group pre and postfix is a text string which is pre or appended
# to the group usually derived from the auto_to_group feature.
# group_prefix = svn
# group_postfix = .svn
# the pre and/or postfix may or may not include a .
# there is no check that tests if the pre/postfix is a valid NNTP
groupname
# so a wrong pre/postfix may lead to crashes

# Automatically detect the group to post to based on name+branch/trunk
# the branchname field is also removed.
# Tags are totally ignored and the result if the path contains /tags/
# is at the time of writting this undefined and unknown.
#
# the auto_to_group configoption has only 3 valid definitions, see
# below, any other input will be treated as if the value is undefined.
# Only one of them can be defined at any given time, specifying more
# is undefined and the result is unknown. There is no default value.
#
# configoption path group
# auto_to_group = aspath /name/trunk name.trunk
# auto_to_group = aspath /trunk/name trunk.name
# auto_to_group = reverse /name/trunk trunk.name
# auto_to_group = reverse /trunk/name name.trunk
# auto_to_group = single /trunk/name name
# auto_to_group = single /name/trunk name
#
# aspath means that the group order will be just as the path
#
# reverse means that the order is reverse from the path
#
# single means that special words like trunk, branches and tags +
# branchname/number and tagname/number are removed from the path
# and only the first non special pathfield is used as the name.
#
# lets see some more examples with branches:
#
# auto_to_group = aspath
# ----------------------
# path group
# /name/branches/branchname name.branchname
# /branches/branchname/name branchname.name
#
# auto_to_group = reverse
# -----------------------
# path group
# /name/branches/branchname branchname.name
# /branches/branchname/name name.branchname
#
# auto_to_group = single
# ----------------------
# path group
# /name/branches/branchname name
# /branches/branchname/name name
#
# auto_to_group works by detecting the 3 special words, trunk,
branches and tags
# in position /field1/ or /.*/field2/
# if the word branches or tags is detected, then the script knows that
the next
# field is the branchname/tagname and ignores it.
#
# auto_to_group = aspath

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1978715
Received on 2009-04-29 13:56:02 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.