-
ui: add deb and github_deb usage instructions (#113)
ci/woodpecker/tag/docker Pipeline was successfulreleased this
2026-08-11 23:54:34 +10:00 Why
The
debandgithub_debrepository types had no tailored "How do I use this?" snippets in the UI — they fell through to the generic default (curl-a-file-by-path), which does not tell a user how to actually wire the repo into apt. This adds real, end-to-end-validated apt instructions mirroring how the existing package types (rpm, npm, etc.) are handled.How
- Adds a
case 'deb':tobuildSnippetsthat branches onisLocal: a flat real apt repo served at/api/v1/local/<name>/ ./with[trusted=yes]plus a publish-a-.deb snippet for locals, and a caching-proxydeb <proxy> <suite> <component>form (upstream-signed, no[trusted=yes]) for remotes. - Adds a
case 'github_deb':emitting the metadata-only flat formdeb [trusted=yes] <proxy>/ ./, whose index is synthesized from a GitHub repo's release .deb assets. - Reuses the existing
url/proxy/isLocalhelpers and matches the surrounding case style; leaves the rpm and other cases untouched.
Reviewed-on: #113
Co-authored-by: unkin-agent unkin-agent@unkin.net
Co-committed-by: unkin-agent unkin-agent@unkin.netDownloads
- Adds a