Bug 591632
| Summary: | fix --update issue in F12 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Mach <dmach> |
| Component: | createrepo | Assignee: | Luke Macken <lmacken> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | james.antill, lmacken, pfrields |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | createrepo-0.9.8-4.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-15 20:37:56 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
Daniel Mach
2010-05-12 17:58:50 UTC
I can back port the --skip-stat/--update patch, sure. But only if you test the pkg for me. Sure. What exactly you want me to test? As far I can tell, converting st_mtime to int works in current F12 package so this only change should fix the problem. Do you want to back port whole createrepo-head.patch from F13 or just this fix? the distance between f12 and f13 is just 3 patches:
commit 0bf9a7f48786810515d4b530b91cb2bbd01a391c
Author: Dennis Gregorovic <dgregor>
Date: Thu Jan 7 11:50:37 2010 -0500
Fixed, convert stat mtime to int so comparison can work, --update, BZ 553030
commit c3b157d0ccc2a4c8971c64ec6f9fb4ea3a9c17c5
Author: Dennis Gregorovic <dgregor>
Date: Thu Jan 7 00:11:14 2010 -0500
Convert stat mtime to int so comparison can work, --update, BZ 553030
commit 044f521cadd42df029cfd75070defe699fe7f432
Author: Dennis Gregorovic <dgregor>
Date: Wed Jan 6 15:26:58 2010 -0500
Change baseurl of "old" packages on update, when baseurl specified
so I might just bring them all back.
it's easy.
I have successfully verified the fix: $ rpm -q createrepo createrepo-0.9.8-4.fc12.noarch $ createrepo .; createrepo --verbose --update . second run with --update is significantly faster and also prints correct messages: Using data from old metadata for ... (was: Modification time changed for ...) createrepo-0.9.8-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/createrepo-0.9.8-4.fc12 createrepo-0.9.8-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |