Project

General

Profile

DevelGit » History » Revision 9

Revision 8 (stbuehler, 2008-10-12 12:16) → Revision 9/20 (stbuehler, 2012-08-11 10:42)

h1. Subversion 

 h2. Browser 

 You can check the "Repository":http://redmine.lighttpd.net/repositories/show/lighttpd in your browser for logs/sources. 

 h2. Checkout 

 The stable 1.4.x release series is in /branches/lighttpd-1.4.x: 

 <pre> 
 $ svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/ 
 </pre> 

 Currently we use /trunk for the current development code that will become version 1.5.0 

 <pre> 
 $ svn checkout svn://svn.lighttpd.net/lighttpd/trunk/  
 </pre> 

 If you're developer the checkout command is: 
 <pre> 
 $ svn checkout svn+ssh://svn@svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/ 
 </pre> 

 or 
 <pre> 
 $ svn checkout svn+ssh://svn@svn.lighttpd.net/lighttpd/trunk/ 
 </pre> 

 h2. Building 

 You need to execute @./autogen.sh@ before you can use @./configure@ and friends. 

 trunk has support for cmake too. 

 h2. Config 

 If you are developing on lighty and want to commit to the subversion tree, you need some properties set to make sure that you have the right EOL style. 

 On win32 you set the config in 

 <pre> 
 c:\> notepad %APPDATA%\Subversion\config 
 </pre> 

 on Unix in  

 <pre> 
 $ vi ~/.subversion/config 
 </pre> 


 The configfile should already exist and should contain several examples. You only have to 
 remove the #-sign from the beginning of the line and set these options: 

 <pre> 
 [miscellany] 
 enable-auto-props=yes 

 [auto-props] 
 *.c = svn:eol-style=native 
 *.h = svn:eol-style=native 
 </pre> 


 This will make sure that everyone gets the right line-endings on all platforms and (more important) 
 everyone can commit with his local EOL-style without breaking the line-endings for other users.