A couple of fixes for reposync support. One option being passed was not present on RHEL5, but wasn't really needed. The other was using the wrong logic for an option.
remove --norepopath option so reposync is compatible with RHEL5
fix logic on reposync-newest-only option
For debugging purposes, I suggest the dryrun flag passed on the reposync section to effectively run the reposync command (with the "--urls" option, already present), rather than printing the raw command that would be executed.
@tranky: you mean always run reposync like in
- ret = run("%s %s -t -c '%s' -r %s -p '%s'" % \
- (cf.cmd['reposync'], opts, reposync_conf_file, reponame, path))
+ ret = run("%s %s -t -c '%s' -r %s -p '%s'" % \
+ (cf.cmd['reposync'], opts, reposync_conf_file, reponame, path),
Can this be tested and added to the pull request please?
@zyv: exactly as I meant, tested and verified.
Merge pull request #28 from parsonsa/reposync_fixes