Skip to content

Switch test fixture metadata compression to gzip#30

Merged
cottsay merged 1 commit intomainfrom
cottsay/fixture-repo-compression
Jan 16, 2026
Merged

Switch test fixture metadata compression to gzip#30
cottsay merged 1 commit intomainfrom
cottsay/fixture-repo-compression

Conversation

@cottsay
Copy link
Member

@cottsay cottsay commented Jan 9, 2026

We don't actually care about what compression is used here, and in fact would prefer uncompressed metadata if it was supported. We do, however, need to use a compression algorithm which is supported on the version of createrepo_c that's distributed on our target Ubuntu platforms.

The command I used to generate the metadata is: createrepo_c --no-database --general-compress-type gz .

Also clean up a GNUPG backup file that doesn't need to be committed.

For clarity, this change only affects the package tests and won't result in any changes to the binaries we ship.

We don't actually care about what compression is used here, and in fact
would prefer uncompressed metadata if it was supported. We do, however,
need to use a compression algorithm which is supported on the version of
createrepo_c that's distributed on our target Ubuntu platforms.

Also clean up a GNUPG backup file that doesn't need to be committed.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay self-assigned this Jan 9, 2026
@cottsay cottsay added the bug Something isn't working label Jan 9, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.67%. Comparing base (1a84c85) to head (c02dc0a).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   42.67%   42.67%           
=======================================
  Files          20       20           
  Lines        2615     2615           
  Branches      532      532           
=======================================
  Hits         1116     1116           
  Misses       1244     1244           
  Partials      255      255           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't check the file hashes but assuming they're correct.

@cottsay cottsay merged commit 44c151f into main Jan 16, 2026
3 checks passed
@cottsay cottsay deleted the cottsay/fixture-repo-compression branch January 16, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants