Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote build: filter build plan with --platform or --build-for #4992

Open
mr-cal opened this issue Aug 21, 2024 · 1 comment
Open

remote build: filter build plan with --platform or --build-for #4992

mr-cal opened this issue Aug 21, 2024 · 1 comment
Labels
enhancement New features or optimizations triaged

Comments

@mr-cal
Copy link
Collaborator

mr-cal commented Aug 21, 2024

What needs to get done

Work with the launchpad team to design a solution (craft-platforms may help here) as this will require changes in both Snapcraft and Launchpad.

--platform and --build-for will have to support both of the following disparate behaviors:

Behavior 1: Lifecycle command

If there is a platform or architectures definition in the project metadata, --platform or --build-for should filter down the build plan.

Behavior 2: Legacy remote builder

If there is not a platforms or architectures definition in the project metadata, --platform or --build-for should define the build-for architectures for Launchpad to build.

Why it needs to get done

To improve the usability of the remote-builder.

A reoccurring complaint is that the project metadata must be edited to remote-build for a single architecture.

@mr-cal mr-cal added enhancement New features or optimizations triaged labels Aug 21, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3277.

This message was autogenerated

@mr-cal mr-cal changed the title Support filtering a platforms or architectures definition for remote-build remote build: filter build plan with --platform or --build-for Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or optimizations triaged
Projects
None yet
Development

No branches or pull requests

1 participant