#12 WIP: Port to use DNF, createrepo_c, and python-multilib
Merged by ausil. Opened by ngompa.
ngompa/mash dnfport  into  master

Download 12.patch

This PR ports mash to use python-multilib, as well as using createrepo_c and DNF when available.

rebased

%{_bindir}/createrepo_c

At this time, there's one big problem. @tmlcoch's createrepo_c is missing the necessary flags to support mash's use of createrepo_c to generate the requisite DeltaRPMs. The expected flags are commented out right now with FIXME statements above them in set_delta() in mash/metadata.py.

2 new commits added

  • Use createrepo_c for "current", declare old createrepo as "legacy"
  • Use python-multilib instead of internal implementation

any port to use createrepo_c needs to introduce a new class, Ideally using the createrepo_c api and not execing createrepo_c command. we stull support using the MetadataOld class, it is needed to make repodata that is compatible with RHEL 4 and older, admittedly it is not often we use that code path anymore. it is a config option.

Pull-Request has been merged by ausil

I did not mean to merge that. I have backed out the merge

Metadata