group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #07730
[Bug 1595184] Re: tools do not handled abbreviated toplevel slots and plugs syntax correctly
This bug was fixed in the package click-reviewers-tools - 0.44~16.04.1
---------------
click-reviewers-tools (0.44~16.04.1) xenial-proposed; urgency=medium
[ Jamie Strandboge ]
* data/apparmor-easyprof-ubuntu.json:
- add pulseaudio interface
- add bluetooth policy group for Touch for 15.04 and higher
- add location-observe and location-control
- move all core interfaces to 'common'
- add gsettings interface
- set home to auto-approve
- add mpris interface
- add camera interface
- add optical-drive interface
- add serial-port interface
- add content interface
* clickreviews/common.py:
- don't fail on libmvec.so since it comes from libc6 too (LP: #1584346)
- extend the regex to also match ld-linux-x86-64.so.2
* sr_common.py:
- update _verify_pkgname() and _verify_appname() to use the same regex as
in snapd and various tests
- update attributes to be slots or plugs side and cleanup code for
specifying attributes
* bin/click-review, clickreviews/modules.py: exit '1' if error with
init_object or running checks
* sr_lint.py:
- support 'environment' key in yaml (LP: #1583259)
- support 'confinement' key in yaml
* sr_security.py:
- specifying mpris slot should not warn
- adjust profile name length checks to use series 16 security label format
* run_tests: exit non-zero with failures, errors or unexpectedSuccesses
* cr_lint.py:
- 'puritine' is a known, but redflagged hook
- skip external symlinks and md5sums checks for puritine (since we expect
external symlinks and the hash checks fail on broken symlinks)
- 'puritine' hook should not be used with 'apparmor'
* clickreviews/apparmor_policy.py: adjust for rename of store team
(LP: #1608943)
[ Celso Providelo ]
* support for interface abbreviated syntax (LP: #1595184)
-- Jamie Strandboge <jamie@xxxxxxxxxx> Tue, 02 Aug 2016 08:43:31 -0500
** Changed in: click-reviewers-tools (Ubuntu Xenial)
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/1595184
Title:
tools do not handled abbreviated toplevel slots and plugs syntax
correctly
Status in Canonical Click Reviewers tools:
Fix Released
Status in click-reviewers-tools package in Ubuntu:
Fix Released
Status in click-reviewers-tools source package in Xenial:
Fix Released
Status in click-reviewers-tools source package in Yakkety:
Fix Released
Bug description:
[Impact]
This is already fixed in the store so the SRU is for users to not see this failure their local system.
[Test Case]
Attached is a test snap
$ snap-review ./snap-example-1595184_0_all.snap
./snap-example-1595184_0_all.snap: pass
[Regression Potential]
Regression potential is extremely low since this is already on production in the Ubuntu Store for many weeks.
= Original description =
This should be valid, but the review tools flag as an error:
apps:
networkmanager:
command: command-networkmanager.wrapper
daemon: simple
slots:
- service
nmcli:
command: command-nmcli.wrapper
plugs:
- nmcli
architectures:
- amd64
confinement: strict
description: ...
name: network-manager
plugs:
nmcli: network-manager
slots:
service: network-manager
summary: Network management framework
version: 1.2.2-1
With the above, the tools error with:
unknown interface 'service' lint-snap-v2_slots (service, service)
unknown interface 'nmcli' lint-snap-v2_plugs (nmcli, nmcli)
To manage notifications about this bug go to:
https://bugs.launchpad.net/click-reviewers-tools/+bug/1595184/+subscriptions