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.
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