Bug 798367

Summary: mock has SCM plugin but doesn't pull dependencies (ex: git)
Product: [Fedora] Fedora EPEL Reporter: Nelson Marques <nmo.marques>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: mebrown, myllynen, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-04 01:40:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Separate SCM module into its own subpackage none

Description Nelson Marques 2012-02-28 18:12:18 UTC
Description of problem:
Mock as a very good SCM plugin to pull sources from SCMs (ex: svn) but the dependencies for the supported SCMs have to be installed previously or after.
It would be a good improvement if we could have dependencies on the SCM plugins.

This raises another issues:

 * Would most users benefit from this change?
   -- probably not and they would get a few dependencies installed
 * Would splitting the plugin into a sub-package help?
   -- if it's technically possible, would be great to have all the dependencies 
      attached to this sub package.


Version-Release number of selected component (if applicable):
Name        : mock                 Relocations: (not relocatable)
Version     : 1.0.25               Vendor: Fedora Project
Release     : 1.el5                Build Date: Sun 27 Nov 2011 11:36:57 PM WET

Comment 1 Clark Williams 2012-06-07 20:13:57 UTC
Well, Marko did all the heavy lifting on the SCM plugin. Let's see what he has to say about it.

Comment 2 Marko Myllynen 2012-06-11 09:07:54 UTC
Created attachment 590865 [details]
Separate SCM module into its own subpackage

Technically it's easy to separate the SCM module into its own subpackage and make it depend on all the possibly needed commands, see the attachment.

Although it will cause a small one-time inconvenience for the current mock/scm users perhaps it might be the right thing to do. But I'll leave it up to Clark to make the final call.

Comment 3 Clark Williams 2012-08-23 20:28:55 UTC
(In reply to comment #2)
> Created attachment 590865 [details]
> Separate SCM module into its own subpackage
> 
> Technically it's easy to separate the SCM module into its own subpackage and
> make it depend on all the possibly needed commands, see the attachment.
> 
> Although it will cause a small one-time inconvenience for the current
> mock/scm users perhaps it might be the right thing to do. But I'll leave it
> up to Clark to make the final call.

I posted to buidsys@lists.fedoraproject.org to take a poll and see if anyone really objects to creating mock-scm. I'll give it a few days and if no major objections come up, we'll do it.

Comment 4 Clark Williams 2013-04-12 18:51:57 UTC
I've applied Marko's patch and pushed the scm code into a sub-package which pulls in the supported scm pacakges.

should be in the 1.1.31 update

Comment 5 Fedora Update System 2013-04-16 17:34:31 UTC
mock-1.1.31-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc19

Comment 6 Fedora Update System 2013-04-16 17:35:31 UTC
mock-1.1.31-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc17

Comment 7 Fedora Update System 2013-04-16 17:36:28 UTC
mock-1.1.31-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.31-1.el6

Comment 8 Fedora Update System 2013-04-16 17:37:22 UTC
mock-1.1.31-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc18

Comment 9 Fedora Update System 2013-04-17 16:22:06 UTC
Package mock-1.1.31-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mock-1.1.31-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5858/mock-1.1.31-1.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-04-18 20:27:51 UTC
mock-1.1.32-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc17

Comment 11 Fedora Update System 2013-04-18 20:29:04 UTC
mock-1.1.32-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc18

Comment 12 Fedora Update System 2013-04-18 20:30:30 UTC
mock-1.1.32-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.32-1.el6

Comment 13 Fedora Update System 2013-04-18 20:31:53 UTC
mock-1.1.32-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc19

Comment 14 Fedora Update System 2013-05-04 01:40:59 UTC
mock-1.1.32-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2013-05-05 02:28:55 UTC
mock-1.1.32-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2013-05-05 02:30:02 UTC
mock-1.1.32-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.