Re: [RFC] Server Dictated Configuration

2012-02-06 Thread Paul Burba
On Wed, Feb 1, 2012 at 7:38 AM, Julian Foad julianf...@btopenworld.com wrote: Hi Paul.  Thanks for indulging my enquiries. Paul Burba wrote: Julian Foad wrote:  Overriding is done by setting a new value for the inheritable property svn:i:ignore, like this:    /subversion              

AW: [RFC] Server Dictated Configuration

2012-02-02 Thread Markus Schaber
Hi, Johan, Von: Johan Corveleyn [mailto:jcor...@gmail.com] Perhaps this issue can be deferred if the API would allow you to get / cache all the inheritable props, up to the repository root (since they are always readable anyway, regardless of authz). Not only up to the nearest path-wise

Re: [RFC] Server Dictated Configuration

2012-02-01 Thread Julian Foad
Hi Paul.  Thanks for indulging my enquiries. Paul Burba wrote: Julian Foad wrote: Overriding is done by setting a new value for the inheritable property svn:i:ignore, like this:   /subversion               svn:i:ignore = *.o *.obj *.a *.lib ...   /subversion/trunk/tests   svn:i:ignore

Re: [RFC] Server Dictated Configuration

2012-02-01 Thread Johan Corveleyn
On Wed, Feb 1, 2012 at 1:38 PM, Julian Foad julianf...@btopenworld.com wrote: Hi Paul.  Thanks for indulging my enquiries. Paul Burba wrote: Julian Foad wrote:  Overriding is done by setting a new value for the inheritable property svn:i:ignore, like this:    /subversion              

Re: [RFC] Server Dictated Configuration

2012-02-01 Thread Paul Burba
On Wed, Feb 1, 2012 at 7:38 AM, Julian Foad julianf...@btopenworld.com wrote: Hi Paul.  Thanks for indulging my enquiries. Paul Burba wrote: Julian Foad wrote:  Overriding is done by setting a new value for the inheritable property svn:i:ignore, like this:    /subversion              

Re: [RFC] Server Dictated Configuration

2012-02-01 Thread Paul Burba
On Wed, Feb 1, 2012 at 8:46 AM, Johan Corveleyn jcor...@gmail.com wrote: On Wed, Feb 1, 2012 at 1:38 PM, Julian Foad julianf...@btopenworld.com wrote: Hi Paul.  Thanks for indulging my enquiries. Paul Burba wrote: Julian Foad wrote:  Overriding is done by setting a new value for the

Re: [RFC] Server Dictated Configuration

2012-01-31 Thread Julian Foad
Paul Burba wrote: Julian Foad wrote: The ability to see the inherited value and then merge in a child-defined value (adding/subtracting/overriding semantic sub-elements within the property value) is essential if we're going to implement these features using properties with semantics like

Re: [RFC] Server Dictated Configuration

2012-01-31 Thread Paul Burba
On Tue, Jan 31, 2012 at 12:48 PM, Julian Foad julianf...@btopenworld.com wrote: Paul Burba wrote: Julian Foad wrote:  The ability to see the inherited value and then merge in a child-defined value (adding/subtracting/overriding semantic sub-elements within the property value) is essential if

Re: [RFC] Server Dictated Configuration

2012-01-30 Thread C. Michael Pilato
On 01/27/2012 04:38 PM, Paul Burba wrote: Now let's say we implement inheritable properties as I described in the wiki and want to use an inheritable property to supplement the existing mechanisms for svn:ignores/global-ignores. Isn't that as simple as this? 4) We add a new reserved

Re: [RFC] Server Dictated Configuration

2012-01-30 Thread Julian Foad
Branko Čibej wrote: On 27.01.2012 12:53, Julian Foad wrote: Branko Čibej wrote: On 27.01.2012 11:50, Julian Foad wrote:   We need to see how we'd implement a reasonable system of svn:ignores and auto-props using the proposed inheritable properties system.  The ability to see the

Re: [RFC] Server Dictated Configuration

