Commit Graph
3 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 47a80fad04 Cache channel listings for search
Rolling Release / build (push) Successful in 1m46s
Rolling Release / publish (push) Successful in 9s
Search keeps each channel's list for an hour, so a repeat needs no
network, and uses the old copy with a warning if the registry fails.
`--refresh` skips the cache; publish, index, login and logout drop it.

A test command no longer writes to stdout, where it could corrupt the
test runner's results.

Planning: bnbr1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 05:04:06 -08:00
nandiandClaude Opus 5.5 2026319f61 Read anonymously when a saved login is rejected
Rolling Release / build (push) Successful in 1m38s
Rolling Release / publish (push) Successful in 8s
A stale login made every read fail, and search blamed the registry for
it. Reads now warn and retry without the login; publishing never does.
A refused or missing package after the fallback reports the rejected
login, so a private package can't be replaced from a lower channel.

Search shows the real error, and the README no longer says Gitea lacks
the catalog API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:35:29 -08:00
nandi 0919ce105c Replace oras with native OCI registry client and add login
- Talk to OCI Distribution v2 registries directly over HTTP/TLS; oras is no longer required on PATH
- Add `orbit login <host>` and `orbit logout <host>`; credentials go to $ORBIT_ROOT/auth.json (mode 0600)
- Fall back to Docker config (credHelpers and credsStore) when no Orbit credentials exist
- Verify layer downloads with streaming SHA-256
- Fall back to the next channel only on HTTP 404 instead of matching oras error text
- Update README and moon.mod to drop oras references
2026-11-27 15:46:41 -08:00