| 1 | = update_app_version remodel = |
| 2 | |
| 3 | The current app version model started off simple |
| 4 | but has become a complex kludge. |
| 5 | This is a proposal for a new design. |
| 6 | |
| 7 | Directory structure: |
| 8 | {{{ |
| 9 | apps/ |
| 10 | appname1/ |
| 11 | windows_intelx86/ |
| 12 | 1.0/ |
| 13 | (files) |
| 14 | 1.1/ |
| 15 | (files) |
| 16 | 1.1_cuda/ |
| 17 | (files> |
| 18 | 1.1_opencl/ |
| 19 | (files) |
| 20 | i686-apple-darwin/ |
| 21 | 1.0/ |
| 22 | (files) |
| 23 | }}} |
| 24 | |
| 25 | The version directories have names of the form VERSION or VERSION_PLANCLASS. |
| 26 | The contents of a particular directory are: |
| 27 | |
| 28 | * application files |
| 29 | * signature files (FILENAME.sig) |
| 30 | * a "version description file", version.xml |
| 31 | |
| 32 | The structure of version.xml is: |
| 33 | |
| 34 | {{{ |
| 35 | <version> |
| 36 | <file> |
| 37 | <physical_name>PNAME</physical_name> |
| 38 | [ <logical_name>LNAME</logical_name> ] |
| 39 | [ <main_program/> ] |
| 40 | [ <copy_file/> ] |
| 41 | </file> |
| 42 | ... |
| 43 | </version> |
| 44 | }}} |