← Back to issue list

remote build: deprecate `--build-for`

View original Github issue

Metadata

Project
snapcraft
Number
#5435
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
2025-04-24 19:17:47+00:00
Updated
2026-01-28 18:34:00+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done * Add a warning that `--build-for` is deprecated for `snapcraft remote-build` * Hide `--build-for` from the help text ### Why it needs to get done * To align with the upstream remote build command in Craft Application * To align with rockcraft and charmcraft's remote build commands * It has a significant limitations due to Launchpad's API and forces snapcraft to add many restrictions to valid platform defintions * `--build-for` is planned to be deprecated in Craft Application This is blocked by a migration to Launchpad's new build farm where we will be able to provide proper support for the `--platform` arg in remote builds.

Evaluation history

No evaluation history available.