2012-01-30 Thread Branko Čibej
On 30.01.2012 17:05, Julian Foad wrote: No. The way I read the proposed 'server-dictated config' scheme, it didn't include a way to configure different values for 'global-ignores' to apply to different directories inside the WC, only for transmitting a single value of 'global-ignores'

Re: [RFC] Server Dictated Configuration

2012-01-30 Thread Paul Burba
On Mon, Jan 30, 2012 at 11:05 AM, Julian Foad julianf...@btopenworld.com wrote: Branko Čibej wrote: On 27.01.2012 12:53, Julian Foad wrote:  Branko Čibej wrote:  On 27.01.2012 11:50, Julian Foad wrote:   We need to see how we'd implement a reasonable system of svn:ignores  and auto-props

Re: [RFC] Server Dictated Configuration

2012-01-30 Thread Julian Foad
Paul Burba wrote: Julian Foad wrote: [...] The way I read the proposed 'server-dictated config' scheme, it didn't include a way to configure different values for 'global-ignores' to apply to different directories inside the WC, [...] That is incorrect, the server dictated configuration

Re: [RFC] Server Dictated Configuration

2012-01-29 Thread Thomas Åkesson
Hi all, First of all, thanks for working on server dictated config and inherited properties. We use Subversion as the core of a Document CMS (with focus on structured XML authoring). Some of the components we develop are available as open-source: http://repossearch.com/ We would be absolutely

Re: [RFC] Server Dictated Configuration

2012-01-28 Thread Ivan Zhakov
On Mon, Jan 23, 2012 at 21:16, Paul Burba ptbu...@gmail.com wrote: On Sat, Jan 21, 2012 at 9:05 AM, Ivan Zhakov i...@visualsvn.com wrote: On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 5:02 PM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17,

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Julian Foad
Paul Burba wrote: See http://wiki.apache.org/subversion/InheritedProperties for what I'm envisioning. I've added some notes to the Wiki page. We need to see how we'd implement a reasonable system of svn:ignores and auto-props using the proposed inheritable properties system.  The ability to

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Branko Čibej
On 27.01.2012 11:50, Julian Foad wrote: Paul Burba wrote: See http://wiki.apache.org/subversion/InheritedProperties for what I'm envisioning. I've added some notes to the Wiki page. We need to see how we'd implement a reasonable system of svn:ignores and auto-props using the proposed

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Julian Foad
Branko Čibej wrote: On 27.01.2012 11:50, Julian Foad wrote: We need to see how we'd implement a reasonable system of svn:ignores and auto-props using the proposed inheritable properties system.  The ability to see the inherited value and then merge in a child-defined value

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Paul Burba
On Thu, Jan 26, 2012 at 5:22 PM, Daniel Shahaf danie...@elego.de wrote: Paul Burba wrote on Thu, Jan 26, 2012 at 16:55:48 -0500: On Tue, Jan 24, 2012 at 1:57 PM, C. Michael Pilato cmpil...@collab.net wrote: I must have blanked out through the sequence of emails that got us from let's solve

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Branko Čibej
On 27.01.2012 12:53, Julian Foad wrote: Branko Čibej wrote: On 27.01.2012 11:50, Julian Foad wrote: We need to see how we'd implement a reasonable system of svn:ignores and auto-props using the proposed inheritable properties system. The ability to see the inherited value and then

Re: [RFC] Server Dictated Configuration

2012-01-27 Thread Paul Burba
On Fri, Jan 27, 2012 at 5:50 AM, Julian Foad julianf...@btopenworld.com wrote: Paul Burba wrote: See http://wiki.apache.org/subversion/InheritedProperties for what I'm envisioning. I've added some notes to the Wiki page. We need to see how we'd implement a reasonable system of svn:ignores

Re: [RFC] Server Dictated Configuration

2012-01-26 Thread Paul Burba
On Tue, Jan 24, 2012 at 1:57 PM, C. Michael Pilato cmpil...@collab.net wrote: On 01/21/2012 09:05 AM, Ivan Zhakov wrote: On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: Yeah, I've been thinking about this.  As you say, the solution for our own inheritable properties is

Re: [RFC] Server Dictated Configuration

2012-01-26 Thread Daniel Shahaf
Paul Burba wrote on Thu, Jan 26, 2012 at 16:55:48 -0500: On Tue, Jan 24, 2012 at 1:57 PM, C. Michael Pilato cmpil...@collab.net wrote: I must have blanked out through the sequence of emails that got us from let's solve a couple of oft-reported user issues regarding auto-props and ignores

Re: [RFC] Server Dictated Configuration

2012-01-24 Thread C. Michael Pilato
On 01/21/2012 09:05 AM, Ivan Zhakov wrote: On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: Yeah, I've been thinking about this. As you say, the solution for our own inheritable properties is simple. Since Subversion already reserves properties beginning with svn: for its

Re: [RFC] Server Dictated Configuration

2012-01-24 Thread C. Michael Pilato
On 01/21/2012 09:05 AM, Ivan Zhakov wrote: On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: Yeah, I've been thinking about this. As you say, the solution for our own inheritable properties is simple. Since Subversion already reserves properties beginning with svn: for its

Re: [RFC] Server Dictated Configuration

2012-01-23 Thread Paul Burba
On Sat, Jan 21, 2012 at 9:05 AM, Ivan Zhakov i...@visualsvn.com wrote: On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 5:02 PM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:55 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan

Re: [RFC] Server Dictated Configuration

2012-01-23 Thread Paul Burba
On Sat, Jan 21, 2012 at 2:11 PM, Branko Čibej br...@apache.org wrote: On 17.01.2012 02:28, Hyrum K Wright wrote: ... and something like inheritable props my fit in that model, though I'd had to make the feature dependency tree another level deeper. Before you jump on the inheritable

Re: [RFC] Server Dictated Configuration

2012-01-21 Thread Ivan Zhakov
On Thu, Jan 19, 2012 at 03:23, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 5:02 PM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:55 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:33 AM, Johan Corveleyn jcor...@gmail.com wrote: On Tue,

Re: [RFC] Server Dictated Configuration

2012-01-21 Thread Branko Čibej
On 17.01.2012 02:28, Hyrum K Wright wrote: ... and something like inheritable props my fit in that model, though I'd had to make the feature dependency tree another level deeper. Before you jump on the inheritable properties bandwagon, consider that server-mandated configuration is not

Re: [RFC] Server Dictated Configuration

2012-01-21 Thread Branko Čibej
On 17.01.2012 20:54, Johan Corveleyn wrote: But, but ... if you're able to checkout ^/foo/bar/baz, then you already know that foo and foo/bar In the ACL world, there is a difference between lookup and read access. In your example, the user has permission to lookup ^/foo and ^/foo/bar, but not to

Re: [RFC] Server Dictated Configuration

2012-01-19 Thread Paul Burba
On Tue, Jan 17, 2012 at 11:36 AM, Paul Burba ptbu...@gmail.com wrote: On Mon, Jan 16, 2012 at 8:28 PM, Hyrum K Wright hyrum.wri...@wandisco.com wrote: On Mon, Jan 16, 2012 at 5:51 PM, Paul Burba ptbu...@gmail.com wrote: ... On Thu, Jan 5, 2012 at 4:52 PM, Hyrum K Wright

Re: [RFC] Server Dictated Configuration

2012-01-18 Thread Paul Burba
On Tue, Jan 17, 2012 at 5:02 PM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:55 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:33 AM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 12:51 AM, Paul Burba ptbu...@gmail.com wrote: [...]

Re: [RFC] Server Dictated Configuration

2012-01-17 Thread Johan Corveleyn
On Tue, Jan 17, 2012 at 12:51 AM, Paul Burba ptbu...@gmail.com wrote: [...] We could chose to make things simple and follow the svn:mergeinfo model of inheritance: a) If a path has an explicit given property then it doesn't inherit that property; the explicit value is the complete value.

Re: [RFC] Server Dictated Configuration

