Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6280B95A2 for ; Thu, 5 Jan 2012 21:17:55 +0000 (UTC) Received: (qmail 90694 invoked by uid 500); 5 Jan 2012 21:17:55 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 90578 invoked by uid 500); 5 Jan 2012 21:17:54 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 90527 invoked by uid 99); 5 Jan 2012 21:17:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 21:17:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knst.kolinko@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 21:17:48 +0000 Received: by vbbfq11 with SMTP id fq11so1271791vbb.16 for ; Thu, 05 Jan 2012 13:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=mzLHd4EvgJLCRPdbuyaTxOYQ8/04Wp03ZBpxorlmiG4=; b=UZWl9lTpXiIBDdbdWf9YJHn+4jUFQXWm31M+ghfH4E7FsNwX2MMssVLyHwZ0WvK9Pu mJm4FBF8MxvGReIxGNtwu3y/dsu97Zrpkcrf7yo4GmiZIpy/Ymgiq/Gh/qNnEDRHEg2+ u5XB7c0ori9hedi0Q9LEYGKeDdOjYfVpvwnLk= MIME-Version: 1.0 Received: by 10.52.240.144 with SMTP id wa16mr1775801vdc.33.1325798247212; Thu, 05 Jan 2012 13:17:27 -0800 (PST) Received: by 10.52.93.243 with HTTP; Thu, 5 Jan 2012 13:17:27 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2012 01:17:27 +0400 Message-ID: Subject: Re: [RFC] Server Dictated Configuration From: Konstantin Kolinko To: Mark Phippard Cc: Ivan Zhakov , Paul Burba , Subversion Development Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2012/1/6 Mark Phippard : > On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov 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 >> TortoiseSVN already has 'tsvn:auto-props' property [1]. Which used to >> automatically set properties for added files. It would be nice if >> Subversion core support this property. >> >> 2. ignores >> We can add svn:global-ignores property to define global (recursive) igno= re mask. > > The approach TortoiseSVN and some other clients take does work pretty > nicely but I also think they reveal the short comings in using > properties. =A0For convenience, TortoiseSVN does not force you to set > these properties on every folder and instead will walk to the root of > your WC to find them, but then this also exposes the problem that if > you did not checkout the folder that has those properties you are back > to square one. As I wrote in this very thread two days ago [1], this shortcoming could be solved if the properties for the parent folders were present in the WC. Now that wc has a database it could store those properties. [1] http://markmail.org/message/np5bfcomaci5u3c5 > =A0That is why I believe it makes sense for SVN to > support it natively using an approach something like described in the > wiki. =A0Or at least weigh that approach versus using properties within > the repository. =A0Perhaps properties are the way to add the deferred > feature of supporting overrides based on path? > I like TortoiseSVN way because a) it is already known for several years and it works b) it leverages existing support for path-based security, for svnsync and dump formats. If this approach is rejected one could at least mention that it was considered and write down why it was rejected. Best regards, Konstantin Kolinko