Bug 571636 - mock invokes createrepo
Summary: mock invokes createrepo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-09 05:08 UTC by Ralf Corsepius
Modified: 2013-01-10 05:45 UTC (History)
3 users (show)

Fixed In Version: mock-1.0.7-1.fc12
Clone Of:
Environment:
Last Closed: 2010-03-16 23:26:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2010-03-09 05:08:28 UTC
Description of problem:

The latest mock invokes createrepo by default

* No ideas which issue this behavior is supposed to resolve, in it's current form it's definitely not useful
* Even if this behavior was useful, introducing such a change midst of a release is unwise.

Version-Release number of selected component (if applicable):
mock-1.0.5-1.fc12.noarch

Actual results:
Any invokation of mock invokes createrepo.

Expected results:
Mock not to invoke createrepo.

Additional info:
* mock is supposed to build rpms and not to create repos.
=> This feature is a design flaw.

* createing repos in real world repos requires more than simply invoking "createrepo", e.g. to pass additional arguments to createrepo, e.g. to specify the type of checksums or to trigger creation of drpms.

* In the probably most common use case, Fedora CVS's "make mockbuild", this createrepo call doesn't make any sense.

* This createrepo call adds a dependency between mock and createrepo.
This is a regression, because mock and createrepo used to be independent.

Comment 1 Fedora Update System 2010-03-11 23:26:53 UTC
mock-1.0.7-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/mock-1.0.7-1.fc12

Comment 2 Fedora Update System 2010-03-13 02:34:59 UTC
mock-1.0.7-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mock'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mock-1.0.7-1.fc12

Comment 3 Fedora Update System 2010-03-16 23:25:56 UTC
mock-1.0.7-1.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.