rpm

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 rpm runs the RPM routes of the assembled server: the signing of virtual repository metadata, a remote's repodata on its -cache alias, and the async values of the YUM reindex.

Role

Test support: server-assembly suites for the RPM 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 rpm.

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:

  • rpm_test.go: virtual metadata is signed with the configured GPG key.
  • rpm_remote_cache_alias_test.go: a remote repository's cached repodata served by its -cache alias without asking the upstream (#1382), through the harness's remote world (harness.NewRemoteWorld) over the acceptance suite's upstream fixture (test/acceptance/testdata/rpm-upstream).
  • yum_reindex_async_test.go: Calculate YUM 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/rpm/http (WEB-13).

Jump to

Keyboard shortcuts

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