Description of problem: Channel selection of channels to sync can be improved, for example we can add following: option to sync to all child channels of given base channel support of wildcard characters - example: I want to sync all rhel base channels so I would just enter cdn-sync -c rhel-x86_64-server-? which would lead for rhel 5, 6, 7 to sync
This module fnmatch[1] is really good for the issue. I used it in bz1404841. * matches everything ? matches any single character [seq] matches any character in seq [!seq] matches any character not in seq [1] https://docs.python.org/2/library/fnmatch.html
fixed in spacewalk master: 89fcf77d16cd02fe94d7e0fdc580aeb1f317def0
Hi, I have created similar patch for inter satellite sync (satellite-sync). https://github.com/spacewalkproject/spacewalk/pull/540
1) I want to sync all rhel base channels >> cdn-sync -c rhel-x86_64-server-? --no-package --no-errata --no-rpms --no-kickstart It works good. 2) Option to sync to all child channels of given base channel This feature is missing. Can I create new bug for it?
The new bug 1452754 for second part of this bug "option to sync to all child channels of given base channel" Verified with spacewalk-backend-cdn-2.5.3-132.el6sat.noarch