Bug 512610

Summary: Flag -C not working
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: createrepoAssignee: Luke Macken <lmacken>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: james.antill, lmacken, pfrields
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: 2009-07-21 13:58:24 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:

Description Pavel Alexeev 2009-07-19 19:53:30 UTC
Description of problem:
[pasha@x-www Fedora11]$ createrepo -Cvpdv -o ./ ./
repo is up to date

[pasha@x-www Fedora11]$ ls repodata/
[pasha@x-www Fedora11]$ 

If I rerun and remove -C flag, repodata will be correctly regenerated,

Version-Release number of selected component (if applicable):
$ rpm -q createrepo 
createrepo-0.9.7-7.fc11.noarch

How reproducible:
Always.

Comment 1 seth vidal 2009-07-20 20:42:24 UTC
verified - taking a look now

Comment 2 seth vidal 2009-07-20 21:29:42 UTC
okay - we're checking the timestamp of the repodata dir - not of any of the metadata/contents of it - which is why it is aborting. Since a repository is really defined by the presence of a repomd.xml file more than anything else, I'll change it so it checks the timestamp of that file.

Comment 3 seth vidal 2009-07-21 13:58:24 UTC
here's the fix - it'll be in whatever is the next build of createrepo

http://createrepo.baseurl.org/gitweb?p=createrepo.git;a=commit;h=6e6f8febc9042b5a95e20e5d7813a62a2ca30289

Comment 4 Pavel Alexeev 2009-07-21 14:47:43 UTC
Please, can you push update to it?
I'm use createrepo on regular basis and this bug is annoyed.

Comment 5 seth vidal 2009-07-21 15:25:26 UTC
Not immediately. I have some other patches to get to before updating it.

Comment 6 Fedora Update System 2009-12-22 16:22:06 UTC
createrepo-0.9.7-8.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/createrepo-0.9.7-8.fc11

Comment 7 Fedora Update System 2009-12-22 16:22:14 UTC
createrepo-0.9.8-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/createrepo-0.9.8-3.fc12

Comment 8 Fedora Update System 2010-01-12 23:43:46 UTC
createrepo-0.9.7-8.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-01-12 23:49:32 UTC
createrepo-0.9.8-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.