opkg

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 0 Imported by: 0

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

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL