Plugs/Slots implicit assignment should be deprecated for `base: core24`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
When you use a statement like:
```
plugs:
interface:
slots:
interface:
```
You get warnings:
```
Warning: implicit plug assignment in 'interface'. Plugs should be assigned to the app to which they apply, and not implicitly assigned via the global 'plugs:' stanza which is intended for configuration only.
(Reference: https:/
```
```
Warning: implicit slot assignment in 'interface'. Slots should be assigned to the app to which they apply, and not implicitly assigned via the global 'slots:' stanza which is intended for configuration only.
(Reference: https:/
```
But if your connection is configured, like below, the warning is gone, but the connection still gets acted on:
```
plugs:
content-foo:
interface: content
```
With `base: core24` incoming, we should probably deprecate implicit connection definitions altogether, or at least make things consistent and warn about unused, configured, connections.