mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
Sync out delta rpms
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user