Skip to content

alta repo ​

Where this machine installs charts from: its folders and the repositories you add; update fetches their indexes (the only network use, with pull).

Usage ​

text
alta repo list | add <name> <url> [--key <file>] [--insecure-unsigned] | remove <name> | update [<name>] | index <folder> [--out <file>] [--archives <url>] [--checkouts <dir>] [--commit <sha>] [--previous <file>] | sign <index.json> --key <private key file> [--out <file>] | search [<words>] [--json]

Arguments ​

NameDescription
`listaddremove
nameoptionaladd, remove, update: the repository's name, lower-case letters, digits and dashes.
urloptionaladd: the https address of its index.json (no user name or password in it).

Options ​

NameTypeDefaultDescription
--keystringadd: a file holding the repository's Ed25519 public key; every index is checked against it. sign: the file of the private key (or ALTA_SIGNING_KEY_FILE), readable by its owner only.
--insecure-unsignedflagadd: accept its index without a signature; a warning is printed at every use.
--outstringDefault: <folder>/index.jsonindex: where to write the index. sign: where to write the signature (default <index.json>.sig).
--archivesstringindex: the https address the archives will be served from; writes them next to the index.
--checkoutsstringindex: a folder holding, per chart of sources/, its content at the pointed commit.
--commitstringindex: the full commit of the repository, for the charts kept in it.
--previousstringindex: an earlier index whose older versions are kept.
--localitystringsearch: local, local-first or cloud.
--kindstringsearch: one kind of chart.
--tierstringsearch: official, verified or community.
--freeflagsearch: free charts only.
--fitsflagsearch: charts that support this machine only.
--repostringsearch: one repository only.
--jsonflagPrint the result as JSON.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

Where charts come from

Terminal
sh
alta repo list
Output
text
modules         12 charts  this repository: modules/
agents           1 charts  this repository: agents/
engine           1 charts  this repository: engine/

Add a repository, with its public key

Terminal
sh
alta repo add community https://charts.example.org/index.json --key community.pub

Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.

Fetch its index

Terminal
sh
alta repo update community

Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.

Find a chart

Terminal
sh
alta repo search brief
Output
text
CHART                    VERSION    KIND        LOCALITY        REPO           SUMMARY
briefing                 0.2.0      module      cloud           modules        Morning and bedtime A5 briefs and the morning podcast, delivered to the tablet, annotations watched.
people-digest            0.1.0      module      local           modules        Daily private people digest from read-only WhatsApp history and an optional social cache, for the brief.
sunrise                  0.1.0      module      local           modules        Sunrise and sunset for the next wake-up at the owner's current place (bedtime brief, wake-up planning).

See also ​

Alta OS is open source (MIT).