← Back to issue list

Backwards compatible clean with strip

View original Github issue

Metadata

Project
snapcraft
Number
#556
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #556 via commit 83de1df03, making clean -s strip call prime with a deprecation warning; released in snapcraft 2.10.1.

Resolution: closed resolved

Reason: PR #556 restored backward compatibility for the strip clean option after strip was renamed to prime. Commit 83de1df03 implemented the alias and warning, resolving Launchpad bug #1590256.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Automatically switches to call in prime and prints a deprecation warning. LP: #1590256 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #556 via commit 83de1df03, making clean -s strip call prime with a deprecation warning; released in snapcraft 2.10.1.
stealth/space-bunny-alpha — closed resolved Merged PR #556 added backward-compatible clean handling: prime now uses call and prints a deprecation warning, addressing LP #1590256.
qwen/qwen3.6-35b-a3b — — Merged backwards compatible clean with strip implementation. Automatically switches to call in prime and prints a deprecation warning. Resolves LP #1590256. Approved by maintainers and merged after checks passed.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Automatically switches clean to call in prime and prints a deprecation warning for backwards compatibility with strip. Approved by reviewers and merged.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#543 (confidence 99%)

    Merged PR #543 renamed strip to prime, prompting the compatibility follow-up.

Related issues

Issue Project State Summary Similarity
#1590256 snapcraft clean -s strip doesn't show the deprecation message snapcraft (launchpad) closed Fixed by ubuntu-core/snapcraft PR #556 (commit 83de1df03), released in snapcraft 2.10.1 to xenial -updates; verified by ~elopio and closed as fixed.
74%
#1794855 Remove snap and strip keyword snapcraft (launchpad) closed Merged snapcore/snapcraft#2344 (commit f2cdc5e8a) removed deprecated snap/strip keyword handling, leaving prime as intended.
73%
#1582515 strip phase name is not great snapcraft (launchpad) closed Renamed the lifecycle step/directory 'strip' to 'prime' via snapcraft PR #543 (commit 1540773f1), shipping in snapcraft 2.10; 'strip' kept as a deprecated alias. Follow-up #556 (83de1df03, 2.10.1) fixed clean --step=strip.
71%