Description of problem: When using createrepo_c to create repodata that is xz-compressed, it goes ahead and creates gz compressed XML metadata anyway. If I am creating SQLite data too, that data is compressed the way I want it to be, but the XML data is not. Version-Release number of selected component (if applicable): createrepo_c-0.9.0-3.fc22 How reproducible: Always Steps to Reproduce: 1. Create a folder with some RPMs 2. Run one of the following: * createrepo_c --no-database --compress-type=xz <path/to/folder> * createrepo_c --database --compress-type=xz <path/to/folder> * createrepo_c --no-database --xz <path/to/folder> * createrepo_c --database --xz <path/to/folder> Actual results: The repodata subfolder contains gz-compressed XML data. Expected results: The repodata subfolder contains xz-compressed XML data. Additional info: N/A
Hi Neal, this is because of compatibility with createrepo. I don't like it either, but createrepo does exactly the same thing and because createrepo_c is supposed to be drop-in replacement and thus preserve such illogical behaviour. Maybe I could add some kind of new command line option or something. Feel free to open an RFE with ideal of how you would like to see this behave.