Bug 512610 - Flag -C not working
Summary: Flag -C not working
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-19 19:53 UTC by Pavel Alexeev
Modified: 2016-09-20 02:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-21 13:58:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.