8483d8a005
cmd/pkgserver: look up status by name once
...
This has far less overhead.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
33c461aa67
cmd/pkgserver: determine disposition route in mux
...
This removes duplicate checks and uses the more sound check in mux.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
dee0204fc0
cmd/pkgserver: format get error messages
...
This improves source code readability on smaller displays.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
2f916ed0c0
cmd/pkgserver: constant string in pattern
...
This resolves patterns at compile time.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
55ce3a2f90
cmd/pkgserver: satisfy handler signature in method
...
This is somewhat cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
3f6a07ef59
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-04-18 11:30:56 -05:00
13cf99ced4
cmd/pkgserver: embed internal/rosa metadata
...
This change also cleans up and reduces some unnecessary copies.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
6bfb258fd0
cmd/pkgserver: do not assume default mux
...
This helps with testing.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:30:56 -05:00
40a906c6c2
cmd/pkgserver: add /status endpoint
2026-04-18 11:30:56 -05:00
06894e2104
cmd/pkgserver: minimum viable frontend
2026-04-18 11:30:56 -05:00
56f0392b86
cmd/pkgserver: api versioning
2026-04-18 11:30:56 -05:00
e2315f6c1a
cmd/pkgserver: add get endpoint
2026-04-18 11:30:56 -05:00
e4aee49eb0
cmd/pkgserver: add count endpoint and restructure
2026-04-18 11:30:56 -05:00