snappy-app-devel Digest, Vol 14, Issue 12

XiaoGuo Liu xiaoguo.liu at canonical.com
Fri Jan 15 01:48:02 UTC 2016


Hi Sergio,

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.

The installation instructions are as follows:

  sudo add-apt-repository ppa:snappy-dev/tools
  sudo apt-get update
  sudo apt-get install snapcraft

liuxg at liuxg:~$ snapcraft version
snapcraft (2.0).
Run "snapcraft help" to get started.
liuxg at liuxg:~$ apt-cache policy snapcraft
snapcraft:
  Installed: 1.0~vivid~ppa2
  Candidate: 1.0~vivid~ppa2
  Version table:
 *** 1.0~vivid~ppa2 0
        500 http://ppa.launchpad.net/snappy-dev/tools/ubuntu/ vivid/main
amd64 Packages
        100 /var/lib/dpkg/status

liuxg at liuxg:~$ snapcraft --help
usage: snapcraft [-h] [-v]

 {init,shell,run,list-plugins,clean,pull,build,stage,snap,assemble,all,version,help}
                 ...

positional arguments:

{init,shell,run,list-plugins,clean,pull,build,stage,snap,assemble,all,version,help}
    init                start a project
    shell               enter staging environment
    run                 run snap in kvm
    list-plugins        list the available plugins that handle different
types
                        of a part
    clean               clean up the environment (to start from scratch)
    pull                get sources
    build               build parts
    stage               put parts into staging area
    snap                put parts into snap area
    assemble (all)      make snap package
    version             show the program's version number and exit
    help                obtain help for plugins and specific topics

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show the program's version number and exit

Is this correct?

Thanks & best regards,
XiaoGuo

On Thu, Jan 14, 2016 at 8:00 PM, <snappy-app-devel-request at lists.ubuntu.com>
wrote:

> Send snappy-app-devel mailing list submissions to
>         snappy-app-devel at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
> or, via email, send a message with subject or body 'help' to
>         snappy-app-devel-request at lists.ubuntu.com
>
> You can reach the person managing the list at
>         snappy-app-devel-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of snappy-app-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: ANN: snapcraft 1.0 is now available (Sergio Schvezov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 14 Jan 2016 07:22:36 -0300
> From: Sergio Schvezov <sergio.schvezov at canonical.com>
> To: Boris Rybalkin <ribalkin at gmail.com>
> Cc: snappy-app-devel <snappy-app-devel at lists.ubuntu.com>
> Subject: Re: ANN: snapcraft 1.0 is now available
> Message-ID: <79fc699d-0ad6-4d3d-ab3d-1eb60b08e51b at canonical.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
>
> El jueves, 14 de enero de 2016 06h'57:04 ART, Boris Rybalkin escribi?:
> > Just tried snapcraft on one example:
> >
> https://github.com/ubuntu-core/snapcraft/blob/master/examples/tomcat-maven-webapp/snapcraft.yaml
> >
> > and got:
> > snapcraft/examples/java-hello-world$ snapcraft
> > Issues while validating snapcraft.yaml: 'vendor' is a required property
> >
> > Are examples outdated or am I doing something wrong?
>
> Use the 1.x branch for snapcraft 1.0
> I failed to mention that in the announcement.
>
> Cheers
> Sergio
>
>
> --
> Sent using Dekko from my Ubuntu device
>
>
>
> ------------------------------
>
> --
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>
>
> End of snappy-app-devel Digest, Vol 14, Issue 12
> ************************************************
>



-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160115/9643806a/attachment-0001.html>


More information about the snappy-app-devel mailing list