<div dir="ltr">Hi Paul!<div><br></div><div><div class="gmail_quote"><div>Thanks for your questions! I'll try to address them one by one:</div><div dir="ltr"><br></div><div dir="ltr">On Mon, Nov 28, 2016 at 7:20 PM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi Julia,<div class="gmail_msg">I have a number of questions, none of which really bear on us actually doing the work to make a snap :)</div><div class="gmail_msg">- how is this different from other Ubuntu/Canonical initiatives like Juju and Charms?<br class="gmail_msg"></div></div></blockquote><div><br></div><div>Well, Juju is an orchestration service. It's focused rather in the "forest" than in the "tree" :)</div><div>Snaps don't know about the rest of the nodes in your cluster, for example, while Juju (or other orchestration software) will, and could tell your db snap in a node it can replicate to other nodes.</div><div>Juju and Snaps are not bound together, you can use one without the other. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">- is this a Canonical/Linux flavour of Docker (lighter, better, Linux-only)?</div></div></blockquote><div><br></div><div>Hm, well, snaps are 'smaller' than docker: it allows (rather, constrains) app confinement, but doesn't provide OS confinement. </div><div>You can, however, have them interact: you can use snaps inside Docker containers. Or you could use Ubuntu Core and the Docker snap to have a really secure host for your Docker containers.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">- PostGIS is a run-time loadable DLL for PgSQL. Can the PgSQL snap really reach into another snap (PostGIS) and load the .so from there? Seems like we rather heavily break the isolation model.</div></div></blockquote><div><br></div><div>If PostGIS is mostly used with a dedicated Postgres, it might be a good idea to bundle Postgres in the PostGIS snap.<br></div><div><br></div><div>If instead PostGIS is thought to work on any preinstalled postgres database (snap or not), we'd probably be talking about a new snap "interface" that would let your PostGIS snap copy its .so outside of its confinement, into the Postgres directory.</div><div><br></div><div>Visually, If the confinement around each snap could be a box, "interfaces" change the shape of that box.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">- How does the PgSQL snap deal with major version updates? It's all very well going from 9.4.1 to 9.4.2, but 9.4 to 9.5 can be a huge deal and is fraught with dangers. Just run pg_upgrade and cross your fingers? We'd have to run SQL directly on the database, and potentially with quite high privilege (foreach db with postgis, run 'alter extension postgis update to '...'"</div></div></blockquote><div><br></div><div>At the moment there are different snaps for each major version available (snap find postgres shows this), all of these in the stable channel. We are, however, working towards having smarter channels. Right now there is edge, which you can update with every commit to trunk. There's also beta, candidate, and of course stable.</div><div>We're aiming at having 9.6/stable, 9.6/candidate, 9.6/beta, 9.6/edge, 9.5/stable, 9.5/candidate, and so on, and also a "magic" latest family: latest/edge, latest/beta, etc. latest'stable would be the version you get when you ask the system to install any snap, without manually specifying the major version and flavour.</div><div><br></div><div>Hope to have helped!</div><div><br></div><div>Best,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">Thanks!<br class="gmail_msg"><br class="gmail_msg">P</div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">On Mon, Nov 28, 2016 at 9:08 AM, Julia Palandri <span dir="ltr" class="gmail_msg"><<a href="mailto:julia.palandri@canonical.com" class="gmail_msg" target="_blank">julia.palandri@canonical.com</a>></span> wrote:<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi everyone!<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><span id="m_-6314469254974066477m_-3916098783359312073gmail-docs-internal-guid-4c2c89eb-abe7-c2d6-aa43-fada9e6e55da" class="gmail_msg"><span class="gmail_msg"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">I’m Julia. I work at Canonical on the engineering team building Ubuntu and Snapcraft [1]. </span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><br class="gmail_msg"></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">We’re working on snaps, a platform to enable ISVs to address a considerably wider audience while retaining full control over updates. Snaps are “write-once, run on many distro versions”, including both Ubuntu 14.04, 16.04, and many others (</span><a href="http://snapcraft.io/docs/core/install" style="text-decoration:none" class="gmail_msg" target="_blank"><span style="font-size:14.6667px;font-family:arial;background-color:transparent;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">http://snapcraft.io/docs/core/install</span></a><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">) - they make dependency problems a thing of the past, and offer early adopters the possibility to try new features as soon as they’re committed to trunk, all with minimum effort from your side (the hosting on our side is complimentary ;)). </span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><br class="gmail_msg"></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">Snaps help also to handle upgrades: they’re done transparently for users, which is convenient for them and for you (no users stuck in a super old version no longer supported, no work need to be done by them). And, in case anything bad happens (because… bad things sometimes happen :D) there will always be the chance of rollback available. </span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><br class="gmail_msg"></div></span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">I first wrote to a member of the PSC, who asked me to write here instead. </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">I was wondering if you’d be willing to discuss some ideas on how we can help deliver PostGis to many more users?</span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><br class="gmail_msg"></div><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">Cheers,</span></p><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" class="gmail_msg"><br class="gmail_msg"></div><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="gmail_msg">[1] <a href="http://snapcraft.io/" class="gmail_msg" target="_blank">http://snapcraft.io/</a></span></span><span class="m_-6314469254974066477HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_-6314469254974066477m_-3916098783359312073gmail_signature gmail_msg"><div dir="ltr" class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg">Julia</div></div></div>
</font></span></div></div>
<br class="gmail_msg"></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br class="gmail_msg">
postgis-devel mailing list<br class="gmail_msg">
<a href="mailto:postgis-devel@lists.osgeo.org" class="gmail_msg" target="_blank">postgis-devel@lists.osgeo.org</a><br class="gmail_msg">
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
_______________________________________________<br class="gmail_msg">
postgis-devel mailing list<br class="gmail_msg">
<a href="mailto:postgis-devel@lists.osgeo.org" class="gmail_msg" target="_blank">postgis-devel@lists.osgeo.org</a><br class="gmail_msg">
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-devel</a></blockquote></div></div></div>