← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1589613] Re: Snap app names are too permissive

 

** 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/1589613

Title:
  Snap app names are too permissive

Status in Canonical Click Reviewers tools:
  Invalid
Status in Snapcraft:
  Fix Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapd package in Ubuntu:
  Fix Committed
Status in The Xenial Xerus:
  New
Status in snapcraft source package in Xenial:
  Fix Committed
Status in snapd source package in Xenial:
  Confirmed
Status in The Yakkety Yak:
  New
Status in snapcraft source package in Yakkety:
  Fix Released
Status in snapd source package in Yakkety:
  Fix Committed

Bug description:
  Currently snapd accepts app names that can cause issues in the rest of
  the system (e.g. invalid apparmor profiles like "myapp/", or clashing
  with hook names). These should be more restrictive: the current
  recommendation is `^[a-zA-Z0-9](?:-?[a-zA-Z0-9])*$`.

  [Impact]

   * snaps with invalid names are generated and installable.

   * blocking problems earlier will make the experience better.

  [Test Case]

   * For snapcraft: make a snapcraft.yaml with an invalid name, and run
  snapcraft.

   * For snappy: make a snap with an invalid name, and try to install
  it.

  [Regression Potential]

   * Valid names could be affected. Run some tests on valid names too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/click-reviewers-tools/+bug/1589613/+subscriptions