Adding Application Versions
From Unofficial BOINC Wiki
Contents |
[edit] General
The update_versions script releases new Application Versions. It creates database entries and copies files to the Download Directory.
To use:
- If it doesn't already exist, create an directory 'apps' under the project directory, and add an <app_dir> element to config.xml giving the path of the apps directory.
- Create a subdirectory for each application, with the short name of the application. Put new application files here (see below). update_versions scans these directories for new Application Versions.
- From the project's root directory, run bin/update_versions
[edit] Single-File Application Versions
For Single-File Application Versions, the Application File Names must be of the form NAME_VERSION_PLATFORM[.ext], e.g.:
boinc_3.17_i686-pc-linux-gnu.gz astropulse_7.17_windows_intelx86.exe
Notes:
- Platform strings must match the Platform Names stored in the BOINC Database. If needed, use the XADD Tool to add the platform to the BOINC Database.
- Applications must have the same Major Version Number as your BOINC Server Software.
If a file of the form
FILENAME.sig
is found, its contents will be used as a Digital Signature for the corresponding file. Use the Recommended Code-Signing Practices when you create a new Application or Application Version.
If a file of the form
FILENAME.file_ref_info
is found, its contents will be added to the <file_ref> element describing the file (you can use this for attributes like <copy_file>).
[edit] Multiple-File Application Versions
For Multiple-File Application Versions, the 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.
If your Application includes executable files other than the main file, make sure that their protection flags include the user execute (u+x) bit.
[edit] UCB Source
[edit] Copyright ©
- 2005 University of California
- 2005 Paul D. Buck
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.

