Changes between Version 12 and Version 13 of SourceCodeSvn


Ignore:
Timestamp:
Oct 6, 2008, 4:51:02 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SourceCodeSvn

    v12 v13  
    11= Getting source code =
    22
    3 The source code is accessible as follows:
     3The BOINC source code is stored in a Subversion (SVN) repository.
     4Various versions of the code are available at any given point:
     5
     6'''Development'''
     7
     8The SVN trunk contains the latest source code for all components of BOINC.
     9It is actively being developed, and may contain bugs.
     10Use it if you need a recently-added feature.
     11
     12'''Client software'''
     13
     14The client software (core client and manager) is maintained as follows:
     15
     16 * The code for each release is 'tagged'.  For example, the code for version 6.3.14 is tagged with '''boinc_core_release_6_3_14'''.
     17 * A 'branch' is created for each released minor version.  For example, the branch '''boinc_core_release_6_2''' is the code for the latest release of version 6.2.
     18
     19'''Server software'''
     20
     21For all software other than the client (i.e., server, web, and API) the latest "stable" version
     22is kept in a branch, '''server_stable'''.
     23
     24'''NOTE: don't use the server software in a client tag/branch; it probably isn't stable.'''
     25
     26== Using Subversion ==
     27
     28On Unix, use the the following commands to check out the trunk, a tag, or a branch:
    429{{{
    530svn co http://boinc.berkeley.edu/svn/trunk/boinc
     31svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_3_14
     32svn co http://boinc.berkeley.edu/svn/branches/boinc_core_release_6_2
    633}}}
    734
    8 On Windows, get a SVN client like [http://tortoisesvn.net/ TortoiseSVN]. Right-click on the parent directory, select 'SVN checkout', and fill in the dialog with the above URL. You can also download [http://subversion.tigris.org/project_packages.html#windows svn command-line program for Windows].
     35On Windows, get a SVN client like [http://tortoisesvn.net/ TortoiseSVN].
     36Right-click on the parent directory, select 'SVN checkout',
     37and fill in the dialog with one of the above URLs.
     38You can also download [http://subversion.tigris.org/project_packages.html#windows svn command-line program for Windows].
    939
    10 Note: some HTTP proxies may cause problems with the SVN protocol. If you have trouble checking out the code, try using https instead of http.
    11 
    12 == SVN tags and branches ==
    13 
    14 We maintain tags and branches for the client software (core client and manager) in the {{{boinc}}} module. Tags contain the source code for a certain version of the client, just as it was used for an official release. Branches contain the latest source code (maybe being developed) for a major version (like "5.8" or "6.1").
    15 
    16 For building the client, you should probably use the tag for the latest version. If you use trunk, you will get code that hasn't been tested enough (or is known ''not'' to work).
    17 
    18 For other parts of the software (e.g., server and API), use the current version (trunk). If you use a tag for the server, you wouldn't get "server version X", since there aren't versioned releases for the server. Instead, you would get "whatever server code was on the repository when client X was released", which could be a very old version.
    19 
    20 To check out a branch (for example, {{{boinc_core_release_5_10}}}) use the following:
    21 {{{
    22 svn co http://boinc.berkeley.edu/svn/branches/boinc_core_release_5_10
    23 }}}
    24 Checking out tags is quite similar:
    25 {{{
    26 svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_10_39
    27 }}}
     40Note: some HTTP proxies may cause problems with the SVN protocol.
     41If you have trouble checking out the code, try using https instead of http.
    2842
    2943== Browsing source code via the web ==