+1 fix it
On 4 November 2017 at 15:13, Patrick Uiterwijk <puiterwijk(a)redhat.com> 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)
return collect_stats(results)
_______________________________________________
infrastructure mailing list -- infrastructure(a)lists.fedoraproject.org
To unsubscribe send an email to infrastructure-leave(a)lists.fedoraproject.org
--
Stephen J Smoogen.