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

Add a mojo that generates a target platform from the current reactor #3511

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Feb 15, 2024

If one currently uses p2 repositories in Tycho this is quite convenient as Tycho just fetches what ever is required by the project. As PDE has no such feature yet, it is on the other hand not very usable in the IDE itself or one needs to manage a second target platform for development.

This now adds a new tycho-dependency-tools-plugin:generate-target mojo that collects all dependencies of the reactor, maps them to update sites whenever possible and reduces the set then to the root units that are at the top of the dependency chain. Finally these units are tried to be matched to features of the site to finally select a set of units that are suitable for target resolution with planner.

If one currently uses p2 repositories in Tycho this is quite convenient
as Tycho just fetches what ever is required by the project. As PDE has
no such feature yet, it is on the other hand not very usable in the IDE
itself or one needs to manage a second target platform for development.

This now adds a new tycho-dependency-tools-plugin:generate-target mojo
that collects all dependencies of the reactor, maps them to update sites
whenever possible and reduces the set then to the root units that are at
the top of the dependency chain. Finally these units are tried to be
matched to features of the site to finally select a set of units that
are suitable for target resolution with planner.
@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Feb 15, 2024
@laeubi laeubi enabled auto-merge (rebase) February 15, 2024 17:13
@laeubi laeubi merged commit 644c52e into eclipse-tycho:main Feb 15, 2024
9 of 11 checks passed
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant