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

Re: config file location

From: Listman <listman_at_burble.net>
Date: Wed, 13 Feb 2008 17:04:56 -0800

On Feb 13, 2008, at 11:51 AM- Feb 13, 2008, Ryan Schmidt wrote:

>
> On Feb 13, 2008, at 12:15, Listman wrote:
>
>> On Feb 13, 2008, at 12:39 AM- Feb 13, 2008, Ryan Schmidt wrote:
>>
>>> On Feb 12, 2008, at 18:39, Listman wrote:
>>>
>>>> On Feb 12, 2008, at 11:48 AM- Feb 12, 2008, Ryan Schmidt wrote:
>>>>
>>>>> On Feb 12, 2008, at 11:15, Paul Koning wrote:
>>>>>
>>>>>> listman writes:
>>>>>>
>>>>>>> maybe not like that one.. i don't need the config
>>>>>>> information to live in the repos, just some place in the
>>>>>>> filesystem accessible to all with perhaps an environment
>>>>>>> variable that tells svn where to look?
>>>>>>>
>>>>>>> setenv SVN_CONFIG /tools/svn/config
>>>>>>>
>>>>>>> where config is the usual config file that lives in
>>>>>>> ~/.subversion/config
>>>>>>
>>>>>> ln -s /tools/svn/config ~/.subversion/config
>>>>>>
>>>>>> seems like it would do the job. An environment variable would
>>>>>> admittedly be a little easier to set up, but either one can be
>>>>>> materialized via a systemwide login script.
>>>>>
>>>>> Or you could use a shell alias or function, mapping "svn" to
>>>>> "svn --config-dir /tools/svn/config".
>>>>>
>>>>> Or you could move "svn" to "svn.real" and write a new script
>>>>> "svn" which calls svn.real and adds the --config-dir argument:
>>>>>
>>>>> #!/bin/bash
>>>>> svn.real --config-dir /tools/svn/config "$@"
>>>>
>>>> the only issue is that subversion places the "Auth" dir inside
>>>> this config dir. if we have our users point to one central
>>>> location to get the subversion file i guess we going to run into
>>>> problems with the Auth subdir?
>>>
>>> That could be a concern. Strike my recommendation and go with
>>> Paul's.
>>
>> pauls suggestion will mean all users create their Auth dirs in the
>> site location, which isn't what we want at all..
>
> No, Paul's suggestion is that users have their .subversion
> directories in their home directories, as usual, with all their
> usual contents, except that they delete the "config" file and
> instead create a symlink to a centrally-located config file. ln -s /
> tools/svn/config ~/.subversion/config
>
>
>> rather than having a --config-dir setting i think we need a --
>> config-file setting which determines the location of the
>> ~/.subversion/config file specifically, not the location of the
>> entire directory.
>

ah, ok. i misread his email.

thx for the help!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-14 02:05:27 CET

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

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