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

Rework how target platform environments work #3500

Open
laeubi opened this issue Feb 11, 2024 · 0 comments
Open

Rework how target platform environments work #3500

laeubi opened this issue Feb 11, 2024 · 0 comments
Milestone

Comments

@laeubi
Copy link
Member

laeubi commented Feb 11, 2024

Currently one has to configure target environments rather globally and then they are used to resolve all projects, this currently leads to the situation that each project resolved the same things multiple times. Also if there is a platform filter one still needs to configure one even though the target is known. There is only one place where different environments are relevant and that is for building a product with different natives.

My proposal is to change the behavior so what we already have at some places:

  1. If a platform filter is there use that as the target to resolve dependencies
  2. Otherwhise use the current running target it it matches any of the configured environments
  3. Use all configured ones if it does not match

with the exception of products, but there it should be considered to simply allow to configure additional environments in the materialize-product mojo instead of have them globally.

@laeubi laeubi added this to the 5.0 milestone Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant