8e697e70b6
cmd/pkgserver: format get error messages
...
This improves source code readability on smaller displays.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
305d700f1e
cmd/pkgserver: constant string in pattern
...
This resolves patterns at compile time.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
6973eb1224
cmd/pkgserver: satisfy handler signature in method
...
This is somewhat cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
9c3ee25906
cmd/pkgserver: log instead of write encoding error
...
This message is unlikely to be useful to the user, and output may be partially written at this point, causing the error to be even less intelligible.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
3241e4f24a
cmd/pkgserver: embed internal/rosa metadata
...
This change also cleans up and reduces some unnecessary copies.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
eab70c42bc
cmd/pkgserver: do not assume default mux
...
This helps with testing.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-05-01 19:21:37 +09:00
dd511b0a19
cmd/pkgserver: add /status endpoint
2026-05-01 19:21:37 +09:00
6f13b21403
cmd/pkgserver: minimum viable frontend
2026-05-01 19:21:37 +09:00
251d312597
cmd/pkgserver: api versioning
2026-05-01 19:21:37 +09:00
e7ace18573
cmd/pkgserver: add get endpoint
2026-05-01 19:21:37 +09:00
24a859ac2c
cmd/pkgserver: add count endpoint and restructure
2026-05-01 19:21:37 +09:00