2012-01-17 Thread Paul Burba
On Mon, Jan 16, 2012 at 8:28 PM, Hyrum K Wright hyrum.wri...@wandisco.com wrote: On Mon, Jan 16, 2012 at 5:51 PM, Paul Burba ptbu...@gmail.com wrote: ... On Thu, Jan 5, 2012 at 4:52 PM, Hyrum K Wright hyrum.wri...@wandisco.com wrote: As I recall, there were a few reasons why inherited

Re: [RFC] Server Dictated Configuration

2012-01-17 Thread Johan Corveleyn
On Tue, Jan 17, 2012 at 5:36 PM, Paul Burba ptbu...@gmail.com wrote: On Mon, Jan 16, 2012 at 8:28 PM, Hyrum K Wright hyrum.wri...@wandisco.com wrote: [...] Another thing to note is that there have been some rumblings about authz improvements, along the lines of an additional permission to

Re: [RFC] Server Dictated Configuration

2012-01-17 Thread Johan Corveleyn
On Tue, Jan 17, 2012 at 8:55 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 8:33 AM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 12:51 AM, Paul Burba ptbu...@gmail.com wrote: [...] We could chose to make things simple and follow the svn:mergeinfo model

Re: [RFC] Server Dictated Configuration

2012-01-17 Thread Johan Corveleyn
On Tue, Jan 17, 2012 at 9:12 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 17, 2012 at 2:54 PM, Johan Corveleyn jcor...@gmail.com wrote: On Tue, Jan 17, 2012 at 5:36 PM, Paul Burba ptbu...@gmail.com wrote: On Mon, Jan 16, 2012 at 8:28 PM, Hyrum K Wright hyrum.wri...@wandisco.com wrote:

Re: [RFC] Server Dictated Configuration

2012-01-16 Thread Paul Burba
Hi All, I haven't been ignoring this thread, I've been laid low with illness the last couple of weeks... ...Anyhow, when I finally got back to this I see that a lot of folks are itching for an inheritable property solution. So for now I'll defer on the open questions re the proposal in the

Re: [RFC] Server Dictated Configuration

2012-01-06 Thread Johan Corveleyn
On Fri, Jan 6, 2012 at 8:27 AM, Ivan Zhakov i...@visualsvn.com wrote: On Fri, Jan 6, 2012 at 00:03, Mark Phippard markp...@gmail.com wrote: On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov i...@visualsvn.com wrote: On Wed, Jan 4, 2012 at 02:58, Paul Burba ptbu...@gmail.com wrote: Mike Pilato and I

Re: [RFC] Server Dictated Configuration

2012-01-06 Thread C. Michael Pilato
On 01/06/2012 07:16 AM, Johan Corveleyn wrote: Come to think of it: using properties has the nice advantage that these configurations come along when a project is branched or tagged. Which is what most users would expect, I guess. That's a great point, and echoes a problem which currently

Re: [RFC] Server Dictated Configuration

