directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Rodriguez <enriqu...@gmail.com>
Subject Re: [Fwd: svn commit: r408142 - in /directory/sandbox/erodriguez: configuration/ kerberos-sam/ preferences/ useradmin/]
Date Tue, 23 May 2006 15:52:23 GMT
Alex Karasulu wrote:
> Enrique,
> 
> Please start sharing with others what you are doing here.  I've asked 
> you several times to start sharing your direction publicly with the dev 
> list.  We have to start including the community in some of your ideas so 
> all can have a say in the direction of ApacheDS.

Hi,

I happened to run a 'mvn eclipse:eclipse' in these modules and I noticed 
that a basic set of svn:ignore's was not applied.  So, on rev 408142 I 
added what I thought were fairly standard svn:ignores.  IIRC, the 'mvn 
eclipse:eclipse' was creating a .settings directory, which not ignored. 
  I think I have only ever run a 'mvn install' here so I'm not surprised 
that not all svn ignores that I typically apply these days were applied.

"svn:ignore" is probably the most commonly used svn property, so I 
didn't think there was any harm in applying it without asking the list. 
  I like svn:ignore because it filters unversioned files and directories 
out of status, add, and import commands and prevents the repo from being 
cluttered with unnecessary commits.  And we haven't typically committed 
the .setting directory on this project so I thought this was a safe 
move.  Since SVN can't possibly guess the names of every resource that 
should be ignored I think it is understandable that we have to set these 
properties on every project folder that requires them.

Running down the list of svn:ignores I applied you'll see a number of 
properties related to Eclipse and others to IntelliJ.  Some of the 
others come from Maven and the OSGi world.  Since we may use 1 or all of 
these tools, I decided it was a safe bet to apply ALL of these ignores, 
since I can't possibly tell which properties will be most useful to 
people.  WDYT?

There is also an svn "global-ignores" setting that can be applied as a 
runtime configuration option to filter unversioned files and directories 
out of certain svn commands.  But, in thinking over the use of 
global-ignores we run into the problem where we have to ensure that each 
and every client is configured to use the same set of global-ignores. 
IMHO, the easiest and safest way to ensure a consistent set of svn 
ignore properties, applied EQUALLY to all modules, is to apply them 
individually as "svn:ignore" properties, so I don't recommend the 
global-ignores.

I have to run to work but I have some more thoughts on this.  I'll 
provide a more comprehensive plan later today.

Enrique

> ------------------------------------------------------------------------
> 
> Subject:
> svn commit: r408142 - in /directory/sandbox/erodriguez: configuration/ 
> kerberos-sam/ preferences/ useradmin/
> From:
> erodriguez@apache.org
> Date:
> Sun, 21 May 2006 06:43:40 -0000
> To:
> commits@directory.apache.org
> 
> To:
> commits@directory.apache.org
> 
> 
> Author: erodriguez
> Date: Sat May 20 23:43:40 2006
> New Revision: 408142
> 
> URL: http://svn.apache.org/viewvc?rev=408142&view=rev
> Log:
> Updated SVN ignores.
> 
> Modified:
>     directory/sandbox/erodriguez/configuration/   (props changed)
>     directory/sandbox/erodriguez/kerberos-sam/   (props changed)
>     directory/sandbox/erodriguez/preferences/   (props changed)
>     directory/sandbox/erodriguez/useradmin/   (props changed)
> 
> Propchange: directory/sandbox/erodriguez/configuration/
> ------------------------------------------------------------------------------
> --- svn:ignore (original)
> +++ svn:ignore Sat May 20 23:43:40 2006
> @@ -4,3 +4,13 @@
>  classes
>  .classpath
>  .project
> +.settings
> +.wtpmodules
> +.deployables
> +*.iml
> +*.ipr
> +*.iws
> +*.log
> +lib
> +bundle
> +dist
> 
> Propchange: directory/sandbox/erodriguez/kerberos-sam/
> ------------------------------------------------------------------------------
> --- svn:ignore (added)
> +++ svn:ignore Sat May 20 23:43:40 2006
> @@ -0,0 +1,16 @@
> +bin
> +build
> +target
> +classes
> +.classpath
> +.project
> +.settings
> +.wtpmodules
> +.deployables
> +*.iml
> +*.ipr
> +*.iws
> +*.log
> +lib
> +bundle
> +dist
> 
> Propchange: directory/sandbox/erodriguez/preferences/
> ------------------------------------------------------------------------------
> --- svn:ignore (original)
> +++ svn:ignore Sat May 20 23:43:40 2006
> @@ -5,3 +5,12 @@
>  .classpath
>  .project
>  .wtpmodules
> +.settings
> +.deployables
> +*.iml
> +*.ipr
> +*.iws
> +*.log
> +lib
> +bundle
> +dist
> 
> Propchange: directory/sandbox/erodriguez/useradmin/
> ------------------------------------------------------------------------------
> --- svn:ignore (original)
> +++ svn:ignore Sat May 20 23:43:40 2006
> @@ -5,3 +5,12 @@
>  .classpath
>  .project
>  .wtpmodules
> +.settings
> +.deployables
> +*.iml
> +*.ipr
> +*.iws
> +*.log
> +lib
> +bundle
> +dist
> 
> 
> 


Mime
View raw message