#136: Query repositories using curl
--------------------------------+------------------------
Reporter: fabiand | Owner: infra@…
Type: task | Status: new
Priority: major | Milestone: oVirt 3.4
Component: Repositories Mgmt | Version:
Severity: Trivial | Keywords: automation
Blocked By: | Blocking:
--------------------------------+------------------------
Hey,
as mentioned on the devel ml, we are looking for a small tool which we can
use to query the repositories for the current
- stable (currently 3.4)
- staged (rc, beta or so)
- specific version (3.3.3)
repositories and it's dependencies, i.e. the gluster repos, and necesaary
epel or centos repos (for el6).
Basically the complete set of repos which are needed to install any ovirt
component.
Early we used scripts which extracted the informations form the release
rpms, but this doesn't work anymore, we used something like:
cpiocat() { cpio --quiet --to-stdout -i $@ ; }
rpmcat() { RPM=$1 ; shift 1 ; rpm2cpio $RPM | cpiocat $@ ; }
curl -O $base/$release_rpm
rpmcat $release_rpm usr/share/…/ovirt.repo # path to repo files
--
Ticket URL: <
https://fedorahosted.org/ovirt/ticket/136>
ovirt <
http://www.ovirt.org/>
oVirt - virtualization made easy.