<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 07/12/2016 à 21:53, Jenny Murphy a
écrit :<br>
</div>
<blockquote
cite="mid:CAFSPTzOBcF7ijwqedu-nP-9zUALku1eLU5-Xh26adSRE9YHZkg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> So now I am ready to go with snapcraft 2.22.1.</div>
<div><br>
</div>
<div>I think upgrading my snapcraft.yaml should be pretty
straight forward?</div>
<div><br>
</div>
<div>This is what I have :</div>
<div><br>
</div>
<div>
<div><span style="font-size:12.8px"><b>services:</b></span></div>
<div><span style="font-size:12.8px"><b> main:</b></span></div>
<div><span style="font-size:12.8px"><b> start: bin/wrapper</b></span></div>
<div><span style="font-size:12.8px"><b> description:
EpiSensor Gateway Application</b></span></div>
<div><span style="font-size:12.8px"><b><br>
</b></span></div>
<div><span style="font-size:12.8px"><b>parts:</b></span></div>
<div><span style="font-size:12.8px"><b> move-scripts:</b></span></div>
<div><span style="font-size:12.8px"><b> plugin: copy</b></span></div>
<div><span style="font-size:12.8px"><b> files:</b></span></div>
<div><span style="font-size:12.8px"><b> scripts:
scripts</b></span></div>
<div><span style="font-size:12.8px"><b> main:</b></span></div>
<div><span style="font-size:12.8px"><b> plugin: ant</b></span></div>
<div><span style="font-size:12.8px"><b> source: .</b></span></div>
<div><span style="font-size:12.8px"><b> wrapper:</b></span></div>
<div><span style="font-size:12.8px"><b> plugin: make</b></span></div>
<div><span style="font-size:12.8px"><b> source: .</b></span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">So I think my parts
section will be ok. But I need to re-do the services
section to :</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div>
<pre class="gmail-highlight" style="box-sizing:border-box;font-family:"ubuntu mono";font-size:16px;border:1px solid rgb(205,205,205);margin-top:0.5em;margin-bottom:0.5em;padding:0.7em 1em;vertical-align:baseline;white-space:pre-line;word-wrap:break-word;direction:ltr;line-height:1.5;overflow:hidden;border-radius:4px;background-color:rgb(247,247,247);color:rgb(51,51,51);width:756.062px"><code style="box-sizing:border-box;font-family:"ubuntu mono",consolas,monaco,"lucida console","courier new",courier,monospace;border:0px;margin:0px;padding:0px;vertical-align:baseline;white-space:pre-wrap;word-spacing:normal;word-wrap:break-word;direction:ltr;line-height:1.5;color:inherit"><span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">apps</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">daemon1</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">command</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span> <span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">bin/wrapper</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">daemon</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span> <span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">simple</span></code></pre>
</div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Any other suggestions ?</span></div>
</div>
</div>
</blockquote>
<br>
Hey,<br>
<br>
Sounds about right!<br>
Note that the copy plugin is deprecated and could be replaced with
the dump plugin (using organize/stage/snap keyword for the
equivalent "files" functionality).<br>
<br>
The rest should stay the same, you will have some warnings about
missing "grade" keyword probably. I suggest just running snapcraft
init in another directory so that you can spot the differences for
the base semantic ;)<br>
Cheers,<br>
Didier<br>
</body>
</html>