|
|
@@ -10,11 +10,11 @@ fetch from a repository host.
|
|
|
|
|
|
| Endpoint | Purpose |
|
|
|
|---|---|
|
|
|
-| `GET /` | Overview: every repository (name, summary, package count, total size), per-repo add-repository instructions, the global install-USM block, and a combined package table with repo badges + server-side search across all repositories |
|
|
|
+| `GET /` | Overview: every repository (name, summary, package count, total size), per-repo add-repository instructions (`sudo usm add-repo <repo.usmr URL>`), the global install-USM block, and a combined package table with repo badges + server-side search across all repositories |
|
|
|
| `GET /repo/{name}` | Single-repo browse: that repository's overview card, instructions and package table, search scoped to it |
|
|
|
| `GET /repo/{name}/package/{file}` | Package detail: manifest fields read out of the `.usmc` (licences, flags, provides/depends tables), sha512, on-disk size/mtime, download button |
|
|
|
| `GET /repo/{name}/PACKAGES.usml` | That repository's listing streamed **verbatim** (`application/json`) |
|
|
|
-| `GET /repo/{name}/repo.usmr` | A rewritten copy of the `.usmr` with its embedded `url` replaced by the derived base + `repo/{name}/` |
|
|
|
+| `GET /repo/{name}/repo.usmr` | A rewritten copy of the `.usmr` with its embedded `url` replaced by the derived base + `repo/{name}/` — the URL `sudo usm add-repo` consumes |
|
|
|
| `GET /repo/{name}/{file}.usmc` | Package archives streamed from that repository's `public/` (`application/octet-stream`, exact content-length) |
|
|
|
| `GET /install-usm.sh` | The configured installer script (`installer.path` mode only), served by the root-level catch-all |
|
|
|
|