← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1578231] Re: Your first snap: Use of icon in snapcraft.yaml is deprecated

 

** Changed in: snapcraft
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1578231

Title:
  Your first snap: Use of icon in snapcraft.yaml is deprecated

Status in Ubuntu Developer Portal:
  Fix Released
Status in Snapcraft:
  Fix Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Committed
Status in snapcraft source package in Yakkety:
  Fix Released

Bug description:
  https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/

  In the last example snapscraft.yaml file icon: icon.png is listed.
  This has now been deprecated so the tutorial needs updating.

  Instead, the github docs state the following:

  Snap icon

  Providing an icon for your snap is important, even for command-line
  applications, if for nothing else than discoverability from management
  interfaces such as store fronts like webdm.

  To use an icon to represent the snap, just drop a PNG or SVG in
  setup/gui named icon.png for the former or icon.svg for the latter
  such that the (reduced) project tree would look like:

    setup/gui/icon.png
    snapcraft.yaml

  or

    setup/gui/icon.svg
    snapcraft.yaml

  [Impact]

   * The documentation is outdated and misleading.

   * This doc will end up in developer.ubuntu.com.

  [Test Case]

   * N/A.

  [Regression Potential]

   * None, just a documentation change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-ubuntu-com/+bug/1578231/+subscriptions