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

Support a new mode for P2 target locations to include as much as possible #1616

Open
laeubi opened this issue Feb 13, 2025 · 2 comments
Open

Comments

@laeubi
Copy link
Contributor

laeubi commented Feb 13, 2025

Currently a P2 Location has only two modes:

  1. planner starting from the root IUs everything must resolve without any conflicts
  2. slicer only the root IUs are included

What often is missing would be a mode that includes "as much as possible" without performing a planner operation, just starting at the root IUs and traverse down to collect whatever can be found.

@merks
Copy link
Contributor

merks commented Feb 13, 2025

So like the transitive closure but without failure when the closure is not complete.

Oomph tries to do this (actually does this) this for targlets basically by taking all the metadata and transforming all requirements into optional greedy requirements and then using the planner which as a result of optional cannot fail and because of greedy resolves as much as possible...

@laeubi
Copy link
Contributor Author

laeubi commented Feb 13, 2025

Yes, what is used under the hood is not something a user would need to care, it should just help in some setup where I want to include something that is incomplete (from a planner point of view) and I still want to use some of the things can still bring in value.

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

2 participants