|
|
28e84f0445
|
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-08 20:26:38 -05:00 |
|
|
|
3cd8abc451
|
cmd/pkgserver: refer to preset in index
This enables referencing back to internal/rosa through an entry obtained via the index.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
2026-04-08 20:26:38 -05:00 |
|
|
|
edf4d0d32a
|
cmd/pkgserver: handle unversioned value
This omits the field for an unversioned artifact, and only does so once on startup.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
2026-04-08 20:26:38 -05:00 |
|
|
|
ccecaee7ca
|
cmd/pkgserver: do not omit report field
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
2026-04-08 20:26:38 -05:00 |
|
|
|
222a2aa8b4
|
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-08 20:26:38 -05:00 |
|
|
|
cb0c652b18
|
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-04-08 20:26:37 -05:00 |
|
|
|
3db5603e78
|
cmd/pkgserver: add /status endpoint
|
2026-04-08 20:26:37 -05:00 |
|
|
|
1ecdcdc243
|
cmd/pkgserver: api versioning
|
2026-04-08 20:26:37 -05:00 |
|
|
|
e425c3b769
|
cmd/pkgserver: add get endpoint
|
2026-04-08 20:26:37 -05:00 |
|
|
|
3d8b89e1ab
|
cmd/pkgserver: add count endpoint and restructure
|
2026-04-08 20:26:37 -05:00 |
|