<div dir="ltr">Hi Sergio,<div><br></div><div>May I know how to install the snapcraft 1.0 and snapcraft 2.0 seperately? I have tried to remove the installation incurred by running "python3 setup.py install" on my vivid. Now my snapcraft is 2.0 instead of 1.0.</div><div><br></div><div>The installation instructions are as follows:</div><div><br></div><div><div> sudo add-apt-repository ppa:snappy-dev/tools</div><div> sudo apt-get update</div><div> sudo apt-get install snapcraft</div></div><div><br></div><div><div>liuxg@liuxg:~$ snapcraft version</div><div>snapcraft (2.0).</div><div>Run "snapcraft help" to get started.</div><div>liuxg@liuxg:~$ apt-cache policy snapcraft</div><div>snapcraft:</div><div> Installed: 1.0~vivid~ppa2</div><div> Candidate: 1.0~vivid~ppa2</div><div> Version table:</div><div> *** 1.0~vivid~ppa2 0</div><div> 500 <a href="http://ppa.launchpad.net/snappy-dev/tools/ubuntu/" target="_blank">http://ppa.launchpad.net/snappy-dev/tools/ubuntu/</a> vivid/main amd64 Packages</div><div> 100 /var/lib/dpkg/status</div></div><div><br></div><div><div>liuxg@liuxg:~$ snapcraft --help</div><div>usage: snapcraft [-h] [-v]</div><div> {init,shell,run,list-plugins,clean,pull,build,stage,snap,assemble,all,version,help}</div><div> ...</div><div><br></div><div>positional arguments:</div><div> {init,shell,run,list-plugins,clean,pull,build,stage,snap,assemble,all,version,help}</div><div> init start a project</div><div> shell enter staging environment</div><div> run run snap in kvm</div><div> list-plugins list the available plugins that handle different types</div><div> of a part</div><div> clean clean up the environment (to start from scratch)</div><div> pull get sources</div><div> build build parts</div><div> stage put parts into staging area</div><div> snap put parts into snap area</div><div> assemble (all) make snap package</div><div> version show the program's version number and exit</div><div> help obtain help for plugins and specific topics</div><div><br></div><div>optional arguments:</div><div> -h, --help show this help message and exit</div><div> -v, --version show the program's version number and exit</div></div><div><br></div><div>Is this correct?</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 8:00 PM, <span dir="ltr"><<a href="mailto:snappy-app-devel-request@lists.ubuntu.com" target="_blank">snappy-app-devel-request@lists.ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Send snappy-app-devel mailing list submissions to<br>
<a href="mailto:snappy-app-devel@lists.ubuntu.com" target="_blank">snappy-app-devel@lists.ubuntu.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:snappy-app-devel-request@lists.ubuntu.com" target="_blank">snappy-app-devel-request@lists.ubuntu.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:snappy-app-devel-owner@lists.ubuntu.com" target="_blank">snappy-app-devel-owner@lists.ubuntu.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of snappy-app-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: ANN: snapcraft 1.0 is now available (Sergio Schvezov)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 14 Jan 2016 07:22:36 -0300<br>
From: Sergio Schvezov <<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>><br>
To: Boris Rybalkin <<a href="mailto:ribalkin@gmail.com" target="_blank">ribalkin@gmail.com</a>><br>
Cc: snappy-app-devel <<a href="mailto:snappy-app-devel@lists.ubuntu.com" target="_blank">snappy-app-devel@lists.ubuntu.com</a>><br>
Subject: Re: ANN: snapcraft 1.0 is now available<br>
Message-ID: <<a href="mailto:79fc699d-0ad6-4d3d-ab3d-1eb60b08e51b@canonical.com" target="_blank">79fc699d-0ad6-4d3d-ab3d-1eb60b08e51b@canonical.com</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
<br>
<br>
El jueves, 14 de enero de 2016 06h'57:04 ART, Boris Rybalkin escribi?:<br>
> Just tried snapcraft on one example:<br>
> <a href="https://github.com/ubuntu-core/snapcraft/blob/master/examples/tomcat-maven-webapp/snapcraft.yaml" rel="noreferrer" target="_blank">https://github.com/ubuntu-core/snapcraft/blob/master/examples/tomcat-maven-webapp/snapcraft.yaml</a><br>
><br>
> and got:<br>
> snapcraft/examples/java-hello-world$ snapcraft<br>
> Issues while validating snapcraft.yaml: 'vendor' is a required property<br>
><br>
> Are examples outdated or am I doing something wrong?<br>
<br>
Use the 1.x branch for snapcraft 1.0<br>
I failed to mention that in the announcement.<br>
<br>
Cheers<br>
Sergio<br>
<span><font color="#888888"><br>
<br>
--<br>
Sent using Dekko from my Ubuntu device<br>
<br>
<br>
<br>
------------------------------<br>
<br>
--<br>
snappy-app-devel mailing list<br>
<a href="mailto:snappy-app-devel@lists.ubuntu.com" target="_blank">snappy-app-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel</a><br>
<br>
<br>
End of snappy-app-devel Digest, Vol 14, Issue 12<br>
************************************************<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: <a href="tel:%2B86-13911181302" value="+8613911181302" target="_blank">+86-13911181302</a></div></div></div>
</div></div>