Actions
Refactor #990
closedRework the Vagrant provisioning script to install the dependencies from the spec files instead of installing/removing Pulp
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
June 2015
Quarter:
Description
We have some code to pull dependencies out of the spec files that is used by Jenkins. We should use this same code in our Vagrant provisioning script as well so that we can shave a little time off of the dependency installation. Currently, Vagrant installs Pulp and then removes it in order to get the dependencies.
Actions
Provision a virtualenv for Crane if present.
Our Vagrant provisioning didn't do anything for Crane. This commit creates basic support for creating a virtualenv and installing Crane's dependencies.
In order to avoid copying the RPM dependency information, I determined how to query Crane's spec file for the RPMs that Crane depends on. Since this line was also useful for our other projects, I converted our dependencies to all be installed this way. By doing this, I also solved #990 and so this commit also fixes that issue.
https://pulp.plan.io/issues/990
fixes #990