On Sat, Nov 04, 2017 at 08:13:57PM +0100, Patrick Uiterwijk wrote:
Hi,
Can I get +1s to update the updates sync script to sync out
Pungi-generated drpms?
Patrick
diff --git a/roles/bodhi2/backend/files/new-updates-sync
b/roles/bodhi2/backend/files/new-updates-sync
index e3439a0a0..c1c4378d5 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -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)
+1 for me
Pierre