6401533cc2
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-03-13 20:51:08 -05:00
5d6c401beb
cmd/pkgserver: appropriately mark test helpers
...
This improves usefulness of test log messages.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
0a2d6aec14
cmd/pkgserver: do not omit report field
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
67b11335d6
cmd/pkgserver: gracefully shut down on signal
...
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
ef3bd1b60a
cmd/pkgserver: specify full addr string in flag
...
This allows greater flexibility.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
beae7c89db
cmd/pkgserver: make report argument optional
...
This allows serving metadata only without a populated report. This also removes the out-of-bounds read on args when no arguments are passed.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
ed26d1a1c2
cmd/pkgserver: embed internal/rosa metadata
...
This change also cleans up and reduces some unnecessary copies.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
faa0006d47
cmd/pkgserver: do not assume default mux
...
This helps with testing.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
796ddbc977
cmd/pkgserver: create index without report
...
This is useful for testing, where report testdata is not available.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
98ab020160
cmd/pkgserver: add sort orders, change pagination rules
2026-03-13 20:51:08 -05:00
26a346036d
cmd/pkgserver: add /status endpoint
2026-03-13 20:51:08 -05:00
4ac9c72132
cmd/pkgserver: minimum viable frontend
2026-03-13 20:51:08 -05:00
c39c07d440
cmd/pkgserver: api versioning
2026-03-13 20:51:08 -05:00
b3fa0fe271
cmd/pkgserver: add get endpoint
2026-03-13 20:51:08 -05:00
92a90582bb
cmd/pkgserver: add count endpoint and restructure
2026-03-13 20:51:08 -05:00
2e5ac56bdf
cmd/pkgserver: add status endpoint
2026-03-13 20:51:08 -05:00
75133e0234
cmd/pkgserver: add createPackageIndex
2026-03-13 20:51:08 -05:00
c120d4de4f
cmd/pkgserver: add command handler
2026-03-13 20:51:08 -05:00
d6af8edb4a
cmd/pkgserver: replace favicon
2026-03-13 20:51:08 -05:00
da25d609d5
cmd/pkgserver: pagination
2026-03-13 20:51:08 -05:00
95ceed0de0
cmd/pkgserver: basic web ui
2026-03-13 20:51:08 -05:00