2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2004-03-02 03:46:04 +00:00
|
|
|
require_once("docutil.php");
|
2004-12-01 05:03:53 +00:00
|
|
|
page_head("Releasing application versions");
|
2004-03-02 03:46:04 +00:00
|
|
|
echo "
|
|
|
|
|
2004-05-31 18:13:01 +00:00
|
|
|
The <code>update_versions</code> script
|
2004-03-02 03:46:04 +00:00
|
|
|
releases new application versions.
|
2004-12-09 00:46:07 +00:00
|
|
|
It creates database entries and copies files to the download directory.
|
2003-09-11 22:26:42 +00:00
|
|
|
<p>
|
|
|
|
To use:
|
|
|
|
<ul>
|
2004-12-09 00:46:07 +00:00
|
|
|
<li>
|
|
|
|
If it doesn't already exit,
|
|
|
|
create an directory 'apps' under the project directory,
|
|
|
|
and add an ", htmlspecialchars("<app_dir>"),
|
2004-03-02 03:46:04 +00:00
|
|
|
" element to config.xml giving the path of the apps directory.
|
2003-09-11 22:26:42 +00:00
|
|
|
<li> Create a subdirectory for each application,
|
2004-12-09 00:46:07 +00:00
|
|
|
with the short name of the application.
|
2003-09-11 22:26:42 +00:00
|
|
|
Put new application versions here.
|
|
|
|
<code>update_versions</code>
|
2004-05-31 18:13:01 +00:00
|
|
|
scans these directories for new application versions.
|
2004-12-01 05:03:53 +00:00
|
|
|
<li> Run bin/update_versions
|
2004-05-31 18:13:01 +00:00
|
|
|
</ul>
|
2003-09-11 22:26:42 +00:00
|
|
|
<p>
|
|
|
|
|
|
|
|
File names must be of the form <code>NAME_VERSION_PLATFORM[.ext]</code>, e.g.:
|
|
|
|
<pre>
|
|
|
|
boinc_3.17_i686-pc-linux-gnu.gz
|
|
|
|
astropulse_7.17_windows_intelx86.exe
|
|
|
|
</pre>
|
2004-10-01 22:00:39 +00:00
|
|
|
<p>
|
2005-01-28 04:57:56 +00:00
|
|
|
Notes:
|
2004-10-01 22:00:39 +00:00
|
|
|
<ul>
|
2004-12-09 00:46:07 +00:00
|
|
|
<li>
|
|
|
|
<b>Platform strings must match the names of platforms in the database.</b>
|
|
|
|
If needed, <a href=tool_xadd.php>add the platform to the DB</a>.
|
|
|
|
<li>
|
|
|
|
<b>Applications must have the same major version number
|
2004-10-01 22:00:39 +00:00
|
|
|
as your BOINC server software</b>.
|
|
|
|
</ul>
|
2003-09-04 06:17:15 +00:00
|
|
|
|
2003-09-11 22:26:42 +00:00
|
|
|
<p>
|
2004-08-19 15:36:30 +00:00
|
|
|
If a file of the form
|
|
|
|
<pre>
|
2005-01-28 04:57:56 +00:00
|
|
|
FILENAME.sig
|
2004-08-19 15:36:30 +00:00
|
|
|
</pre>
|
|
|
|
is found, its contents will be used as a digital signature
|
|
|
|
for the corresponding file.
|
|
|
|
Recommended code-signing practices are described
|
|
|
|
<a href=code_signing.php>here</a>.
|
|
|
|
|
2003-09-04 06:17:15 +00:00
|
|
|
|
2004-12-09 00:46:07 +00:00
|
|
|
<p>
|
|
|
|
If a file of the form
|
|
|
|
<pre>
|
2005-01-28 04:57:56 +00:00
|
|
|
FILENAME.file_ref_info
|
2004-12-09 00:46:07 +00:00
|
|
|
</pre>
|
2005-01-28 04:57:56 +00:00
|
|
|
is found, its contents will be added to the <file_ref>
|
2004-12-09 00:46:07 +00:00
|
|
|
element describing the file
|
|
|
|
(you can use this for attributes like <copy_file>).
|
2004-09-25 00:27:25 +00:00
|
|
|
|
2004-03-02 03:46:04 +00:00
|
|
|
<h3>Multiple-file application versions</h3>
|
|
|
|
|
2004-12-01 05:03:53 +00:00
|
|
|
Application versions can consist of multiple files,
|
|
|
|
one of which is the main program.
|
|
|
|
To create a multiple-file application version,
|
|
|
|
create a directory with the same name as the main program
|
|
|
|
(of the form NAME_VERSION_PLATFORM[.ext]).
|
|
|
|
and put the files in that directory.
|
2005-01-28 04:57:56 +00:00
|
|
|
<p>
|
|
|
|
If your application includes executable files other than
|
|
|
|
the main file, make sure that their protection flags
|
|
|
|
include the user execute (u+x) bit.
|
2004-03-02 03:46:04 +00:00
|
|
|
|
|
|
|
|
2004-05-31 18:13:01 +00:00
|
|
|
<h2>Releasing core client versions</h2>
|
2004-03-02 03:46:04 +00:00
|
|
|
|
|
|
|
The same mechanism is used to release core client versions:
|
|
|
|
Create a subdirectory 'boinc' in the apps directory,
|
|
|
|
put new core client installer files there, and run update_versions.
|
|
|
|
|
|
|
|
<p>
|
2005-01-28 04:57:56 +00:00
|
|
|
<b>NOTE</b>: the files distributed in this way are installers, not executables.
|
2004-03-02 03:46:04 +00:00
|
|
|
Instructions for creating installers are
|
|
|
|
<a href=ssl_client_release_instructions.txt>here</a>.
|
|
|
|
<p>
|
|
|
|
<b>NOTE</b>: in the interests of consistency,
|
|
|
|
we recommend that BOINC projects not distribute core client versions,
|
|
|
|
but rather set the 'Download BOINC' link on their web page
|
|
|
|
to point to the download page on the main BOINC site.
|
2004-11-26 15:34:47 +00:00
|
|
|
Use this URL: <a href='http://setiweb.ssl.berkeley.edu/sah/download_boinc.php'>
|
|
|
|
http://setiweb.ssl.berkeley.edu/sah/download_boinc.php</a>
|
2003-09-04 06:17:15 +00:00
|
|
|
|
2003-09-11 22:26:42 +00:00
|
|
|
";
|
2003-09-04 06:17:15 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|
|
|
|
|