← Back to issue list

remote builder: legacy help text should never be shown

View original Github issue

Metadata

Project
snapcraft
Number
#5713
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Closed as a no-op after #5676 was completed by merged PR #5994 (b08f1a66e), which removed the legacy remote builder and its core20 help path.

Resolution: closed superseded

Reason: The maintainer explicitly closed the item as a no-op once #5676 was complete. PR #5994, commit b08f1a66e, removed the legacy remote-builder selection logic and eliminated the path that exposed its help text.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done When in a core20 project directory, `snapcraft remote-build --help` will show the legacy help text. The modern help text should be shown instead. This is because the [logic to fall back](https://github.com/canonical/snapcraft/blob/aa2d9ef0d2663bda29e4885f573bb3a44cb24c51/snapcraft/application.py#L340) to the legacy remote builder executes before seeing if `--help` is defined. ### Why it needs to get done To improve the UX.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed as a no-op after #5676 was completed by merged PR #5994 (b08f1a66e), which removed the legacy remote builder and its core20 help path.
stealth/space-bunny-alpha — closed superseded Closed as a no-op: #5994 removed the legacy remote builder in commit b08f1a66e, completing #5676 and eliminating the core20-specific legacy help path.
qwen/qwen3.6-35b-a3b — — Marked won't fix. The legacy help text fallback will become a no-op when PR #5676 is completed, making this enhancement obsolete.
qwen/qwen3.6-35b-a3b — — Won't fix. The legacy help text fallback will become a no-op when PR #5676 completes, which addresses the underlying CLI normalization and fallback logic.
qwen/qwen3.6-35b-a3b — — Marked won't fix. The legacy help text fallback will become a no-op once PR #5676 completes the broader CLI normalization effort. Issue closed without implementation.
qwen3.6-35b-a3b-mtp-q6 — — Marked won't fix as it becomes a no-op once PR #5676 is completed. The legacy help text fallback will be resolved by that larger CLI normalization effort.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#5676 (confidence 100%)

    Removing the legacy remote builder made the targeted help-text fix unnecessary.

  • Likely Fixed By: canonical/snapcraft#5994 (confidence 100%)

    Merged as commit b08f1a66e; removed the legacy remote builder and selection logic.

Related issues

Issue Project State Summary Similarity
#5806 fix: show modern help text for remote-build --help in core20 projects snapcraft closed Closed unmerged: modern core20 remote-build help was rejected because it advertised flags unsupported by the legacy builder; #5994 later removed that builder.
79%
#5712 remote build: legacy builder should give a friendly error when passing `--project` snapcraft closed Closed as won't fix: maintainer mr-cal said the UX tweak wasn't critical because the legacy remote builder is being removed in Snapcraft 9. That removal landed in merged PR #5994 (commit b08f1a66e), closing #5676.
73%
#4842 remote build: document nuances of current and legacy remote builders snapcraft closed Remote-builder nuances were documented by PR #4882 (commit bd49f8db0), completing the documentation subtask split from #4842.
70%