Commit Graph

6 Commits

Author SHA1 Message Date
unkinben 35719984e6 test: generate a minimal RPM in pure Go instead of a committed fixture
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
Removes the committed .rpm binary (gitignored, so it broke clean checkouts)
and the rpmbuild dependency. testsupport.MinimalRPM builds a valid-enough
RPM header in-memory for cavaliergopher/rpm to parse, used by both the rpm
provider test and the full-stack server repodata test.
2026-07-03 14:25:30 +10:00
unkinben 1d97628fbd test: rpm serve errors, terraform rewriteDownloadURL, pypi merger, s3 stat, pattern-validation 400 2026-07-03 13:51:17 +10:00
unkinben 03a29f2c0a test: ttlFor, HEAD 500/cached-index, rpm full-metadata xml, generic content-type 2026-07-03 13:42:17 +10:00
unkinben 4ec3d7b59e test: v2 handler error paths (closed db), v1 scheme, rpm content-type/flag helpers 2026-07-03 13:29:23 +10:00
unkinben 6bcda813fd test: probe branches, local upload errors, upstream errors, rpm/gc error paths 2026-07-03 13:22:24 +10:00
unkinben b6091c859d test: cover rpm provider (metadata parse, repodata generation)
rpm 2.7% -> 83.6%, pure-go via a real RPM testdata fixture and fake
BlobReader/MetadataStore/RPMMetadataReader implementations.
2026-07-03 12:43:21 +10:00