Sync out delta rpms

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-11-05 08:17:27 +01:00
parent 647c08a47e
commit ce99ffc7d9

View file

@ -205,6 +205,8 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
os.path.join(dest_path)))
results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
os.path.join(dest_path)))
if arch != 'source':
results.append(rsync(os.path.join(source_path, 'debug', 'tree', 'Packages'),
os.path.join(dest_path, 'debug')))
@ -220,6 +222,9 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
os.path.join(dest_path),
delete=True))
results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
os.path.join(dest_path)),
delete=True)
return collect_stats(results)