Aller au contenu
En Markdown

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

Les descriptions et les sorties sont en anglais, comme la CLI.

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 ​

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

Options ​

NomTypeDéfautDescription
--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.
--outstringDéfaut: <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.

Codes de sortie ​

NomDescription
0ok
1problèmes trouvés
2mauvais usage
3pas dans cette version

Exemples ​

Where charts come from

Terminal
sh
alta repo list
Sortie
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

Contacte l'adresse du dépôt (les seules commandes qui utilisent le réseau) : affiche ce qu'elle a récupéré et vérifié.

Fetch its index

Terminal
sh
alta repo update community

Contacte l'adresse du dépôt (les seules commandes qui utilisent le réseau) : affiche ce qu'elle a récupéré et vérifié.

Find a chart

Terminal
sh
alta repo search brief
Sortie
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).

Voir aussi ​

Alta OS est libre (MIT).