← Back to issue list

extensions: remove root extensions

View original Github issue

Metadata

Project
snapcraft
Number
#2348
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Root extension declarations were removed in merged PR #2348 (commit 71959b3ca), deferring application semantics and resolving LP #1797631.

Resolution: closed resolved

Reason: PR #2348 was merged as commit 71959b3ca, removing support for extensions declared at the snap root. This resolved LP #1797631 by deferring the unclear decision of whether they apply to all apps or only apps without their own extensions.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? ----- It's not clear how root extensions should be applied: to all apps? To apps that don't declare their own extensions? This PR resolves [LP: #1797631](https://bugs.launchpad.net/snapcraft/+bug/1797631) by holding off on that decision until we see how extensions are used, and removing the ability to declare extensions in the root for now.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Root extension declarations were removed in merged PR #2348 (commit 71959b3ca), deferring application semantics and resolving LP #1797631.
stealth/space-bunny-alpha — closed resolved Merged #2348 in commit 71959b3ca, removing root extension declarations and deferring their application semantics pending clearer usage.
stealth/space-bunny-alpha — closed resolved Merged PR #2348 (commit 71959b3ca) removed root extensions, resolving LP #1797631 by limiting extensions to apps until their semantics were agreed.
stealth/space-bunny-alpha — closed resolved Merged PR #2348 as commit 71959b3ca, removing root-level extension declarations and deferring their application semantics.
stealth/space-bunny-alpha — closed resolved Merged as commit 71959b3ca ("extensions: remove root extensions (#2348)"), deleting the ability to declare extensions at the snap root, resolving LP: #1797631 by deferring root-extension semantics.
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#2348, removing root extension declarations and deferring their application semantics to resolve LP #1797631.
qwen/qwen3.6-35b-a3b — — Merged removal of root extension declarations from snapcraft.yaml. Resolves LP #1797631 by deferring application scope decisions until usage patterns clarify. Approved by maintainer, passed CI, and modified two files.
qwen3.6-35b-a3b-mtp-q6 — — Root extension declarations removed from snapcraft.yaml to resolve ambiguity regarding their application scope. Implementation deferred until usage patterns clarify behavior, addressing LP: #1797631. Merged with 100% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1797631 Remove root extensions property snapcraft (launchpad) closed Removed root-level extensions support in snapcore/snapcraft#2348, merged as commit 71959b3ca.
74%
#2347 extensions: support adding root properties snapcraft merged Merged PR #2347 as commit 482bffb1c, allowing extensions to add root-level snapcraft.yaml properties such as plugs and slots; resolves LP #1794531.
71%