appstore.ini
Copy the settings you change into settings/override/appstore.ini.append.php.
[AppStore]
| Setting | Meaning |
|---|---|
Mode | dynamic: the pages read the sources and the site. static: the offline snapshot of share/snapshot/ (written by appstore.php snapshot), no network. (mode)/static or (mode)/dynamic in an address overrides it for one page. |
Pages[] | the pages appstore/view/<page> accepts |
PerPage | apps per page of a search or a category |
[Cache]
| Setting | Meaning |
|---|---|
Directory | where the answers are kept; empty: <cache directory>/appstore, which "Clear all" and ezcache.php --clear-id=appstore empty |
TTL[search], TTL[vendor], TTL[package], TTL[releases] | seconds an answer is used before it is asked again. When a source does not answer, the older answer is shown, marked |
Timeout | seconds one request to a source may take |
RequestFetch | what a page request may fetch itself: missing (the default: only an answer never fetched, such as a new search; an expired one is shown and the timer renews it), never, always. A page never waits for an answer that is cached |
[Sources], [SourceTypes], [Source_<id>]
SourceList[] lists the sources in order; each has a [Source_<id>] block whose Type= picks the class of
[SourceTypes] Types[<type>]. See SOURCES.md.
[Source_<id>] setting | Meaning |
|---|---|
Type | packagist or composer (or a type of your own) |
Name | shown on the pages |
URL | the source's address (https only) |
RepoURL | packagist: the Composer v2 metadata server (https://repo.packagist.org) |
Vendors[] | the vendors whose packages make the catalogue, first one first |
Types[] | the package types the catalogue lists (empty: every type) |
TokenSecret | composer: the name of a secret (Setup > Secrets) sent as a bearer token |
[GitHub]
API (default https://api.github.com) and TokenSecret, the name of a secret holding a GitHub token (more than
60 requests an hour, private repositories). Never a token itself.
[Featured], [Categories]
[Featured] Apps[]: the banners of Discover. [Categories] List[<id>]=<label>, Keywords[<id>]=<word;word> (an
app goes to the category whose words match its name, keywords and description best) and TypeCategory[<type>]=<id>
for the rest.
[Curated]
Hand-written entries of the site, such as an extension directory of content objects (exponential.earth's
/extensions): Enabled=enabled, the root (RootNodeID or RootRemoteID), ClassIdentifier and
Attributes[<role>]=<attribute> for the roles package, brief, intro, version, status, compatible, url, image, icon
and screenshots. An entry is found by its package name and shown on the app's page above the sources' data (the
curated description, screenshots, version, compatibility, link and its directory category, the parent folder) and on
Discover by category. The entries are read with the visibility ignored, so the directory can be hidden once the store
shows it; an entry without a package name is listed as "not yet packaged". Off by default.
The entries are read once and kept in <var>/appstore/curated.json until something below the root changes (its
modified_subnode), the settings change, or CacheTTL seconds pass (3600); the refresh builds them again. An app's
page fetches only its own hand-written text.
[Install]
| Setting | Meaning |
|---|---|
Enabled | enabled (default) or disabled: the store is browsed but nothing is installed from the administration; every install button and run shows DisabledNote (for a site whose other nodes an install cannot reach yet) |
DisabledNote | the text shown instead of the install buttons when Enabled=disabled |
DefaultMethod | composer or git |
Methods[] | the methods the admin may choose |
LocalChanges | refuse (stop) or stash (git stash first); the form can choose per run |
AllNodes | enabled: every host of settings/cluster.ini; disabled: this installation only |
Deploy | enabled: exp:velocity deploy on each node after its step (autoloads, caches, PHP-FPM, Velocity; --no-velocity on an Engine=fpm host, plus the host's DeployOptions[]) |
DeployOptions[] | more options for that deploy |
LocalEngine | fpm or velocity, for the one local node of a site without cluster.ini |
Runner | auto (the default: the command line runs it directly; the admin within the request when every node is this machine and needs no other user, else as a job of expqueue), expqueue or sync (see INSTALLING_APPS.md) |
KeepRuns | how many runs the history keeps |
KeySecret[<host>] | the name of a secret with the SSH key or HTTPS token for private repositories on that host |