-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] support xz compressed comps.xml #103
Comments
I think Nonetheless you can do: xml_content = lzma.open("./comps.xml.xz").read()
ret = comps.fromxml_str(xml_content.decode()) |
I also think that createrepo_c should have the same default for all types of metadata types. |
Oh, yes, bodhi tests create repo with The above suggested solution |
This is one of the changes in
Yes, that is a problem. |
It is not sufficient to check the return value after the function output is used. We should check it right after to avoid a Segmentation fault. For: rpm-software-management#103
I made a PR to fix the crash: #104 |
It is not sufficient to check the return value after the function output is used. We need check it sooner to avoid a Segmentation fault. For: rpm-software-management#103
It is not sufficient to check the return value after the function output is used. We need check it sooner to avoid a Segmentation fault. For: #103
I've tested the above patch and now the test that previously crashed completes well. |
Note that this isn't a fully new issue. Libcomps isn't very robust to invalid inputs in general #47 |
I have created another PR to patch some of the holes: #106 |
It seems createrepo_c version 1.x defaults to XZ compress comps.xml also.
I tried to use something like:
Is there a clever way to make this work?
fedora-infra/bodhi#5455
The text was updated successfully, but these errors were encountered: