Let a Core keep a token for one owner's apps on a host

coreapp login <host>/<owner> saves a token used for that owner's
repositories and images before the host's token, so apps from different
accounts on one host can use different tokens. git sends it only under
https://<host>/<owner>/; docker gets it for that pull only. Errors name
the token that was tried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:51:41 -07:00
co-authored by Claude Opus 5.5
parent c337ba2530
commit f0468c43f2
6 changed files with 114 additions and 48 deletions
+8 -1
View File
@@ -306,7 +306,14 @@ Steps:
repository and package: installed at `https://pub-test.dev.fedcom.net/`
(HTTP 200), `list` shows the source `@v0.1.0`, no docker login left
on the Core
- [ ] Tokens per host+owner, if a Core needs several accounts on one host
- Done 2026-12-03: tokens per host+owner. `coreapp login
<host>/<owner>` keeps a token for that owner's apps, used before the
host's (repository: its first path segment; image: the one after the
registry); git's header is scoped to `https://<host>/<owner>/`.
Tested on dev.fedcom.net with David's pub-test: a wrong owner token
is used first and fails with a hint naming it, another owner's
leaves the host's in use, logout, and a re-install pulled the image
with the host's token
- [ ] Superpanel would manage these tokens
- Done 2026-12-03: downgrades and digests. Installing an older release
than the installed one is refused unless `--downgrade` (coreapps