Unregister bultin plugins
Metadata
Current evaluation
Built-in plugin unregistration shipped in PR #726 (commit 2339c6e2, "feat: unregister plugins"), adding plugins.unregister()/unregister_all(); released in craft-parts 1.30.0.
Resolution: closed resolved
Reason: Merged PR #726 by mr-cal (commit 2339c6e2) added plugins.unregister() and redefined unregister_all() to reset to PluginGroup.DEFAULT, so apps can drop built-in plugins. Maintainer lengau closed the issue noting it was done in #726 and would be released shortly; the changelog for 1.30.0 lists "Add support for unregistering plugins".
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Add an option/function to unregister builtin plugins.
At the moment the [`unregister_all`](https://github.com/canonical/craft-parts/blob/0f5ec0ee704ef462e007437bce6c4749b318fab6/craft_parts/plugins/plugins.py#L119) function only unregister user-registered plugins.
### Why it needs to get done
We're working on a craft-application-based project that has no use for most of the builtin plugins.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Built-in plugin unregistration shipped in PR #726 (commit 2339c6e2, "feat: unregister plugins"), adding plugins.unregister()/unregister_all(); released in craft-parts 1.30.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Added support for unregistering built-in plugins; merged in canonical/craft-parts#726 as commit 2339c6e2. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #726. Implemented functionality to unregister builtin plugins, extending the unregister mechanism beyond user-registered plugins. Merged and scheduled for release. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved via pull request #726, adding functionality to unregister builtin plugins. This extends unregister_all beyond user-registered plugins. The issue is closed and the change is pending release. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PR #726. Implemented functionality to unregister builtin plugins alongside user-registered ones, enabling complete plugin clearing. Scheduled for release. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed by merging pull request #726. Added functionality to unregister builtin plugins, extending unregister_all to cover them. The issue is closed and awaiting release. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#726
(confidence 98%)
Merged PR implementing unregister()/unregister_all() in craft_parts/plugins/plugins.py; commit 2339c6e2.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #726 feat: unregister plugins | craft-parts | merged | Merged PR #726 (commit 2339c6e2) by mr-cal added plugins.unregister()/unregister_all() so apps can drop built-in plugins. Shipped in craft-parts 1.30.0 changelog: "Add support for unregistering plugins". | |
| #731 Do not register any plugins by default | craft-parts | closed | Plugin registration became configurable through merged PR #726 (commit 2339c6e2), adding APIs to unregister selected or all built-in plugins. |