2005-02-12 01:26:46 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
|
|
|
page_head("Getting source code");
|
|
|
|
echo "
|
|
|
|
|
2007-04-17 17:12:44 +00:00
|
|
|
<h2>SVN modules</h2>
|
2006-04-14 17:55:02 +00:00
|
|
|
|
2007-04-17 17:12:44 +00:00
|
|
|
The BOINC source code consists of two directories:
|
2006-04-14 17:55:02 +00:00
|
|
|
<ul>
|
|
|
|
<li><b>boinc</b> contains the source code for all parts of BOINC itself
|
|
|
|
(client, server, web, database).
|
2006-11-08 22:40:03 +00:00
|
|
|
<li><b>boinc_samples</b> contains
|
|
|
|
<a href=example.php>several example applications</a>
|
2006-04-14 17:55:02 +00:00
|
|
|
together with Windows and Mac project files and a Linux makefile
|
2006-11-08 22:40:03 +00:00
|
|
|
for building the applications.
|
2006-11-21 18:41:27 +00:00
|
|
|
It also includes Windows versions of some libraries (GLUT, jpeglib, etc.)
|
2006-04-14 17:55:02 +00:00
|
|
|
that many applications will need, but which are not part of BOINC.
|
2006-11-08 22:40:03 +00:00
|
|
|
Check out this module in the same parent directory as <b>boinc</b>.
|
2006-04-14 17:55:02 +00:00
|
|
|
</ul>
|
2006-11-21 18:41:27 +00:00
|
|
|
The modules are accessible as follows:
|
2006-11-08 22:40:03 +00:00
|
|
|
<pre>
|
2007-04-17 17:12:44 +00:00
|
|
|
svn co http://boinc.berkeley.edu/svn/trunk/boinc
|
|
|
|
svn co http://boinc.berkeley.edu/svn/trunk/boinc_samples
|
2006-11-08 22:40:03 +00:00
|
|
|
</pre>
|
2007-04-17 17:12:44 +00:00
|
|
|
On Windows, get a SVN client like Tortoise SVN.
|
|
|
|
Right-click on the parent directory,
|
|
|
|
select 'SVN checkout', and fill in the dialog with the above URL.
|
2006-11-08 22:40:03 +00:00
|
|
|
<p>
|
|
|
|
<h2>Browsing source code via the web</h2>
|
|
|
|
<p>
|
2007-04-17 17:12:44 +00:00
|
|
|
You can browse the boinc or boinc_samples code via
|
|
|
|
<a href=http://boinc.berkeley.edu/trac/>a web-based interface</a>.
|
2006-11-08 22:40:03 +00:00
|
|
|
This is useful for getting individual files, or seeing the revision history.
|
|
|
|
|
|
|
|
<h2>Source code road map</h2>
|
|
|
|
<p>
|
|
|
|
The BOINC source tree includes the following directories:
|
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item("api",
|
|
|
|
"The BOINC API (for applications)"
|
|
|
|
);
|
|
|
|
list_item("apps",
|
|
|
|
"Some test applications."
|
|
|
|
);
|
|
|
|
list_item("client",
|
|
|
|
"The BOINC core client."
|
|
|
|
);
|
|
|
|
list_item("clientgui",
|
|
|
|
"The BOINC Manager."
|
|
|
|
);
|
|
|
|
list_item("db",
|
|
|
|
"The database schema and C++ interface layer."
|
|
|
|
);
|
|
|
|
list_item("doc",
|
|
|
|
"BOINC documentation (PHP web pages)."
|
|
|
|
);
|
|
|
|
list_item("html/ops",
|
|
|
|
"PHP files for the operational web interface."
|
|
|
|
);
|
|
|
|
list_item("html/user",
|
|
|
|
"PHP files for the participant web interface."
|
|
|
|
);
|
|
|
|
list_item("html/inc",
|
|
|
|
"PHP include files."
|
|
|
|
);
|
|
|
|
list_item("html/languages",
|
|
|
|
"Translation files."
|
|
|
|
);
|
|
|
|
list_item("lib",
|
|
|
|
"Code that is shared by more than one component
|
|
|
|
(core client, scheduling server, etc.)."
|
|
|
|
);
|
|
|
|
list_item("py",
|
|
|
|
"Python modules used by tools."
|
|
|
|
);
|
|
|
|
list_item("sched",
|
|
|
|
"The scheduling server, feeder, and file upload handler."
|
|
|
|
);
|
|
|
|
list_item("test",
|
|
|
|
"Test scripts."
|
|
|
|
);
|
|
|
|
list_item("tools",
|
|
|
|
"Operational utility programs."
|
|
|
|
);
|
|
|
|
list_item("zip",
|
|
|
|
"Compression functions; not used by BOINC,
|
|
|
|
but may be useful for applications."
|
|
|
|
);
|
|
|
|
list_end();
|
2005-12-21 21:46:22 +00:00
|
|
|
|
2006-11-08 22:40:03 +00:00
|
|
|
echo "
|
2007-04-17 17:12:44 +00:00
|
|
|
<h2>SVN tags</h2>
|
2005-02-12 01:26:46 +00:00
|
|
|
<p>
|
2006-11-04 00:11:46 +00:00
|
|
|
<b>We maintain tags for the client software (core client and manager)
|
|
|
|
in the boinc module.
|
|
|
|
For other parts of the software (e.g., server and API),
|
|
|
|
use the current version.
|
|
|
|
</b>
|
2005-10-02 18:23:38 +00:00
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
stable
|
|
|
|
<dd>
|
2006-11-04 00:11:46 +00:00
|
|
|
The latest publicly-released version of the client software,
|
2005-10-02 18:23:38 +00:00
|
|
|
generally well-tested.
|
2006-11-04 00:11:46 +00:00
|
|
|
<b>DO NOT USE THE STABLE VERSION OF SERVER AND API SOFTWARE.
|
2007-02-06 18:35:55 +00:00
|
|
|
IF YOU DO, IT MAY BE FAR OUT OF DATE.
|
2006-11-04 00:11:46 +00:00
|
|
|
USE THE CURRENT VERSION INSTEAD.</b>
|
2005-10-02 18:23:38 +00:00
|
|
|
<dt>
|
|
|
|
staging
|
|
|
|
<dd>
|
2006-11-04 00:11:46 +00:00
|
|
|
The version currently being alpha-tested (so at least it compiles).
|
2005-10-02 18:23:38 +00:00
|
|
|
<dt>
|
|
|
|
boinc_core_release_x_y_z
|
|
|
|
<dd>
|
|
|
|
The source code for version x.y.z.
|
|
|
|
</dl>
|
2007-04-18 20:49:58 +00:00
|
|
|
To check out a branch (for example, boinc_core_release_5_8a)
|
|
|
|
use the following URL:
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
http://boinc.berkeley.edu/svn/branches/boinc_core_release_5_8/boinc
|
|
|
|
</pre>
|
|
|
|
|
2006-07-05 21:38:08 +00:00
|
|
|
|
2005-02-12 01:26:46 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|