#67 RFE: new "compose-query" command
Opened by ktdreyer. Modified

It would be great to make productmd easier to use from bash scripts (eg Jenkins jobs).

For example:

compose-query http://example.com/composes/RHCEPH-2.5-RHEL-7-20180227.ci.0/ info.release.short

This could print the release's shortname string, RHCEPH.

Currently we must handle this by writing the entire thing in Python :^) with productmd or by scraping the compose metadata/composeinfo.json file in bash with curl and jq.


This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/compose-utils/issues/67

Please continue any further discussion there.

Metadata