Bug 243178

Summary: [patch]"reposync --newest-only" bug in size comparison of existing rpm
Product: [Fedora] Fedora Reporter: Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-08 14:05:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix for the wrong size comparison none

Description Mohd Izhar Firdaus Ismail 2007-06-07 18:02:08 UTC
Description of problem:
bug in size comparison of existing rpm, reposync doesnt download newest only

Version-Release number of selected component (if applicable):
yum-utils-1.1.4-1.fc7

How reproducible:
everytime

Steps to Reproduce:
1. run reposync in existing repository
  
Actual results:
reposync download everything including existing rpm

Expected results:
reposync download only newest rpm

Additional info:
patch attached

Comment 1 Mohd Izhar Firdaus Ismail 2007-06-07 18:02:08 UTC
Created attachment 156492 [details]
fix for the wrong size comparison

Comment 2 Seth Vidal 2007-06-07 20:03:31 UTC
pretty sure this is alrerady fixed in cvs. Please check out this ver of reposync
and let me know i it fixes it for you:
http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-utils/reposync.py?revision=1.15&content-type=text%2Fplain&pathrev=1.15


Comment 3 Mohd Izhar Firdaus Ismail 2007-06-08 06:51:39 UTC
confirmed .. the bug was fixed upstream