← Back to issue list

feat: mark bundles as deprecated

View original Github issue

Metadata

Project
charmcraft
Number
#2227
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged as 8b2a2bb2: bundles are now marked deprecated for removal in Charmcraft 4; Charmcraft 3 remains available for packing bundles (CRAFT-4006). Lint fallout fixed in #2229.

Resolution: closed resolved

Reason: PR #2227 was merged into main as commit 8b2a2bb2 (approved by 2 reviewers, +4/-0 in 1 file), adding a deprecation notice for bundles ahead of their removal in Charmcraft 4. Lint issues the PR introduced were fixed in merged PR #2229.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bundles are deprecated and will be removed in Charmcraft 4. Charmcraft 3 will remain available for packing bundles. CRAFT-4006 Lint issues are fixed in https://github.com/canonical/charmcraft/pull/2229

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as 8b2a2bb2: bundles are now marked deprecated for removal in Charmcraft 4; Charmcraft 3 remains available for packing bundles (CRAFT-4006). Lint fallout fixed in #2229.
stealth/space-bunny-alpha — closed resolved Merged #2227 as 8b2a2bb2: bundles are now deprecated for removal in Charmcraft 4; Charmcraft 3 remains available for packing bundles.
stealth/space-bunny-alpha — closed resolved Merged #2227 (commit 8b2a2bb2), marking bundles as deprecated. They remain packable in Charmcraft 3 but are slated for removal in Charmcraft 4 under CRAFT-4006.
qwen/qwen3.6-35b-a3b — — Merged changes mark bundles as deprecated in Charmcraft, noting removal in version 4 while Charmcraft 3 remains available. Approved by two reviewers with passing CI checks, the update adds deprecation notices to a single file.
qwen3.6-35b-a3b-mtp-q6 — — Merged to mark bundles as deprecated ahead of removal in Charmcraft 4. Charmcraft 3 remains available for packing bundles. Lint issues were resolved in a separate pull request.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#2226 (confidence 95%)

    Companion PR marking the promote-bundle command deprecated for removal in Charmcraft 4 (commit 00815ec4), merged just before #2227.

  • Likely Fixed By: canonical/charmcraft#2229 (confidence 90%)

    PR explicitly cited in the body as fixing the lint issues introduced by this change.

  • Superseded By: canonical/charmcraft#2320 (confidence 88%)

    PR #2320 (commit 2cb4db71) later removed bundle features entirely in Charmcraft 4.0, completing the deprecation roadmap set out here.

Related issues

Issue Project State Summary Similarity
#2114 Mark the bundle plugin as deprecated charmcraft closed Bundle plugin deprecation shipped in merged PR #2227 (commit 8b2a2bb2). Packing remained supported in Charmcraft 3, then bundle features were removed for Charmcraft 4.0 by PR #2320.
85%
#2320 feat!(bundle): remove bundle features charmcraft merged Merged as commit 2cb4db71: bundle pack/commands removed from Charmcraft 4.0; `type: bundle` now errors pointing users to Charmcraft 3. Closes #1858 (CRAFT-3990/CHARMCRAFT-623).
81%
#2226 feat: mark the "promote-bundle" command as deprecated charmcraft merged Merged #2226 in commit 00815ec4, deprecating promote-bundle; the command remains in Charmcraft 3 and is slated for removal in 4.0.
80%
#2113 Mark bundle commands as deprecated charmcraft closed Bundle commands were marked deprecated in canonical/charmcraft#2227 (commit 8b2a2bb2); promote-bundle was deprecated separately by #2226 (commit 00815ec4).
79%
#1858 Remove bundle commands charmcraft closed Bundle-specific commands/features were removed in merged PR #2320 (commit 2cb4db71, "feat!(bundle): remove bundle features") for Charmcraft 4.0; `type: bundle` now errors pointing to Charmcraft 3, closing #1858.
76%
#2305 feat!(bundle): remove bundle-specific store commands charmcraft closed Closed unmerged as superseded by #2320, merged as 2cb4db71; it removed bundle features and store commands in Charmcraft 4, directing bundle users to Charmcraft 3.
73%
#1856 Warn about bundle registration going away charmcraft closed Bundle-registration discontinuation warning was added in merged PR canonical/charmcraft#1857 via commit 10fef1a1, resolving the requested Charmhub notice.
72%
#2341 Packing a bundle produces a zip that is rejected by charmhub charmcraft open Charmcraft 3.4.6 packs bundles with metadata.yaml instead of bundle.yaml, causing Charmhub rejection. Bundle features removed in Charmcraft 4.0; maintainer requested charmcraft.yaml with no response.
71%