Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356790

Summary: configure all projects for Unix file endings
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: greensopinion, sascha.scholz
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2011-09-06 05:57:54 EDT
Configure "New text file line delimiter" to Unix for all projects hosted in Git. The background is that EGit does not always convert line endings properly from Windows to Unix on commit.
Comment 1 Steffen Pingel CLA 2011-09-13 08:30:12 EDT
I have gone ahead and done this for the Mylyn Reviews projects located under gerrit and framework. I have also converted existing files in those projects.
Comment 2 Steffen Pingel CLA 2011-11-22 10:41:06 EST
Reopening since this now affects all projects. Policy for Eclipse project: http://wiki.eclipse.org/Platform-releng/Git_Workflows#Dealing_with_line_terminators.
Comment 3 Steffen Pingel CLA 2011-11-24 08:18:33 EST
Conversion scripts:

find -type f -not -path "*.git*" | xargs -i dos2unix {}
find -name .settings | xargs -i cp /tmp/org.eclipse.core.runtime.prefs {}

I excluded the following pathes:
 
 org.eclipse.mylyn.docs
 org.eclipse.mylyn.reviews/framework/org.eclipse.mylyn.reviews.frame.core/
 org.eclipse.mylyn.reviews/r4e/
 org.eclipse.mylyn.reviews/tbr/
Comment 4 Steffen Pingel CLA 2011-11-24 08:19:42 EST
David, okay to convert the Mylyn Docs repository (would affect ~50 files)?
Comment 5 David Green CLA 2011-11-24 13:16:09 EST
(In reply to comment #4)
> David, okay to convert the Mylyn Docs repository (would affect ~50 files)?

Yes, absolutely.  This is a pain, so thanks for offering to do this.
Comment 6 Steffen Pingel CLA 2011-12-02 07:25:30 EST
Done.