FBR: Sync out drpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux