You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jean-Sebastien Delfino <js...@apache.org> on 2006/10/02 06:15:25 UTC

[C++] Subversion property configuration

Hi,

A number of text files under sca/samples/ contained Windows eol Ctrl+M 
characters at the end of all lines (mostly in .composite, 
.componentType, .wsdl, .py, .php and .rb files). I fixed them and 
removed all the Ctrl+M characters.

I think that these characters are there because some of our Windows 
development environments may not use the correct Subversion 
configuration. We need to tell Subversion how to handle file types in 
the Subversion config file. Add this to $HOME/.subversion/config for 
example:

*.py = svn:eol-style=native;svn:keywords=Rev Date

This tells Subversion to use the native eol style for Python files and 
also support the Rev and Date Subversion keywords in these files.

I checked in my Subversion config file, containing the correct 
configuration for all the file types I've found under our source tree, 
in cpp/etc/svn-config. Could you guys please take a look and make sure 
your Subversion configuration includes these file types? Also if you see 
other file types that need to be handled please fill free to add them, 
this way people who come on board the project will be able to pick up 
the correct Subversion configuration from there...

Thanks!

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [C++] Subversion property configuration

Posted by Daniel Kulp <da...@kulp.com>.
On Monday October 02 2006 2:05 am, Pete Robbins wrote:
> Dan Kulp wrote a script to set the properties on all the files in a tree. I
> haven't gort around to running that yet.

I need to fix that script.   It adds svn:executable to *.bat which then screws 
up "tab" completion on unix.   Since Windows doesn't need them marked 
executable, they shouldn't be.   I run the script periodically on the CXF 
code to make sure all the CXF commits have their autoprops setup correctly.   
If the script changes anything, someone has it setup wrong.   

I probably should move the script out of tuscany/java/etc and into the apache 
general  commiters area of SVN.


Dan


>
> On 02/10/06, Luciano Resende <lu...@gmail.com> wrote:
> > I recall a discussion about this topic :
> >   http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg06338.html
> >
> > Did we ever made a template configuration available somewhere (e.g Wiki)
> > ?
> >
> > - Luciano
> >
> > On 10/1/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
> > > Hi,
> > >
> > > A number of text files under sca/samples/ contained Windows eol Ctrl+M
> > > characters at the end of all lines (mostly in .composite,
> > > .componentType, .wsdl, .py, .php and .rb files). I fixed them and
> > > removed all the Ctrl+M characters.
> > >
> > > I think that these characters are there because some of our Windows
> > > development environments may not use the correct Subversion
> > > configuration. We need to tell Subversion how to handle file types in
> > > the Subversion config file. Add this to $HOME/.subversion/config for
> > > example:
> > >
> > > *.py = svn:eol-style=native;svn:keywords=Rev Date
> > >
> > > This tells Subversion to use the native eol style for Python files and
> > > also support the Rev and Date Subversion keywords in these files.
> > >
> > > I checked in my Subversion config file, containing the correct
> > > configuration for all the file types I've found under our source tree,
> > > in cpp/etc/svn-config. Could you guys please take a look and make sure
> > > your Subversion configuration includes these file types? Also if you
> > > see other file types that need to be handled please fill free to add
> > > them, this way people who come on board the project will be able to
> > > pick up the correct Subversion configuration from there...
> > >
> > > Thanks!
> > >
> > > --
> > > Jean-Sebastien
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org

-- 
Daniel Kulp
dan@kulp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [C++] Subversion property configuration

Posted by Pete Robbins <ro...@googlemail.com>.
Dan Kulp wrote a script to set the properties on all the files in a tree. I
haven't gort around to running that yet.

