Changes between Version 1 and Version 2 of SourceCodeGit
- Timestamp:
- Jul 18, 2012, 2:27:10 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SourceCodeGit
v1 v2 1 1 = Getting source code = 2 2 3 The BOINC source code is stored in a Gitrepository.3 The BOINC source code is stored in a [http://www.git-scm.com Git] repository. 4 4 Various versions of the code are available at any given point: 5 5 6 6 '''Development''' 7 7 8 The SVN trunkcontains the latest source code for all components of BOINC.8 The '''master''' branch contains the latest source code for all components of BOINC. 9 9 It is always under development, and has not necessarily been thoroughly tested. 10 10 Use it if you need a recently-added feature. … … 28 28 * There is no formal testing process for server software. 29 29 Every so often, when no bugs have been reported recently, 30 we copy trunk to server_stable.30 we merge the '''master''' branch into '''server_stable'''. 31 31 * Because of limited resources, bug fixes to server software are normally 32 NOT back-ported from trunk to server_stable.32 NOT back-ported from '''master''' to '''server_stable'''. 33 33 34 For these reasons: '''t runkis typically a better choice34 For these reasons: '''the master branch is typically a better choice 35 35 than server_stable for server software'''. 36 36 37 37 == Using Git == 38 38 39 On Unix, use the the following commands to clone the repository: 39 === Installation === 40 41 * On Windows, get a Git client like [SourceCodeGit/Windows Git for Windows (console) and TortoiseGit (GUI)]. 42 * On Linux git is usually provided by all modern distributions. Check your package manager and look for "git" or "git-core" 43 * On Mac OS X you want to use [http://www.macports.org MacPorts] (to keep git up to date, recommended) or a manual [http://code.google.com/p/git-osx-installer installation package]. 44 * Recommended free GUIs: [http://www.sourcetreeapp.com SourceTree], [http://gitx.laullon.com GitX] ([https://github.com/laullon/gitx latest]) 45 46 === Cloning (checkout code) === 47 48 In a shell/terminal, use the the following commands to clone the repository: 40 49 {{{ 41 50 git clone git://isaac.ssl.berkeley.edu/boinc.git 42 51 }}} 43 52 44 On Windows, get a Git client like [SourceCodeGit/Windows Git on Windows]. 53 On Windows, using !TortoiseGit: 54 45 55 Right-click on the parent directory, select 'Git Clone...', 46 56 and fill in the dialog with one of the above URLs. There is no need to add 'git clone' in front of it. 57 58 === Windows build dependencies === 47 59 48 60 All the additional dependency files are now stored in [source:build-depends-vs2005 build-depends-vs2005], get them using {{{git clone git://isaac.ssl.berkeley.edu/build-depends-vs2005.git}}}. … … 70 82 == Browsing source code via the web == 71 83 72 You can browse the boinc code via [/browser a web-based interface] .84 You can browse the boinc code via [/browser a web-based interface] ([http://boinc.berkeley.edu/git alternative]). 73 85 This is useful for getting individual files, or seeing the revision history. 74 86