[Building Sakai] inconsistent line endings

Steve Swinsburg steve.swinsburg at gmail.com
Sun Oct 11 18:02:52 PDT 2009


Hi all,

In importing modules into our mSub repo, I've come across a few files  
(in at least the site-manage project) with inconsistent line-endings.  
Because of the Sakai subversion config file I've got installed, my SVN  
client has picked this up. So this suggests that perhaps some  
committers still don't have that config file installed.

This has been discussed a number of times:
http://collab.sakaiproject.org/pipermail/sakai-dev/2009-May/001176.html

The config file that needs to be installed is here:
https://source.sakaiproject.org/svn/trunk/svn/config
We discussed adding this in as a commit hook but not sure if it was  
implemented?

For reference, they were mainly properties files that were the  
offenders:
ie:
site-manage/site-manage-tool/tool/src/bundle/ 
sitesetupgeneric_ar.properties
site-manage/site-manage-tool/tool/src/bundle/membership_ar.properties

I flipped a couple of them[1] so they'd import into our repo but this  
will need to be done in trunk. The way I discovered them was to 'svn  
export' the module then try to 'svn add' that module into a different  
repo, with the config file installed. It will die when it finds a file  
with bad line endings.


[1] My fave tool for flipping line endings on a Mac is: https://ccrma-www.stanford.edu/ 
~craig/utility/flip/) - you'll need to compile it via 'g++ -o flip  
flip.cpp'. On Linux you can use dos2unix.

cheers,
Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091012/0ea02bd8/attachment.html 


More information about the sakai-dev mailing list