Changes between Version 10 and Version 11 of UpdateVersions


Ignore:
Timestamp:
Mar 13, 2008, 10:41:32 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UpdateVersions

    v10 v11  
    99== Single-file application versions == #singlefile
    1010
    11 File names must be of the form `NAME_VERSION_PLATFORM[.ext]`, e.g.:
     11File names must be of the form `NAME_VERSION_PLATFORM[_PLAN-CLASS][.ext]`, e.g.:
    1212{{{
    13 boinc_3.17_i686-pc-linux-gnu
    1413astropulse_7.17_windows_intelx86.exe
    1514}}}
    16 
     15 * NAME is ignored; typically it is the app name.  It may not containt underscores.
    1716 * VERSION is a string of the form N.M, where N and M are integers with M<100.  This is converted to the single integer N*100 + M, which is used to specify application versions elsewhere in BOINC. M may have a leading zero, which is ignored.
    1817 * PLATFORM is the name of a platform in the database (if needed, [XaddTool add the platform to the DB]).
     18 * PLAN-CLASS is an optional [AppPlan plan class] for the app version.
    1919
    20 The files on the example above would be on these paths:
     20The file in the example above would have the path
    2121{{{
    22 apps/boinc/boinc_3.17_i686-pc-linux-gnu
    2322apps/astropulse/astropulse_7.17_windows_intelx86.exe
    2423}}}
     
    2625== Multiple-file application versions == #multifile
    2726
    28 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.
     27Application 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[_PLAN-CLASS][.ext]`) and put the files in that directory.
    2928
    3029If your application includes executable files other than the main file, make sure that their protection flags include the user execute (u+x) bit (`update_versions` will then set the `<executable/>` flag on its [XmlFormat#file_info <file_info>]).
     
    6160(i.e., the application will be able to access the file
    6261by passing the logical name to [BasicApi#Resolvingfilenames boinc_resolve_filename()]).
    63 
    64 == Passing extra information about the app version ==
    65 
    66 If a file named '''plan_class''' is found, its contents will be used
    67 as the application's [AppPlan planning class].