2a3f6f5384
cmd/pkgserver: implement JS test DSL and runner
2026-03-15 02:02:39 +11:00
ef8663461b
cmd/pkgserver: move StreamReporter display() to Reporter interface
2026-03-15 02:02:39 +11:00
0b3be27b9a
cmd/pkgserver: add DOM reporter for JS tests
2026-03-15 02:02:39 +11:00
61a25c88ae
cmd/pkgserver: add basic CLI reporter for testing JS
2026-03-15 02:02:39 +11:00
c7e195fe64
cmd/pkgserver: remove get endpoint count field
2026-03-13 20:51:08 -05:00
d5db9add98
cmd/pkgserver: search endpoint
2026-03-13 20:51:08 -05:00
ab8abdc82b
cmd/pkgserver: pagination bugfix
2026-03-13 20:51:08 -05:00
770fd46510
cmd/pkgserver: guard sass/ts behind build tag
...
Packaging nodejs and ruby is an immense burden for the Rosa OS base system, and these files diff poorly.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
99f1c6aab4
cmd/pkgserver: add size
2026-03-13 20:51:08 -05:00
9ee629d402
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-03-13 20:51:08 -05:00
f475dde8b9
cmd/pkgserver: look up status by name once
...
This has far less overhead.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
c43a0c41b6
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-03-13 20:51:08 -05:00
55827f1a85
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-03-13 20:51:08 -05:00
721bdddfa1
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-03-13 20:51:08 -05:00
fb18e599dd
cmd/pkgserver: format get error messages
...
This improves source code readability on smaller displays.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
ec9005c794
cmd/pkgserver: constant string in pattern
...
This resolves patterns at compile time.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
c6d35b4003
cmd/pkgserver: satisfy handler signature in method
...
This is somewhat cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:51:08 -05:00
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
74c213264a
internal/rosa/git: install libexec symlinks
...
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m41s
Test / ShareFS (push) Successful in 3m42s
Test / Hakurei (push) Successful in 3m49s
Test / Sandbox (race detector) (push) Successful in 5m11s
Test / Hakurei (race detector) (push) Successful in 3m22s
Test / Flake checks (push) Successful in 1m16s
This is less clumsy to represent.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 20:43:23 +09:00
345cffddc2
cmd/mbf: optionally export output
...
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m39s
Test / Hakurei (push) Successful in 3m41s
Test / ShareFS (push) Successful in 3m41s
Test / Sandbox (race detector) (push) Successful in 5m1s
Test / Hakurei (race detector) (push) Successful in 6m6s
Test / Flake checks (push) Successful in 1m21s
This is for debugging for now, as no program consumes this format yet.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 19:53:55 +09:00
49163758c8
internal/rosa/llvm: 22.1.0 to 22.1.1
...
Test / Create distribution (push) Successful in 1m22s
Test / Sandbox (push) Successful in 3m14s
Test / Hakurei (push) Successful in 4m28s
Test / ShareFS (push) Successful in 4m37s
Test / Sandbox (race detector) (push) Successful in 5m41s
Test / Hakurei (race detector) (push) Successful in 6m52s
Test / Flake checks (push) Successful in 1m24s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 16:08:49 +09:00
ad22c15fb1
internal/rosa/perl: 5.42.0 to 5.42.1
...
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 3m19s
Test / ShareFS (push) Successful in 3m25s
Test / Sandbox (race detector) (push) Successful in 5m45s
Test / Hakurei (race detector) (push) Successful in 6m52s
Test / Hakurei (push) Successful in 4m27s
Test / Flake checks (push) Successful in 2m7s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 16:08:24 +09:00
9c774f7e0a
internal/rosa/python: setuptools 82.0.0 to 82.0.1
...
Test / Create distribution (push) Successful in 1m21s
Test / Sandbox (push) Successful in 3m6s
Test / Hakurei (push) Successful in 4m33s
Test / ShareFS (push) Successful in 4m33s
Test / Sandbox (race detector) (push) Successful in 5m55s
Test / Hakurei (race detector) (push) Successful in 7m1s
Test / Flake checks (push) Successful in 1m22s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 15:32:00 +09:00
707f0a349f
internal/rosa/gtk: glib 2.87.3 to 2.87.5
...
Test / Create distribution (push) Successful in 3m43s
Test / Sandbox (push) Successful in 6m11s
Test / Hakurei (push) Successful in 7m18s
Test / ShareFS (push) Successful in 7m18s
Test / Sandbox (race detector) (push) Successful in 8m28s
Test / Hakurei (race detector) (push) Successful in 9m33s
Test / Flake checks (push) Successful in 3m8s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 15:26:42 +09:00
7c35be066a
internal/rosa/tamago: 1.26.0 to 1.26.1
...
Test / Create distribution (push) Successful in 1m9s
Test / Sandbox (push) Successful in 2m50s
Test / Hakurei (push) Successful in 4m34s
Test / ShareFS (push) Successful in 4m50s
Test / Sandbox (race detector) (push) Successful in 5m53s
Test / Hakurei (race detector) (push) Successful in 6m58s
Test / Flake checks (push) Successful in 4m41s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 15:23:29 +09:00
f91d55fa5e
internal/rosa/curl: 8.18.0 to 8.19.0
...
Test / Create distribution (push) Successful in 1m9s
Test / Sandbox (push) Successful in 2m54s
Test / ShareFS (push) Successful in 4m48s
Test / Sandbox (race detector) (push) Successful in 43s
Test / Hakurei (push) Successful in 6m19s
Test / Hakurei (race detector) (push) Successful in 7m8s
Test / Flake checks (push) Successful in 1m24s
The test suite now depends on python to run mock servers. SMB is disabled because it is completely unused, and pulls in a python dependency for tests. A broken test is fixed and the patch hopefully upstreamed before next release.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 15:23:07 +09:00
5862cc1966
internal/rosa/kernel: firmware 20260221 to 20260309
...
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m41s
Test / ShareFS (push) Successful in 3m43s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 6m11s
Test / Flake checks (push) Successful in 1m17s
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 14:06:21 +09:00
b3f0360a05
internal/rosa: populate runtime dependencies
...
Test / Create distribution (push) Successful in 3m36s
Test / ShareFS (push) Successful in 8m53s
Test / Sandbox (race detector) (push) Successful in 9m28s
Test / Hakurei (race detector) (push) Successful in 10m25s
Test / Sandbox (push) Successful in 1m37s
Test / Hakurei (push) Successful in 2m27s
Test / Flake checks (push) Successful in 1m19s
This also removes manually resolved indirect dependencies.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 13:23:30 +09:00
8938994036
cmd/mbf: display runtime dependency info
...
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m43s
Test / Sandbox (race detector) (push) Successful in 5m6s
Test / Hakurei (race detector) (push) Successful in 6m10s
Test / Flake checks (push) Successful in 1m14s
This only presents top-level dependencies, resolving indirect dependencies can be misleading in this context.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 10:46:37 +09:00
96d382f805
cmd/mbf: resolve runtime dependencies
...
Test / Create distribution (push) Successful in 1m9s
Test / Sandbox (push) Successful in 2m55s
Test / Hakurei (push) Successful in 3m52s
Test / ShareFS (push) Successful in 3m55s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 6m12s
Test / Flake checks (push) Successful in 1m30s
This also adds the collection meta-artifact for concurrent curing.
Signed-off-by: Ophestra <cat@gensokyo.uk >
2026-03-13 10:41:22 +09:00