Repository : http://git.fedorahosted.org/cgit/
On branch : v1.4
commit 742dfc7aebd742abd450022cbf7701cb91562f23 Author: Patrick Uiterwijk puiterwijk@gmail.com Date: Sun Jun 16 19:44:31 2013 -0500
Fix very nasty bug where files would be put in the incorrect Directory
This was causing the database to have filedetails objects assigned to the wrong Directory, after which, mirrorlist request would (obviously) fail.
Sincere thanks to Patrick and Kevin Fenzi for helping track this down over the weekend.
server/update-master-directory-list | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/update-master-directory-list b/server/update-master-directory-list index 24d5566..62d4c46 100755 --- a/server/update-master-directory-list +++ b/server/update-master-directory-list @@ -409,8 +409,8 @@ def sync_category_directories(category, category_directories, directory_info): # this has to be a second pass to be sure the child repodata/ dir is created in the db first for dirpath, value in category_directories.iteritems(): d = directory_info[dirpath] + D = Directory.get(d['id']) if value['isRepository']: - D = Directory.get(d['id']) make_repository(D, dirpath, category, product_id, topdir) make_repomd_file_details(dirpath, D) Directory.ageFileDetails()
mirrormanager-commits@lists.fedorahosted.org