[ovirt] #136: Query repositories using curl

#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.

#136: Query repositories using curl -------------------------------+------------------------ Reporter: fabiand | Owner: infra@… Type: task | Status: new Priority: critical | Milestone: oVirt 3.4 Component: Repositories Mgmt | Version: Severity: Trivial | Resolution: Keywords: automation | Blocked By: Blocking: | -------------------------------+------------------------ Changes (by fabiand): * priority: major => critical Comment: It would be great to have this before 3.5 to to support the appliance building. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/136#comment:1> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#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 | Resolution: Keywords: automation | Blocked By: Blocking: | -------------------------------+------------------------ Changes (by eedri): * owner: knesenko => infra@… -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/136#comment:4> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#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 | Resolution: Keywords: automation | Blocked By: Blocking: | -------------------------------+------------------------ Comment (by fabiand): This ticket is about _easily_ retrieving a list of all required repositories to install oVirt in a specific version on a host. I'd love to do something like: curl http://<foo>/repos/for?ovirt=3.5&dist=el6 curl http://<foo>/repos/for?ovirt=3.5-pre&dist=f20 curl http://<foo>/repos/for?ovirt=3.4&dist=f19 which will return _all_ repositories needed for that dist and ovirt version. Very similar to what the ovirt-release*.rpm files contain, but easier to query. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/136#comment:5> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.
participants (1)
-
ovirt