Closed jsilhan closed 8 years ago
the logic should be following:
# if "updates" is in enabled repos
# disable "updates" repo
# run zsync on each file on the server hosting zsync files and relevant file in `repo.cachedir`
# (all updated xmls should be inside /var/cache/dnf/updates-*)
repo.md_only_cached = True # for "updates" repo
Please make a PR if it's ready for testing.
self.demands.cacheonly = True
)http://dnf.readthedocs.org/en/latest/use_cases.html https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/noroot.py