Français
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
| Nom | Description | |
|---|---|---|
| `list | add | remove |
name | facultatif | add, remove, update: the repository's name, lower-case letters, digits and dashes. |
url | facultatif | add: the https address of its index.json (no user name or password in it). |
Options
| Nom | Type | Défaut | Description |
|---|---|---|---|
--key | string | add: 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-unsigned | flag | add: accept its index without a signature; a warning is printed at every use. | |
--out | string | Défaut: <folder>/index.json | index: where to write the index. sign: where to write the signature (default <index.json>.sig). |
--archives | string | index: the https address the archives will be served from; writes them next to the index. | |
--checkouts | string | index: a folder holding, per chart of sources/, its content at the pointed commit. | |
--commit | string | index: the full commit of the repository, for the charts kept in it. | |
--previous | string | index: an earlier index whose older versions are kept. | |
--locality | string | search: local, local-first or cloud. | |
--kind | string | search: one kind of chart. | |
--tier | string | search: official, verified or community. | |
--free | flag | search: free charts only. | |
--fits | flag | search: charts that support this machine only. | |
--repo | string | search: one repository only. | |
--json | flag | Print the result as JSON. |
Codes de sortie
| Nom | Description |
|---|---|
0 | ok |
1 | problèmes trouvés |
2 | mauvais usage |
3 | pas dans cette version |
Exemples
Where charts come from
Terminal
sh
alta repo listSortie
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.pubContacte 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 communityContacte 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 briefSortie
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).