You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Elliot Metsger (JIRA)" <ji...@apache.org> on 2007/12/29 17:59:43 UTC

[jira] Created: (PLUTO-456) fix line endings on files.

fix line endings on files.
--------------------------

                 Key: PLUTO-456
                 URL: https://issues.apache.org/jira/browse/PLUTO-456
             Project: Pluto
          Issue Type: Improvement
          Components: general
    Affects Versions: 1.1.4
            Reporter: Elliot Metsger
            Assignee: Elliot Metsger
            Priority: Minor
             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge


Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.

I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 

apt
css
dtd
fml
html
inc
js
jsp
properties
tld
txt
xml
xsd


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-456) fix line endings on files.

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554932 ] 

Elliot Metsger commented on PLUTO-456:
--------------------------------------

committed on 1.1.x branch 607448

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PLUTO-456) fix line endings on files.

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliot Metsger resolved PLUTO-456.
----------------------------------

    Resolution: Fixed

committed to trunk 607450

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-456) fix line endings on files.

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554931 ] 

Elliot Metsger commented on PLUTO-456:
--------------------------------------

Used this script, first using file to make sure the extensions weren't lying.

for ext in apt css dtd fml html inc js jsp properties tld txt xml xsd java ; 
do
	for f in `find . -name "*.$ext"` ; do
		cp $f foo ; perl -np -e "s:\r\n:\n:g" < foo > $f ; 
		svn ps svn:eol-style native $f		
	done
done

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-456) fix line endings on files.

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554933 ] 

Elliot Metsger commented on PLUTO-456:
--------------------------------------

committed on 1.1-286-trunk-merge branch 607449

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-456) fix line endings on files.

Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555573#action_12555573 ] 

Craig Doremus commented on PLUTO-456:
-------------------------------------

Thanks for doing this Elliot. 

Is there any thing that needs to be done to new files added to SVN to make sure they conform to this issue? If so, is this done in the file or the SVN commit command?

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-456) fix line endings on files.

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555598#action_12555598 ] 

Elliot Metsger commented on PLUTO-456:
--------------------------------------

Yes, you need to enable auto-props in your subversion config file and make sure you have specified the filename patterns and svn:eol-style property.  It also helps to specify the mime type of the file.

Files that you 'svn add' will get these properties set on them automatically if the file matches the pattern.

E.g. in ~/.subversion/config

....

enable-auto-props = yes

[auto-props]
*.java       = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
*.properties = svn:mime-type=text/plain;svn:eol-style=native
*.xml        = svn:mime-type=text/xml;svn:eol-style=native

...

> fix line endings on files.
> --------------------------
>
>                 Key: PLUTO-456
>                 URL: https://issues.apache.org/jira/browse/PLUTO-456
>             Project: Pluto
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.1.4
>            Reporter: Elliot Metsger
>            Assignee: Elliot Metsger
>            Priority: Minor
>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>
>
> Line endings are inconsistent on the java source  files, and I suspect there are inconsistent line endings on other files as well in the pluto project.  It's annoying, and also impedes patch application.
> I plan to update the line endings on text files ending with the following extensions, and then setting the svn property 'svn:eol-style' to "native" for those files. 
> apt
> css
> dtd
> fml
> html
> inc
> js
> jsp
> properties
> tld
> txt
> xml
> xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.