pulp / pulp_rpm

RPM support for Pulp Platform
https://docs.pulpproject.org/pulp_rpm/
GNU General Public License v2.0
47 stars 123 forks source link

[PR #3615/5b9abffd backport][3.26] suggestion: get compression_type from repository if not specified #3618

Closed patchback[bot] closed 2 weeks ago

patchback[bot] commented 2 weeks ago

This is a backport of PR #3615 as merged into main (5b9abffddc0f9b428d738712cf8ebfa153cef4bc).

When publishing manually (i.e. without auto_publish) the compression_type must either be passed or defaults to "None", falling back to gz. It was kind of confusing to me that even though I had a compression_type specified in the repository, my repo metadata was compressed with gz.

This PR takes the compression_type from the repository if not passed otherwise.

fixes #3614