Remote
A PRoot Apps remote: where its metadata is served and the registry its apps are tags of.
Attributes
attributekeystrThe remote as records and listings name it: owner/repo in lower case, or the
base URL and the registry one space apart.
attributemetadatastrURL of the metadata/ directory, holding metadata.yml and img/.
attributeregistrystrImage prefix the apps are tags of, ghcr.io/owner/repo.
attributemetadata_urlstrReturn the URL of the metadata file.
attributedefaultboolWhether short names belong to this remote: it is proot_apps_remote, whose registry default_repo names.
Functions
constructor__init__(key, metadata, registry) -> NoneparamkeystrparammetadatastrparamregistrystrReturns
Nonefuncparse(remote) -> RemoteRead a remote from a GitHub owner/repo, or a base URL and a registry separated by a space.
paramremotestrReturns
app.prootapps.Remotefuncicon_url(icon) -> strReturn the URL of an icon the metadata names.
paramiconstrReturns
strfuncimage(name) -> strReturn the image reference of an app.
paramnamestrReturns
str