Documentation
¶
Overview ¶
Package opkg runs the Opkg routes of the assembled server: the signing of a virtual feed, and the async values of the opkg reindex.
Role ¶
Test support: server-assembly suites for the Opkg ecosystem, outside the modules. They drive the production router through HTTP requests. The package is one of its own so that CI selection can run it alone; its owner in tools/citestselection/test_ownership.json is opkg.
Inputs ¶
- The production router from test/server/support/harness, through the harness's item world under the root's name (fixture_test.go, newItemWorld): the users reader, deployer and user, the deploy-libs permission and eight local, remote and virtual repositories, with the request and seed helpers of test/server/support.
Outputs ¶
Assertions only:
- opkg_test.go: a virtual feed is signed only with the configured GPG key.
- opkg_reindex_async_test.go: Calculate Opkg Repository Metadata with each async value, queued or run before it answers, or refused.
References ¶
- Decision 0032: docs/research/decisions/0032-package-format-handlers.md.
- docs/testing/opkg.md.
- Decision 0044: docs/research/decisions/0044-modular-monolith-migration.md (test/server/artifacts/<type> holds each ecosystem's server-assembly suites).
- docs/testing/server-test-ownership.md: how CI selection gives the package an owner.
- https://github.com/weaveplatform/artifactweave/issues/1068 and https://github.com/weaveplatform/artifactweave/issues/1082
Status ¶
Implemented P9c (the plan's P29 group). P9d moved the router-level tests here from the server root (TST-06), and the tests that call the protocol's unexported code moved with it to internal/artifacts/ecosystem/opkg/http (WEB-13).
Click to show internal directories.
Click to hide internal directories.