<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 24, 2016 at 6:15 AM, Merlijn Sebrechts <span dir="ltr"><<a href="mailto:merlijn.sebrechts@gmail.com" target="_blank">merlijn.sebrechts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">+1 for "which charms use this layer" queries. This has a number of uses:<div><br></div><div>- for finding what the quality of a layer is (more use in recommended charms = better quality)</div><div>- for the maintainer of a layer so he can see what the impact is of a change on his layer</div><div>- to see which charms have to be rebuilt if a vulnerability has been found in a layer</div></div></blockquote><div><br></div><div>Related to that last use case, it's also possible that a security update needs to be applied based on the software that gets installed by the layer.</div><div><br></div><div>Today I noticed a security update for nginx: <a href="https://www.ubuntu.com/usn/usn-3114-1/">https://www.ubuntu.com/usn/usn-3114-1/</a></div><div><br></div><div>This affects all deployed applications that were built with layer:nginx. You'll definitely want to `juju run "apt-get update && apt-get upgrade -y nginx"` on those.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">2016-10-18 16:55 GMT+02:00 Ondřej Kuzník <span dir="ltr"><<a href="mailto:ondrej.kuznik@credativ.co.uk" target="_blank">ondrej.kuznik@credativ.co.uk</a>></span><wbr>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5">Hi,<br>
developing new charms or just exploring the store, one might want to<br>
raise random queries like "which charms use a layer x", "which charms<br>
are subordinate" and some others. Are there any plans to add those,<br>
concerns why this might not be a good idea?<br>
<br>
While the store could extend the API to include these, I presume it<br>
would just be an addition to a hardcoded list. Another option would be<br>
for someone to scrape the store to PostgreSQL or a document DB of some<br>
sort that could be searched with rather arbitrary queries (and a few<br>
indexes for the more common ones).<br>
<br>
My first reaction is that such a scraper would be frowned upon as it<br>
might not have a way to update its database intelligently and keep<br>
hitting all sorts of rate limits imposed by the store, but I might be<br>
wrong here.<br>
<br>
Any thoughts on this?<br>
<br>
Thanks,<br>
Ondrej<br>
<br>
--<br>
Consultant<br>
<br>
credativ Ltd<br>
Open Source for Business<br>
UK office:  <a href="tel:%2B44%201788%20298150" value="+441788298150" target="_blank">+44 1788 298150</a><br>
Email:      <a href="mailto:ondrej.kuznik@credativ.co.uk" target="_blank">ondrej.kuznik@credativ.co.uk</a><br>
Web:        <a href="http://www.credativ.co.uk" rel="noreferrer" target="_blank">http://www.credativ.co.uk</a><br>
Suite 5 | Bloxam Court | Corporation Street | Rugby | CV21 2DU | UK<br>
<br>
We would love to hear your thoughts on our service!<br>
Please send your comments to <a href="mailto:feedback@credativ.co.uk" target="_blank">feedback@credativ.co.uk</a><br>
<br>
credativ Ltd is registered in England & Wales, company no. 5261743<br>
Certified by CompTIA / AccredITUK with the ICT Supply standard of<br>
quality for Software Product Design and Development<br>
<br>
<br></div></div><span class="gmail-HOEnZb"><font color="#888888">--<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/mailm<wbr>an/listinfo/juju</a><br>
<br></font></span></blockquote></div><br></div>
<br>--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">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/<wbr>mailman/listinfo/juju</a><br>
<br></blockquote></div><br></div></div>