Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

appstore.ini

Copy the settings you change into settings/override/appstore.ini.append.php.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/ext/exp_app_store/CONFIGURATION.md

On this page

appstore.ini

Copy the settings you change into settings/override/appstore.ini.append.php.

[AppStore]

SettingMeaning
Modedynamic: 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
PerPageapps per page of a search or a category

[Cache]

SettingMeaning
Directorywhere 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
Timeoutseconds one request to a source may take
RequestFetchwhat 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>] settingMeaning
Typepackagist or composer (or a type of your own)
Nameshown on the pages
URLthe source's address (https only)
RepoURLpackagist: 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)
TokenSecretcomposer: 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] 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]

SettingMeaning
Enabledenabled (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)
DisabledNotethe text shown instead of the install buttons when Enabled=disabled
DefaultMethodcomposer or git
Methods[]the methods the admin may choose
LocalChangesrefuse (stop) or stash (git stash first); the form can choose per run
AllNodesenabled: every host of settings/cluster.ini; disabled: this installation only
Deployenabled: 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
LocalEnginefpm or velocity, for the one local node of a site without cluster.ini
Runnerauto (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)
KeepRunshow 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

Something wrong on this page? Report an error

Documentation license

This page is part of the documentation of the extension exp_app_store and is distributed under the license of that extension.