FBR: Fix debuginfo repodata

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

 



Hi,

Turns out my bodhi new-updates-sync script has a silly bug, ending the
debug repodata in
http://dl.fedoraproject.org/pub/fedora/linux/updates/26/x86_64/debug/repodata/repodata/.
Can I get +1s for the following patch, which will fix that?

Thanks,
Patrick


diff --git a/roles/bodhi2/backend/files/new-updates-sync
b/roles/bodhi2/backend/files/new-updates-sync
index b7ff2c8..e3439a0 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -209,7 +209,7 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
         results.append(rsync(os.path.join(source_path, 'debug',
'tree', 'Packages'),
                              os.path.join(dest_path, 'debug')))
         results.append(rsync(os.path.join(source_path, 'debug',
'tree', 'repodata'),
-                             os.path.join(dest_path, 'debug', 'repodata'),
+                             os.path.join(dest_path, 'debug'),
                              delete=True))
         results.append(rsync(os.path.join(source_path, 'debug',
'tree', 'Packages'),
                              os.path.join(dest_path, 'debug'),
_______________________________________________
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