Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't connect interfaces automatically #10

Closed
kenvandine opened this issue Apr 5, 2022 · 3 comments
Closed

Doesn't connect interfaces automatically #10

kenvandine opened this issue Apr 5, 2022 · 3 comments
Assignees

Comments

@kenvandine
Copy link
Contributor

With rev 10 and snapd rev 15447 from edge, it doesn't automatically connect the greedy plugs

@jhenstridge
Copy link
Contributor

Ken mentioned the gtk-theme-yaru-mate and gtk-theme-pocillo snaps as problems. It doesn't look like either of them have a snap declaration to allow auto connect or greedy plugs:

$ snap known --remote snap-declaration series=16 snap-id=IdqpXws6k4Rf2238X9Fi294b8HXGREXz
type: snap-declaration
authority-id: canonical
series: 16
snap-id: IdqpXws6k4Rf2238X9Fi294b8HXGREXz
publisher-id: nyjFDUxZVxBIve0nuIPbU6uWOh8ZvrEE
snap-name: gtk-theme-yaru-mate
timestamp: 2021-03-31T19:03:54.357669Z
sign-key-sha3-384: BWDEoaqyr25nF5SNCvEv2v7QnM9QsfCc0PBMYD_i2NGSQ32EF2d4D0hqUel3m8ul
...
$ snap known --remote snap-declaration series=16 snap-id=sg77DMY50LWlDJkQ9DKtJburFwYzti0n
type: snap-declaration
authority-id: canonical
series: 16
snap-id: sg77DMY50LWlDJkQ9DKtJburFwYzti0n
publisher-id: t8QcP6ncup3o5o2J2jQexFJlv2n7Y3VI
snap-name: gtk-theme-pocillo
timestamp: 2020-06-08T21:05:20.681679Z
sign-key-sha3-384: BWDEoaqyr25nF5SNCvEv2v7QnM9QsfCc0PBMYD_i2NGSQ32EF2d4D0hqUel3m8ul
...

Compare this with gtk-theme-traditionalhumanized:

$ snap known --remote snap-declaration series=16 snap-id=JcEieEaWssvHBXLhtEvh0mdo9Q6Utoss
type: snap-declaration
format: 2
authority-id: canonical
revision: 1
series: 16
snap-id: JcEieEaWssvHBXLhtEvh0mdo9Q6Utoss
publisher-id: EH9A6Xg1QtCjYt4v3QlBVTPLAHDvEIn6
slots:
  content:
    allow-auto-connection:
      -
        plug-attributes:
          content: $SLOT(content)
        slot-attributes:
          content: gtk-3-themes
        slots-per-plug: *
      -
        plug-attributes:
          content: $SLOT(content)
        slot-attributes:
          content: gtk-2-themes
        slots-per-plug: *
snap-name: gtk-theme-traditionalhumanized
timestamp: 2020-09-08T21:58:40.222991Z
sign-key-sha3-384: BWDEoaqyr25nF5SNCvEv2v7QnM9QsfCc0PBMYD_i2NGSQ32EF2d4D0hqUel3m8ul
...

These other snaps would need to request a similar snap declaration in the store for auto-connection to occur. For reference, here is the request I made for gtk-common-themes and gtk-theme-traditionalhumanized:

https://forum.snapcraft.io/t/auto-connect-and-greedy-plug-behaviour-for-for-gtk-common-themes-and-gtk-theme-traditionalhumanized-snaps/19113?u=jamesh

@jhenstridge
Copy link
Contributor

Martin has requested the store assertion for the Ubuntu MATE theme snaps here:

https://forum.snapcraft.io/t/auto-connect-and-greedy-plug-behaviour-for-gtk-theme-yaru-mate-and-icon-theme-yaru-mate/29443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants