Project

General

Profile

DevelGit » History » Revision 13

Revision 12 (gstrauss, 2016-03-06 05:35) → Revision 13/20 (stbuehler, 2016-04-08 16:24)

h1. Git Subversion 

 h2. Browser 

 You can check the "Repository"://git.lighttpd.net/lighttpd/lighttpd1.4.git "Repository":http://redmine.lighttpd.net/projects/lighttpd/repository in your browser for logs/sources. 

 h2. Checkout 

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

 <pre> 
 $ git clone https://git.lighttpd.net/lighttpd/lighttpd1.4.git svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/ 
 </pre> 

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

 h2. Building 

 


 Ensure you have installed the latest development tools available for the following packages: 
 * - autoconf 
 * - automake 
 * - libtool 
 * - m4 
 * - pkg-config 

 Then, 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 scons 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 be working too. 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.