2012-01-06 Thread Daniel Shahaf
Johan Corveleyn wrote on Fri, Jan 06, 2012 at 13:16:06 +0100: Come to think of it: using properties has the nice advantage that these configurations come along when a project is branched or tagged. Which is what most users would expect, I guess. If using some other server-side configuration

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Johan Corveleyn
On Thu, Jan 5, 2012 at 1:56 AM, Daniel Shahaf danie...@elego.de wrote: Johan Corveleyn wrote on Thu, Jan 05, 2012 at 01:40:40 +0100: Another question: is the server-dictated config still extendable by the client? I.e.: if the server already defines a global svn:ignore value, can the user still

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov i...@visualsvn.com wrote: On Wed, Jan 4, 2012 at 02:58, Paul Burba ptbu...@gmail.com wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Daniel Shahaf
Ivan Zhakov wrote on Thu, Jan 05, 2012 at 23:42:49 +0400: 2. ignores We can add svn:global-ignores property to define global (recursive) ignore mask. Glossing over details. Is it a revprop? What happens if the wc root is not the branch root?

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 3:23 PM, Stefan Küng tortoise...@gmail.com wrote: The approach TortoiseSVN and some other clients take does work pretty nicely but I also think they reveal the short comings in using properties.  For convenience, TortoiseSVN does not force you to set these properties on

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Stefan Küng
On 03.01.2012 23:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Konstantin Kolinko
2012/1/6 Mark Phippard markp...@gmail.com: On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov i...@visualsvn.com wrote: http://wiki.apache.org/subversion/ServerDictatedConfiguration I think most of use-cases can be solved by existing mechanism without inventing something new: 1. auto-props

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 4:17 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: The approach TortoiseSVN and some other clients take does work pretty nicely but I also think they reveal the short comings in using properties.  For convenience, TortoiseSVN does not force you to set these

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Hyrum K Wright
On Thu, Jan 5, 2012 at 3:23 PM, Mark Phippard markp...@gmail.com wrote: On Thu, Jan 5, 2012 at 4:17 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: The approach TortoiseSVN and some other clients take does work pretty nicely but I also think they reveal the short comings in using

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Ivan Zhakov
On Fri, Jan 6, 2012 at 00:03, Mark Phippard markp...@gmail.com wrote: On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov i...@visualsvn.com wrote: On Wed, Jan 4, 2012 at 02:58, Paul Burba ptbu...@gmail.com wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Ivan Zhakov
On Fri, Jan 6, 2012 at 00:10, Daniel Shahaf d...@daniel.shahaf.name wrote: Ivan Zhakov wrote on Thu, Jan 05, 2012 at 23:42:49 +0400: 2. ignores We can add svn:global-ignores property to define global (recursive) ignore mask. Glossing over details.  Is it a revprop?  What happens if the wc

Re: [RFC] Server Dictated Configuration

2012-01-04 Thread Daniel Shahaf
Paul Burba wrote on Wed, Jan 04, 2012 at 13:30:41 -0500: On Tue, Jan 3, 2012 at 6:16 PM, Daniel Shahaf d...@daniel.shahaf.name wrote: On Tue, Jan 3, 2012, at 17:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put

Re: [RFC] Server Dictated Configuration

2012-01-04 Thread Paul Burba
On Tue, Jan 3, 2012 at 6:33 PM, Stefan Sperling s...@elego.de wrote: On Tue, Jan 03, 2012 at 05:58:16PM -0500, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was

Re: [RFC] Server Dictated Configuration

2012-01-04 Thread Johan Corveleyn
On Wed, Jan 4, 2012 at 7:30 PM, Paul Burba ptbu...@gmail.com wrote: On Tue, Jan 3, 2012 at 6:16 PM, Daniel Shahaf d...@daniel.shahaf.name wrote: On Tue, Jan 3, 2012, at 17:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and

Re: [RFC] Server Dictated Configuration

2012-01-04 Thread Daniel Shahaf
Johan Corveleyn wrote on Thu, Jan 05, 2012 at 01:40:40 +0100: Another question: is the server-dictated config still extendable by the client? I.e.: if the server already defines a global svn:ignore value, can the user still append another pattern? Or for autoprops: maybe I want to have my own

Re: [RFC] Server Dictated Configuration

2012-01-04 Thread Daniel Shahaf
Paul Burba wrote on Wed, Jan 04, 2012 at 14:44:02 -0500: On Tue, Jan 3, 2012 at 6:33 PM, Stefan Sperling s...@elego.de wrote: If the option name is valid but the option value is not, will the server still send the configuration option to the client? Will it send some default value instead

[RFC] Server Dictated Configuration

2012-01-03 Thread Paul Burba
Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in

Re: [RFC] Server Dictated Configuration

2012-01-03 Thread Daniel Shahaf
On Tue, Jan 3, 2012, at 17:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in

Re: [RFC] Server Dictated Configuration

2012-01-03 Thread Stefan Sperling
On Tue, Jan 03, 2012 at 05:58:16PM -0500, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in

Re: [RFC] Server Dictated Configuration

2012-01-03 Thread Konstantin Kolinko
2012/1/4 Paul Burba ptbu...@gmail.com: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in