<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 08/09/2016 12:18 AM, Christian
Ehrhardt wrote:<br>
</div>
<blockquote
cite="mid:CAATJJ0JKrQ9aqYd781h-OBeFC59MbanCT07sR-=Sbo+e+xKJrw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Aug 9, 2016 at 7:38 AM, Simon
Fels <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:simon.fels@canonical.com" target="_blank">simon.fels@canonical.com</a>></span>
wrote:</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">Thanks a lot Simon for the answers!</div>
<div class="gmail_quote">A few clarifications requests inline
below (mostly getting the bug # to subscribe and refer).</div>
<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div id=":91j" class="">For upgrades<br>
there will be a hook at some point in the near future
which will notify<br>
when your snap is upgraded and you can perform similar
logic like you<br>
can do in the maintainer scripts to handle changed
formts etc. But as<br>
far as I know there will be no modifications to the real
/etc allowed<br>
for any application snap.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Ok, I consider this WIP then - is there a bug I could
subscribe myself and link to from my code?</div>
</div>
</div>
</div>
</blockquote>
<br>
Not yet (that I know of).<br>
<br>
<blockquote
cite="mid:CAATJJ0JKrQ9aqYd781h-OBeFC59MbanCT07sR-=Sbo+e+xKJrw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<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 id=":91j" class="">
You could still store conf files in SNAP_USER_DATA to
get them writable<br>
by the users of the system.<span class=""><br>
</span></div>
</blockquote>
<div><br>
</div>
<div>It is a daemon that needs the conf, so I think I'll try
hack something up in SNAP_DATA for now.</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 id=":91j" class=""><span class="">
> The only snap-centric artifact about it I found
was [1]. But that feels<br>
> broken/outdated as there is no "snappy" command
anymore (and snap has no<br>
> "config" subcommand).<br>
<br>
</span>Something similar will come back. From what I've
heard there will be a<br>
apply-config hook which you can implement in your snap
and a user can<br>
call from the outside with a simple 'snap set<br>
snap.name.confkey=confvalue' or similar.</div>
</blockquote>
</div>
<br>
Thanks, as above I consider this WIP then - is there a bug I
could subscribe myself and link to from my code?<br>
</div>
</div>
</blockquote>
<br>
Yeah, keep an eye on this one:
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1596629">https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1596629</a><br>
<pre class="moz-signature" cols="72">--
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
<a class="moz-txt-link-abbreviated" href="mailto:kyle@canonical.com">kyle@canonical.com</a></pre>
</body>
</html>