On 02/10/06, Luciano Resende <lu...@gmail.com> wrote:
>
> I recall a discussion about this topic :
>   http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg06338.html
>
> Did we ever made a template configuration available somewhere (e.g Wiki) ?
>
> - Luciano
>
> On 10/1/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
> >
> > Hi,
> >
> > A number of text files under sca/samples/ contained Windows eol Ctrl+M
> > characters at the end of all lines (mostly in .composite,
> > .componentType, .wsdl, .py, .php and .rb files). I fixed them and
> > removed all the Ctrl+M characters.
> >
> > I think that these characters are there because some of our Windows
> > development environments may not use the correct Subversion
> > configuration. We need to tell Subversion how to handle file types in
> > the Subversion config file. Add this to $HOME/.subversion/config for
> > example:
> >
> > *.py = svn:eol-style=native;svn:keywords=Rev Date
> >
> > This tells Subversion to use the native eol style for Python files and
> > also support the Rev and Date Subversion keywords in these files.
> >
> > I checked in my Subversion config file, containing the correct
> > configuration for all the file types I've found under our source tree,
> > in cpp/etc/svn-config. Could you guys please take a look and make sure
> > your Subversion configuration includes these file types? Also if you see
> > other file types that need to be handled please fill free to add them,
> > this way people who come on board the project will be able to pick up
> > the correct Subversion configuration from there...
> >
> > Thanks!
> >
> > --
> > Jean-Sebastien
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
>


-- 
Pete

Re: [C++] Subversion property configuration

Posted by Geoffrey Winn <ge...@googlemail.com>.
On 06/11/06, kelvin goodson <ke...@gmail.com> wrote:
>
> To save other Windows TortoiseSVN users the hassle of working out what to
> do
> here,  it would appear that the thing  to do is to bring up the Windows
> Explorer TortoiseSVN context menu and select settings,  then on the
> general
> tab of the dialog that appears, click the edit button,  add the contents
> of
> https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/svn-props  to
> the auto-props area of the file which appears in an editor and remove the
> comment from the "enable-auto-props = yes" line.
>
> Kelvin
>


I've just done that and I noticed two small things that were a bit
confusing. I had an out of the box installation of TortoiseSVN and it
already had a non-empty [auto-props] section so my first thought was whether
I was supposed to replace or append to that section. In fact the section is
almost all disabled by comment characters, so an append is fine. I also
found that in my installation the

enable-auto-props = yes

was already uncommented.

Geoff.

Re: [C++] Subversion property configuration

Posted by kelvin goodson <ke...@gmail.com>.
To save other Windows TortoiseSVN users the hassle of working out what to do
here,  it would appear that the thing  to do is to bring up the Windows
Explorer TortoiseSVN context menu and select settings,  then on the general
tab of the dialog that appears, click the edit button,  add the contents of
https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/svn-props  to
the auto-props area of the file which appears in an editor and remove the
comment from the "enable-auto-props = yes" line.

Kelvin

On 02/10/06, Jeremy Boynes <jb...@apache.org> wrote:
>
> On Oct 1, 2006, at 10:19 PM, Luciano Resende wrote:
>
> > I recall a discussion about this topic :
> >   http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg06338.html
> >
> > Did we ever made a template configuration available somewhere (e.g
> > Wiki) ?
>
> https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/svn-props
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: [C++] Subversion property configuration

Posted by Jeremy Boynes <jb...@apache.org>.
On Oct 1, 2006, at 10:19 PM, Luciano Resende wrote:

> I recall a discussion about this topic :
>   http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg06338.html
>
> Did we ever made a template configuration available somewhere (e.g  
> Wiki) ?

https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/svn-props

--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [C++] Subversion property configuration

Posted by Luciano Resende <lu...@gmail.com>.
I recall a discussion about this topic :
   http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg06338.html

Did we ever made a template configuration available somewhere (e.g Wiki) ?

- Luciano

On 10/1/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
> Hi,
>
> A number of text files under sca/samples/ contained Windows eol Ctrl+M
> characters at the end of all lines (mostly in .composite,
> .componentType, .wsdl, .py, .php and .rb files). I fixed them and
> removed all the Ctrl+M characters.
>
> I think that these characters are there because some of our Windows
> development environments may not use the correct Subversion
> configuration. We need to tell Subversion how to handle file types in
> the Subversion config file. Add this to $HOME/.subversion/config for
> example:
>
> *.py = svn:eol-style=native;svn:keywords=Rev Date
>
> This tells Subversion to use the native eol style for Python files and
> also support the Rev and Date Subversion keywords in these files.
>
> I checked in my Subversion config file, containing the correct
> configuration for all the file types I've found under our source tree,
> in cpp/etc/svn-config. Could you guys please take a look and make sure
> your Subversion configuration includes these file types? Also if you see
> other file types that need to be handled please fill free to add them,
> this way people who come on board the project will be able to pick up
> the correct Subversion configuration from there...
>
> Thanks!
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>