← Back to issue list

Remove project injection from the pluginhandler

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1796668
Type
issue
State
closed
Author
~sergiusens
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Removed pluginhandler legacy project injection for the Snapcraft 3.0 API break; the maintainer linked resolving PR snapcore/snapcraft#2329.

Resolution: closed resolved

Reason: The maintainer linked snapcore/snapcraft#2329 as the resolution to remove backwards-compatible project injection now that Snapcraft 3.0 permits an API break.

Evaluated by: mr-cal-bot

No scores available.

Issue body

To not break API back then, and when project was introduced, we had logic to inject it to avoid backwards incompatibilities. With 3.0 we can afford to break this.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Removed pluginhandler legacy project injection for the Snapcraft 3.0 API break; the maintainer linked resolving PR snapcore/snapcraft#2329.
stealth/space-bunny-alpha — closed resolved Project injection was removed from pluginhandler in merged PR canonical/snapcraft#2329 (commit 9eef2b553), eliminating legacy plugin loading without a project after bases.
stealth/space-bunny-alpha — closed resolved Resolved in PR #2329 (commit 9eef2b553): removed projectless legacy plugin loading from the pluginhandler for Snapcraft 3.0.
qwen/qwen3.6-35b-a3b — — Legacy project injection logic was removed from the pluginhandler to eliminate backwards compatibility workarounds. The task was resolved and implemented for the 3.0 release.
qwen/qwen3.6-35b-a3b — — Implemented removal of backwards compatibility project injection from the pluginhandler to allow API breaking changes in version 3.0. The change was applied and the issue closed.
qwen/qwen3.6-35b-a3b — — Resolved by removing legacy project injection from pluginhandler, eliminating backwards compatibility workarounds to enable breaking changes in version 3.0.
qwen3.6-35b-a3b-mtp-q6 — — Closed as implemented for version 3.0. Legacy project injection in the pluginhandler was removed to break backward compatibility and simplify the codebase.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2329 (confidence 98%)

    The issue author explicitly linked this PR in the closing update.

Related issues

Issue Project State Summary Similarity
#2329 pluginhandler: remove legacy plugin loading without project snapcraft merged PR snapcore/snapcraft#2329 by sergiusens merged into master as commit 9eef2b553, deleting legacy plugin loading paths that built plugins without a Project (LP #1796668), made obsolete by the bases migration.
80%