Merge lp://qastaging/~michael.nelson/snapcraft/fix-golang-tutorial-to-match-changes-from-r132 into lp://qastaging/~snappy-dev/snapcraft/core

Proposed by Michael Nelson
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 153
Merged at revision: 151
Proposed branch: lp://qastaging/~michael.nelson/snapcraft/fix-golang-tutorial-to-match-changes-from-r132
Merge into: lp://qastaging/~snappy-dev/snapcraft/core
Diff against target: 95 lines (+18/-23)
1 file modified
docs/your-first-snap.md (+18/-23)
To merge this branch: bzr merge lp://qastaging/~michael.nelson/snapcraft/fix-golang-tutorial-to-match-changes-from-r132
Reviewer Review Type Date Requested Status
Sergio Schvezov Approve
Review via email: mp+270131@code.qastaging.launchpad.net

Commit message

Fix snapcraft.yaml's reference to go-package plugin to match changes in r132.

Description of the change

Without this, following the tutorial results in:

$ snapcraft stage
Unknown plugin: go1.4-project
Could not load part go1.4-project

Currently, if you try to add a:

    snappy-metadata: meta

to your snapcraft.yaml, you'll see an error [1]. Turns out the metadata is now expected in the snapcraft.yaml itself, so README updated to match that after testing locally.

[1] http://paste.ubuntu.com/12270254/

To post a comment you must log in.
152. By Michael Nelson

Update your-first-snap now that metadata is in the snapcraft.yaml file itself.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

it all looks good, thanks, just maybe pick a different a icon?

153. By Michael Nelson

Switch example icon to text-x-apport.png

Revision history for this message
Michael Nelson (michael.nelson) wrote :

On Mon, Sep 7, 2015 at 11:21 PM Sergio Schvezov <
<email address hidden>> wrote:

> it all looks good, thanks, just maybe pick a different a icon?
>
> Diff comments:
>
> > === modified file 'docs/your-first-snap.md'
> > --- docs/your-first-snap.md 2015-08-05 13:38:39 +0000
> > +++ docs/your-first-snap.md 2015-09-04 03:24:38 +0000
> > @@ -213,9 +205,12 @@
> > plugin: copy
> > files:
> > webcam-webui: bin/webcam-webui
> > - snappy-metadata: meta
> > -
> > -And tell Snapcraft to actually make the snap package:
> > +
> > +Copy a png icon of your choice into your current directory:
> > +
> > + $ cp /usr/share/icons/hicolor/256x256/apps/unity-datetime-panel.png
> ./icon.png
>
> how about a different icon?
>
>
Done. It's just an example to run the demo (as the icon is now required),
but I've switch it
to /usr/share/icons/hicolor/64/mimetypes/text-x-apport.png

Revision history for this message
Sergio Schvezov (sergiusens) :
review: Approve
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Ok, thanks! I'll improve snapcraft init to get a 'template' of the required fields soon, it's one of the reasons I disabled daily builds as of yet.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches