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

get compression_type from repository when publishing #3614

Closed philfry closed 2 weeks ago

philfry commented 2 weeks ago

Is your feature request related to a problem? Please describe. 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.

Describe the solution you'd like If compression_type is not passed for example via the rest api, it should fallback to what the repository specifies.

Describe alternatives you've considered Passing the compression_type with each publish call.

Additional context