juju / theblues

Python library for the juju charmstore (v4)
GNU Lesser General Public License v3.0
5 stars 22 forks source link

Get id-revision to surface the revision number without using string m… #53

Closed Lukewh closed 7 years ago

Lukewh commented 7 years ago

…anipulation

Lukewh commented 7 years ago

QA:

python
from theblues.charmstore import CharmStore
cs = CharmStore('http://api.jujugui.org/charmstore/v5')
entity = cs.entity('openstack-dashboard')
print entity.get('Meta').get('id-revision')
jujugui commented 7 years ago

Refer to this link for build results (access rights to CI server needed): http://ci-cge.jujugui.org:8080//job/theblues-lib/187/

Lukewh commented 7 years ago

Not needed for the use case