ApplicationId

Differences between revisions 3 and 4
Revision 3 as of 2013-07-17 21:31:12
Size: 270
Editor: 173-165-137-65-utah
Comment: Link
Revision 4 as of 2013-08-14 19:47:03
Size: 1033
Editor: 173-165-137-65-utah
Comment: Included restrictions on format.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The Application ID is the string "$(click package)_$(application)_$(version)" (without the quotes and with the obvious substitutions made). The Application ID is the string "$(click_package)_$(application)_$(version)" (without the quotes and with the obvious substitutions made).
Line 9: Line 9:

The following restrictions to the components apply, from various parts of the system:

|| || filesystem || store || apparmor || deb || 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+.:~-]+ ||
|| 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).

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:

The following restrictions to the components apply, from various parts of the system:

filesystem

store

apparmor

deb

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+.:~-]+

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).

AppStore/Interfaces/ApplicationId (last edited 2016-06-10 18:13:43 by localhost)