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
[reposync] Add --urls option (RhBug:1686602) #346
Conversation
Corresponding test: rpm-software-management/ci-dnf-stack#575 |
Would be great if this also printed the metadata URLs when edit: I'd expect that using the |
Also, this seems to output |
@jamescassell I added commit to not use rsync:// urls in --urls output. |
c03d986
to
8eb0e0d
Compare
☔ The latest upstream changes (presumably e26b194) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably 549e0f4) made this pull request unmergeable. Please resolve the merge conflicts. |
Do deleting of stale packages outside of download_packages() function.
This is compatibility with yum-utils version of the reposync. When the --urls switch is used, packages are not downloaded from repositories, only their URLs are printed. https://bugzilla.redhat.com/show_bug.cgi?id=1686602
Drop special handling of packages from local repositories - do the downloading using librepo as if they were remotes. The advantage is unified output of reposync regardless the location of the repository. Without this patch packages from the local repositories are just silently copied to the destination without notifying the user.
Do not print rsync:// urls when reposync is run with --urls switch.
This is compatibility with yum-utils version of the reposync.
When the --urls switch is used, packages are not downloaded from
repositories, only their URLs are printed.
https://bugzilla.redhat.com/show_bug.cgi?id=1686602