bdbdced477
cmd/pkgserver: expose size and store pre-encoded ident
...
This change also handles SIGSEGV correctly in newStatusHandler, and makes serving status fully zero copy.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:23:29 -05:00
8a80f6dbab
cmd/pkgserver: look up status by name once
...
This has far less overhead.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:23:29 -05:00
f81527eb07
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:23:29 -05:00
0e20a7d86e
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:23:29 -05:00
d881c059b1
cmd/pkgserver: constant string in pattern
...
This resolves patterns at compile time.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:23:29 -05:00
c17b6ee190
cmd/pkgserver: satisfy handler signature in method
...
This is somewhat cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:23:29 -05:00
65a0cf068d
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:23:29 -05:00
f19b86fe94
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:23:29 -05:00
bc069cc83d
cmd/pkgserver: do not assume default mux
...
This helps with testing.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-04-18 11:23:29 -05:00
dc13407386
cmd/pkgserver: add /status endpoint
2026-04-18 11:23:29 -05:00
42a2918644
cmd/pkgserver: minimum viable frontend
2026-04-18 11:23:29 -05:00
d8e720bcc9
cmd/pkgserver: api versioning
2026-04-18 11:23:29 -05:00
459acd7dce
cmd/pkgserver: add get endpoint
2026-04-18 11:23:29 -05:00
e7c64bcd41
cmd/pkgserver: add count endpoint and restructure
2026-04-18 11:23:29 -05:00