rh-lab-q / deltametadata-prototype

2 stars 5 forks source link

create DNF passive plugin which will use zsync #3

Closed jsilhan closed 8 years ago

jsilhan commented 8 years ago

http://dnf.readthedocs.org/en/latest/use_cases.html https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/noroot.py

mluscon commented 8 years ago
jsilhan commented 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
mluscon commented 8 years ago

Please make a PR if it's ready for testing.