ApplicationId
1689
Comment:
|
1813
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
|| || filesystem || store || apparmor || deb^1^^,^^2^ || intersection || | || || filesystem || store || apparmor^1^ || deb^2^^,^^3^ || intersection || |
Line 19: | Line 19: |
0. [[https://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement/Manifest#Security_keys|security manifest definition]] | |
Line 25: | Line 26: |
* 'APP_ID' and '`${id}`' (from click documentation) are synomymous with 'ApplicationId' | * 'APP_ID' and '`${id}`' (from click documentation) are synomymous with '!ApplicationId' |
The Application ID is the string "$(click_package)_$(application)_$(version)" (without the quotes and with the obvious substitutions made).
This ID is used for identifying the application throughtout the system:
- Click
- Mir
- HUD
- Content Hub
- Download manager
- etc
The following restrictions to the components apply, from various parts of the system:
|
filesystem |
store |
apparmor1 |
deb2,3 |
intersection |
click_package |
[^\0/]+ |
[a-zA-Z0-9.-]+ |
[a-zA-Z0-9+.:]+ |
[a-z0-9][a-z0-9+.-]+ |
[a-z0-9][a-z0-9.-]+ |
application |
[^\0/]+ |
|
[a-zA-Z0-9+.:~-]+ |
[a-zA-Z0-9+.-]+ |
[a-zA-Z0-9+.:~-]+ |
version |
[^\0/]+ |
[0-9.]+ |
[a-zA-Z0-9+.:~-]+ |
[0-9][a-zA-Z0-9.+:~-]* |
[0-9][0-9.]* |
Additionally, version should be structured more or less as you would expect, and be strictly monotonically increasing (new versions should always be greater than old versions).
Alternate nomenclatures:
'APP_ID' and '${id}' (from click documentation) are synomymous with 'ApplicationId'
- 'click package name' ("name" in the click manifest) and 'APP_PKGNAME' are synonymous with $(click_package)
- 'application name' and 'appname' are synonymous with $(application)
- 'APP_VERSION' is synonymous with $(version)
AppStore/Interfaces/ApplicationId (last edited 2016-06-10 18:13:43 by localhost)