← Back to issue list

cli: restore --target-arch with warning for LXD and Multipass

View original Github issue

Metadata

Project
snapcraft
Number
#3175
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #3175 (b29e100eb), restoring --target-arch while warning that architecture targeting is unsupported for LXD and Multipass.

Resolution: closed resolved

Reason: PR #3175 was merged as commit b29e100eb, reversing the earlier disablement and clearly warning users about unsupported LXD and Multipass architecture targeting.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #3175 (b29e100eb), restoring --target-arch while warning that architecture targeting is unsupported for LXD and Multipass.
stealth/space-bunny-alpha — closed resolved Merged #3175 (commit b29e100eb), restoring --target-arch with a warning that architecture targeting is unsupported for LXD and Multipass.
qwen/qwen3.6-35b-a3b — — Restored the --target-arch CLI flag with a warning for LXD and Multipass. Merged after single reviewer approval with minimal changes across two files.
qwen3.6-35b-a3b-mtp-q6 — — Merged pull request restoring the --target-arch CLI flag with a warning for LXD and Multipass. The change was accepted and integrated into the main branch without additional discussion.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#3151 (confidence 98%)

    Earlier merged commit 8942d89d2 disabled --target-arch on core20 before support was restored.

  • Related To: snapcraft#3152 (confidence 96%)

    Earlier PR disabled --target-arch for Multipass and LXD because it had no effect.

  • Related To: snapcraft#3172 (confidence 95%)

    Earlier attempt with the same purpose was closed after the change landed through #3175.

Related issues

Issue Project State Summary Similarity
#3172 cli: restore --target-arch with warning for LXD and Multipass snapcraft closed Closed unmerged; its change landed as #3175 (commit b29e100eb), restoring --target-arch for LXD/Multipass with a warning, followed by fix #3181 (9346aa623).
95%
#3152 cli: disable --target-arch for multipass/lxd snapcraft merged PR #3152 merged as commit 2dd5e5d1e, hiding/disabling the --target-arch option for Multipass and LXD builds because it had no effect; follow-up PR #3175 later restored it with a deprecation warning.
83%