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