Hide Forgot
Description of problem: cdn-sync output is not that informative as satellite-sync output, specifically see below. Version-Release number of selected component (if applicable): cdn-sync-mappings-0.0.1-1.el6sat.noarch How reproducible: always Steps to Reproduce: 1. Sync some channel with cdn-sync, compare with satellite-sync Actual results: * output is not clearly divided into sections (pkg download, import, errata..., ks...) * no ETA shown when downloading packages * when running with "--no-rpms", no indication shown that only package headers are downloaded * no progress bar for: * linking packages to channel * importing erratas * no indication on how many new errata needs to be imported * we needlessly print same repo url 3+ times * showing exact coms filename is more "verbose" or "debug" level output Expected results: Should be as informative as satellite-sync.
Ack, please, just extend existing output, do not try to re-design/re-structure the current output.
the bug is fixed in upstream. spacewalk.git: 687c90e02d9fffad7f5ed9f6facb2d9f9a9201ff Some of the issues above cannot be resolved due to difficulty in realization. For example: it cannot show a progress bar for errata importing and package linking because it uses external library call and passes all the packages/errata to it and just wait for completing.
Only points 1, 3 and 5 have been actually fixed. After talking to Gennady, I am assigning this back to him to make a few minor fixes.
cdn-sync still shows repo URL twice. There is no such bug in upstream, it was fixed in commit spacewalk.git: 5ed678edebce18b623517b5e0e03201f6781a463 We need only one line of this patch, so no need to cherry-pick the entire commit from upstream.
Verified with spacewalk-backend-2.5.3-160. * output is not clearly divided into sections (pkg download, import, errata..., ks...) => Fixed * no ETA shown when downloading packages => Hard to fix according to Gennady, would require code change -> Wontfix * when running with "--no-rpms", no indication shown that only package headers are downloaded => Fixed * no progress bar for: * linking packages to channel * importing erratas => Hard to fix according to Gennady, would require code change -> Wontfix * no indication on how many new errata needs to be imported => Fixed * we needlessly print same repo url 3+ times => Fixed * showing exact coms filename is more "verbose" or "debug" level output => We agreed with Gennady we will hide URL but displaying a filename is a good thing and we will keep it In conclusion, easy to fix items were fixed and hard to fix ones are not worth the effort -> Verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0274