[13:54] <stokachu> is it possible to pull bundle meta/files from a specific revision?
[13:54] <stokachu> from the charmstore api
[14:29] <frankban> stokachu: what URL are you using?
[14:29] <stokachu> frankban: was using theblues library
[14:30] <stokachu> tried with cs.bundle('data-analytics-with-sql-like-6')
[14:31] <frankban> stokachu: what's the meta/files endpoint?
[14:31] <rick_h_> frankban: I showed him the manual calls to the api to get the content 
[14:32] <stokachu> yea i just wanted to know if i can use a bundle revision with the library
[14:32] <rick_h_> frankban: I think the thing is the library could use some improvement to check "exists" 
[14:32] <stokachu> like you can with the charm
[14:32] <stokachu> for now im using archive_url routine to gives me the proper url
[14:32] <stokachu> but like rick said it doesn't actually check the charmstore to make sure it's a valid url
[14:33] <frankban> let me take a look at the code
[14:33] <jrwren_> a bundle only has 2 files: the bundle yaml,  and README
[14:34] <stokachu> https://github.com/Ubuntu-Solutions-Engineering/conjure/blob/master/conjurelib/charm.py
[14:34] <stokachu> to give you an idea of how im using it
[14:34] <stokachu> the bundle can come in the form of just the name of the bundle or a bundle+rev
[14:35] <frankban> stokachu: so you want to use met/manifest to get the file list before
[14:36] <frankban> https://api.jujucharms.com/charmstore/v5/bundle/data-analytics-with-sql-like-6/meta/manifest
[14:36] <frankban> ???
[14:36] <stokachu> well i was hoping to just make a single call to the bundle+rev to pull in the default includes with the library
[14:37] <frankban> stokachu: I am not sure I understood your goal and the problem
[14:39] <stokachu> oh it works now
[14:39] <stokachu> maybe i was entering in an unknown revision
[14:39] <fabrice> stokachu: when you ask for an entity we put the default includes in here https://github.com/juju/theblues/blob/develop/theblues/charmstore.py#L86 but if you want to go through the meta endpoint with that one https://github.com/juju/theblues/blob/develop/theblues/charmstore.py#L73 you will have to provide the includes you want
[14:39] <stokachu> ah ok 
[14:40] <frankban> cs.files(self, entity_id, filename='bundle.yaml', read_file=True)?
[14:40] <stokachu> fabrice, frankban that clears it up
[14:41] <stokachu> frankban: that's exactly what i was looking for
[14:41] <fabrice> frankban is always trhe best !
[14:41] <stokachu> :D
[14:42] <frankban> fabrice: ok, you'll have a beer in rome
[14:42] <fabrice> just one ?
[14:43] <frankban> ONE!
[14:43] <frankban> and then wine