<div dir="ltr">Hi Ilias<div><br></div><div><br></div><div>Great to hear you're doing cool stuff with Juju! I recently asked a similar question for a paper I've written for CLOUD 2018<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><a href="https://lists.ubuntu.com/archives/juju/2018-January/009845.html">https://lists.ubuntu.com/archives/juju/2018-January/009845.html</a>. If you want, I can send it to you in private (it's accepted but not published yet).<br></div><br class="gmail-Apple-interchange-newline"></div><div>Here is the documentation for the charm store api: <a href="https://github.com/juju/charmstore/blob/v5-unstable/docs/API.md">https://github.com/juju/charmstore/blob/v5-unstable/docs/API.md</a></div><div><ul><li>download the entire zip for a bundle: <a href="https://api.jujucharms.com/charmstore/v5/bundle/<bundle-name>/archive">https://api.jujucharms.com/charmstore/v5/bundle/<bundle-name>/archive</a><br></li><li>download a specific file of a bundle: <a href="https://api.jujucharms.com/charmstore/v5/bundle/<bundle-name>/archive/bundle.yaml">https://api.jujucharms.com/charmstore/v5/bundle/<bundle-name>/archive/bundle.yaml</a></li></ul></div><div>Here is an Jupyter notebook I use to get metrics of charm and layer usage: <a href="https://github.com/IBCNServices/reactive-pattern-results/blob/master/reactive-usage-stats.ipynb">https://github.com/IBCNServices/reactive-pattern-results/blob/master/reactive-usage-stats.ipynb</a>. It should be easy to modify that code to pull info about the bundles. As an example; this is the URL to get all bundles in the Juju store: <a href="https://api.jujucharms.com/charmstore/v5/list?type=bundle">https://api.jujucharms.com/charmstore/v5/list?type=bundle</a></div><div><br></div><div>Cleaning up the data will be the hard part probably, since there are a lot of unused/broken bundles in the store. I've used the downloads/month metric to figure out what charms are actually still used.</div></div><br><div class="gmail_quote"><div dir="ltr">Op ma 4 jun. 2018 om 14:05 schreef Ilias Tsoumas <<a href="mailto:itsoum@unipi.gr">itsoum@unipi.gr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I have designed and I am developing a novel recommender system which will provide recommendations at application graph (=bundle) composition time. Now I need a real graphs dataset. I think that all juju bundles of components is a good real dataset. Are there some how to aggregate all these "bundle.yaml" files? Are there some api endpoint?</div><div>This work is funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No 761898 project Matilda.</div><div><br></div><div>Kind regards,</div><div>Ilias Tsoumas</div></div>
-- <br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com" target="_blank">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
</blockquote></div>