<div dir="ltr"><div><br></div><div>This is one area that is still super confusing, and would be worth investing some time on soon.</div><div><br></div><div>We discussed this back in May on:</div><div><br></div><div>- clean behavior is confusing</div><div> <a href="https://bugs.launchpad.net/snapcraft/+bug/1582469">https://bugs.launchpad.net/snapcraft/+bug/1582469</a><br><div><br></div><div>As described there, this is a rock on the most important pipeline of the tool.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 11:31 PM, Kyle Fazzari <span dir="ltr"><<a href="mailto:kyle.fazzari@canonical.com" target="_blank">kyle.fazzari@canonical.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"><span class="gmail-">On 01/09/2017 12:08 PM, Michał Sawicz wrote:<br>
> W dniu 09.01.2017 o 20:32, Michał Sawicz pisze:<br>
>> I *think* (may be wrong) that `snapcraft pull` can help here:<br>
>><br>
>> <a href="http://snapcraft.io/docs/reference/snapcraft-command#pull" rel="noreferrer" target="_blank">http://snapcraft.io/docs/<wbr>reference/snapcraft-command#<wbr>pull</a><br>
><br>
> I was able to force `snapcraft pull` to pull things again by messing<br>
> with parts/part-name/state - might wanna try that in case there's no<br>
> better answers.<br>
<br>
</span>Careful with this, snapcraft tends to get upset if you mess with its<br>
state behind its back.<br>
<br>
Lifecycle steps build upon each other: pull -> build -> stage -> prime.<br>
Let's say you ran `snapcraft build A`, which will pull part A (let's say<br>
it was commit abdc1), and then build it. If commit abcd2 is later made<br>
and you want to build it, you need to clean the pull step (which will<br>
also clean the build step) with `snapcraft clean A`, and build again:<br>
`snapcraft build A`. That will pull any updates that have been made, and<br>
build anew.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
Kyle Fazzari (kyrofa)<br>
Software Engineer<br>
Canonical Ltd.<br>
<a href="mailto:kyle@canonical.com">kyle@canonical.com</a><br>
<br>
</font></span><br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><br>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div></div>