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

Re: [SURVEY] for repository administrators

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-04-16 08:35:12 CEST

On Tue, Apr 15, 2003 at 09:03:52PM -0700, Brian Denny wrote:
>...
> you know, why don't we install a sample layout in PREFIX/share,
> and tell users to import it into each new repository and/or new
> project?

Heh. That is exactly the intent. See the machinery in configure.in to set up
the "templatedir" variable. Basically:

    PREFIX/share/subversion/VERSION/templates/in-repos/TEMPLATE-NAME/

(whew!)

A person can specify just a TEMPLATE-NAME, or a path.

> of course, they could do this even if we don't install a sample
> layout, but if the point is to encourage them to adopt a sane
> convention, providing one for them might do the trick. and of
> course, they can customize it to their heart's content if they are
> so inclined.

That is the intent of the feature. An administrator can augment the set of
templates by adding them to .../templates/in-repos/ or .../on-disk/. From
then on, a user can just refer to them by name [rather than path].

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 16 08:35:37 2003

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