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

Remove includes of 3rd party libraries from the org.eclipse.test feature #2228

Closed

Conversation

merks
Copy link
Contributor

@merks merks commented Aug 15, 2024

No description provided.

@merks
Copy link
Contributor Author

merks commented Aug 15, 2024

This is similar to eclipse-jdt/eclipse.jdt#107

In this case though, the two selected bundles:

image

are in the transitive closure of dependencies only because of inclusion in the feature:

image

image

Those could be converted to imports instead of include, but then I'm not entirely sure of the purpose of the test feature...

@akurtakov
Copy link
Member

Actually this feature is used to install all the test deps from p2 repo in order to make working on tests easy. Unfortunately I am not aware of another way of "install tests dependencies from I-build at once" and nothing in the feature actually requires these third party deps.

@merks
Copy link
Contributor Author

merks commented Aug 15, 2024

Actually this feature is used to install all the test deps from p2 repo in order to make working on tests easy. Unfortunately I am not aware of another way of "install tests dependencies from I-build at once" and nothing in the feature actually requires these third party deps.

Note that all the other dependencies are transitively required, e.g.,

image

The only goal of this PR is to avoid needing to touch the feature when one of the 3rd party bundles is updated, so converting those two that are not in the transitive closure would also accomplish that goal. Or converting all of them to imports would also be fine accomplish the goal.

I'm curious to see the result of the build.

I'll mark this as a draft for the time being.

@merks merks marked this pull request as draft August 15, 2024 08:54
@merks
Copy link
Contributor Author

merks commented Aug 15, 2024

The build itself passed, but that doesn't mean haven't made the test feature less useful but these changes?

@akurtakov

What do you suggest here?

  • Keep these changes?
  • Convert the ones that will be transitively missing to imports?
  • Convert all to imports?

When to do this?

  • Now?
  • M1

@akurtakov
Copy link
Member

Convert the transitively misisng ones to imports for M1 is best IMO.

@akurtakov
Copy link
Member

It's best time to act on this one. Note that when converted to import it still has to be verified that the dependencies are in the produced p2 repo.

@merks
Copy link
Contributor Author

merks commented Sep 10, 2024

I created a new PR failing to update this one:

#2332

@merks merks closed this Sep 10, 2024
@merks merks deleted the pr-test-feature-remove-3rd-party branch September 10, 2024 16:37
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

Successfully merging this pull request may close these issues.

2 participants