3 | | = Getting BOINC source code = |
| 3 | = BOINC source code = |
| 4 | |
| 5 | == Browsing source code on the web == |
| 6 | |
| 7 | You can browse the boinc code via [/browser a web-based interface] |
| 8 | ([http://boinc.berkeley.edu/git alternative]). |
| 9 | This is useful for getting individual files, or seeing the revision history. |
| 10 | |
| 11 | == Getting a copy of the BOINC source == |
| 12 | |
| 13 | The BOINC source code is stored in a [http://www.git-scm.com Git] repository. |
| 14 | To get the source code on Unix: |
| 15 | {{{ |
| 16 | git clone git://boinc.berkeley.edu/boinc.git |
| 17 | or |
| 18 | git clone http://boinc.berkeley.edu/git/boinc.git |
| 19 | }}} |
| 20 | |
| 21 | This will give you a copy that you can modify locally, |
| 22 | but not push changes to the BOINC repository. |
| 23 | For write access, see below. |
| 24 | |
| 25 | On Windows, you'll need a Git client such as !TortoiseGit (see below). |
| 26 | Right-click on the parent directory, select 'Git Clone...', |
| 27 | and fill in the dialog with one of the above URLs, |
| 28 | with no 'git clone' in front of it. |
71 | | == Getting a copy of the BOINC source == |
72 | | |
73 | | This will give you a copy that you'll be able to modify locally, |
74 | | but not push changes to the BOINC repository. |
75 | | For write access, see the next section. |
76 | | |
77 | | On Linux, use the the following commands to clone the repository: |
78 | | {{{ |
79 | | git clone git://boinc.berkeley.edu/boinc.git |
80 | | or |
81 | | git clone http://boinc.berkeley.edu/git/boinc.git |
82 | | }}} |
83 | | |
84 | | On Windows, using !TortoiseGit: |
85 | | |
86 | | Right-click on the parent directory, select 'Git Clone...', |
87 | | and fill in the dialog with one of the above URLs, |
88 | | with no 'git clone' in front of it. |