| Version 6 (modified by , 15 years ago) (diff) |
|---|
update_versions remodel
The current app version model has become a complex kludge. This is a proposal for a new design.
Directory structure:
apps/
appname1/
1.0/
windows_intelx86/
(files)
windows_intelx86__cuda/
(files)
i686-apple-darwin/
(files)
... other platforms
1.1/
... other versions
appname2/
... other apps
The version directories have names of the form PLATFORM or PLATFORM_PLANCLASS. The contents of a particular directory are:
- application files
- signature files (FILENAME.sig)
- a "version description file", version.xml
The structure of version.xml is:
<version>
<file>
<physical_name>PNAME</physical_name>
[ <logical_name>LNAME</logical_name> ]
[ <main_program/> ]
[ <copy_file/> ]
</file>
...
</version>
You only need to list files that have a main_program or copy_file attribute, or whose logical name is different from its physical name.
If the application has only one file (the main program), you don't need a version.xml file.
