You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Perry E. Metzger" <pe...@piermont.com> on 2004/02/20 15:54:50 UTC

config file issues...

1) Users seem to get "default" config files with a README.txt, but the
   global repository does not. Could that be changed?
2) The manual does not document the REPOSITORY/conf directory. (Can
   config files be dropped in here? It doesn't really say.)
3) The manual doesn't explain how to set up repository specific
   configuration files -- though it does vaguely mention the
   /etc/subversion directory as a global configuration location. Does
   that imply that you can't make repository-specific configurations?

-- 
Perry E. Metzger		perry@piermont.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: config file issues...

Posted by Brian Mathis <bm...@directedge.com>.
Perry E. Metzger wrote:

>The semantics of the directory. It isn't obvious that it impacts users
>on the client machine only, and not on the server.
>
>(By the way, in this era of single user workstations, that isn't
>particularly useful. A way to set defaults *on the server machine*
>would be a valuable addition in a future release, but for now, the
>text was unclear to me the first time I read it.)
>
>Perry
>  
>
I agree here.  Add my vote to allowing some sort of global configuration.

It'd be nice if we could always count on developers to set up their 
clients correctly, but then, if they were so reliable, we wouldn't need 
revision control as much!

-- 
Brian Mathis
http://directedge.com/b/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: config file issues...

Posted by "Perry E. Metzger" <pe...@piermont.com>.
Ben Collins-Sussman <su...@collab.net> writes:
>> Well, the impact of the /etc/subversion dir should probably be a bit
>> better documented (and it might be good to provide sample contents for
>> it in binary installations...)
>
> What's unclear in the book?

The semantics of the directory. It isn't obvious that it impacts users
on the client machine only, and not on the server.

(By the way, in this era of single user workstations, that isn't
particularly useful. A way to set defaults *on the server machine*
would be a valuable addition in a future release, but for now, the
text was unclear to me the first time I read it.)

Perry

> Chapter 7 has a whole section that
> documents every variable in ~/.subversion/config, and even says:
>
> "In addition to the per-user configuration area, Subversion also
> recognizes the existence of a system-wide configuration area. This
> gives system administrators the ability to establish defaults for all
> users on a given machine. Note that the system-wide configuration area
> does not alone dictate mandatory policy.the settings in the
> per-user configuration area override those in the system-wide one, and
> command-line arguments supplied to the svn  program have the final
> word on behavior. On Unix-like platforms, the system-wide
> configuration area is expected to be the /etc/subversion directory; on
> Windows machines, it again looks for a Subversion  directory inside
> the common Application Data location (again, as specified by the
> Windows Registry). Unlike the per-user case, the svn program does not
> attempt to create the system-wide configuration area."
>
>

-- 
Perry E. Metzger		perry@piermont.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: config file issues...

Posted by Greg Thomas <Gr...@TheThomasHome.co.uk>.
On Fri, 20 Feb 2004 22:13:21 -0600, Ben Collins-Sussman
<su...@collab.net> wrote:

> on Windows machines, it 
> again looks for a Subversion  directory inside the common Application 
> Data location (again, as specified by the Windows Registry)

Is this the same location as referred to by the "%CommonProgramFiles%"
environment variable, or the "Application Data" data folder in "All
Users" -  "%ALLUSERSPROFILE%\Application Data" (environment variables
hold on WinXP, if not Win2K too)? Or somewhere else?

The word 'common' in the description (to me, at least) adds a bit of
confusion between the two. It's normal "Common Program Files" or "All
Users\Application Data" - not a mixture of the two.

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: config file issues...

Posted by Ben Collins-Sussman <su...@collab.net>.
Perry E. Metzger wrote:

> Ben Collins-Sussman <su...@collab.net> writes:
> 
>>>3) The manual doesn't explain how to set up repository specific
>>>   configuration files -- though it does vaguely mention the
>>>   /etc/subversion directory as a global configuration location. Does
>>>   that imply that you can't make repository-specific configurations?
>>
>>Yes.
> 
> 
> Well, the impact of the /etc/subversion dir should probably be a bit
> better documented (and it might be good to provide sample contents for
> it in binary installations...)
> 


What's unclear in the book?  Chapter 7 has a whole section that 
documents every variable in ~/.subversion/config, and even says:

"In addition to the per-user configuration area, Subversion also 
recognizes the existence of a system-wide configuration area. This gives 
system administrators the ability to establish defaults for all users on 
a given machine. Note that the system-wide configuration area does not 
alone dictate mandatory policy—the settings in the per-user 
configuration area override those in the system-wide one, and 
command-line arguments supplied to the svn  program have the final word 
on behavior. On Unix-like platforms, the system-wide configuration area 
is expected to be the /etc/subversion directory; on Windows machines, it 
again looks for a Subversion  directory inside the common Application 
Data location (again, as specified by the Windows Registry). Unlike the 
per-user case, the svn program does not attempt to create the 
system-wide configuration area."



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: config file issues...

Posted by "Perry E. Metzger" <pe...@piermont.com>.
Ben Collins-Sussman <su...@collab.net> writes:
>> 3) The manual doesn't explain how to set up repository specific
>>    configuration files -- though it does vaguely mention the
>>    /etc/subversion directory as a global configuration location. Does
>>    that imply that you can't make repository-specific configurations?
>
> Yes.

Well, the impact of the /etc/subversion dir should probably be a bit
better documented (and it might be good to provide sample contents for
it in binary installations...)

-- 
Perry E. Metzger		perry@piermont.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: config file issues...

Posted by Ben Collins-Sussman <su...@collab.net>.
Perry E. Metzger wrote:

> 1) Users seem to get "default" config files with a README.txt, but the
>    global repository does not. Could that be changed?

There are no repository config files.  They don't exist.

> 2) The manual does not document the REPOSITORY/conf directory. (Can
>    config files be dropped in here? It doesn't really say.)

Whoops, thanks.  We'll fix that.  REPOSTITORY/conf currently only holds 
a template for svnserve authentication.  That's documented in chapter 6.

> 3) The manual doesn't explain how to set up repository specific
>    configuration files -- though it does vaguely mention the
>    /etc/subversion directory as a global configuration location. Does
>    that imply that you can't make repository-specific configurations?

Yes.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org