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 the handling of profiles #995

Merged
merged 1 commit into from Jun 7, 2022

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Jun 3, 2022

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Unit Test Results

263 tests   260 ✔️  44m 59s ⏱️
152 suites      3 💤
152 files        0

Results for commit 980ea62.

♻️ This comment has been updated with latest results.

@laeubi laeubi force-pushed the rework_profile_handling branch 2 times, most recently from f633925 to a08089d Compare June 3, 2022 18:11
@laeubi laeubi requested a review from akurtakov June 4, 2022 03:39
@laeubi laeubi force-pushed the rework_profile_handling branch 3 times, most recently from 7a02746 to 6297443 Compare June 4, 2022 03:56
@laeubi laeubi requested a review from Bananeweizen June 4, 2022 03:57
@laeubi
Copy link
Member Author

laeubi commented Jun 4, 2022

@akurtakov there is a "Java18ResolutionTest" that currently fails because the highest JDK available to our Jenkins build is java 17 (for github actions) I see the following options:

  1. we add java 18 as well to the toolchain of gh-action
  2. we simply drop that test unless we plan to upgrade to Java 19
  3. we add an ignore to that test

all other tests succeed, don'T know whats wrong with the jenkins CI ...

@akurtakov
Copy link
Member

I'm quite busy with 4.24/4.25 stream duties. Once done there I'll be back on tycho, hopefully @mickaelistria beats me to it.

@akurtakov
Copy link
Member

Adding Java 18 to the toolchain sounds best option to me.

@laeubi
Copy link
Member Author

laeubi commented Jun 4, 2022

Adding Java 18 to the toolchain sounds best option to me.

I have added Java 18 now.

@laeubi laeubi force-pushed the rework_profile_handling branch 2 times, most recently from 531cf4f to 3cd676d Compare June 4, 2022 09:28
@laeubi
Copy link
Member Author

laeubi commented Jun 4, 2022

Currently the setup-java task produces weird results: actions/setup-java#337 ...

@laeubi laeubi force-pushed the rework_profile_handling branch 3 times, most recently from 79d392c to d0cc04e Compare June 4, 2022 14:12
@laeubi
Copy link
Member Author

laeubi commented Jun 5, 2022

I disabled the Java 18 test for now unless either

is fixed, @eclipse/technology-tycho-committers would be good to express your support for any or both tickets to be fixed, this will essentially be useful for SWT as well.

@laeubi
Copy link
Member Author

laeubi commented Jun 5, 2022

@mickaelistria
Copy link
Contributor

I like the general idea and it's a natural continuation of other changed that have happened on this topic over last versions.

I believe there are some parts of this patch that could be isolated a bit as they are not really contributing directly to the goal and are more preliminary fix/cleanups. It would be nice if you can separate separate commits for those; that would greatly facilitate review and also history navigation when we need to look back at this change in the future..

@laeubi laeubi force-pushed the rework_profile_handling branch 2 times, most recently from bcf7de8 to ea4ecf1 Compare June 7, 2022 06:19
.github/workflows/maven.yml Outdated Show resolved Hide resolved
toolchains-gh.xml Outdated Show resolved Hide resolved
- do not embed any static profile
- compute the java packages based on the running vm and toolchains
- fall back to "higher" profiles if an exact match is not found
- do not validate BREEs against static list of names
- fix java 9 compatibility of ListSystemPackages
@laeubi
Copy link
Member Author

laeubi commented Jun 7, 2022

Rebased and remove unnecessary changes... @mickaelistria anything you think should be extracted or are we fine here?

@laeubi laeubi requested a review from mickaelistria June 7, 2022 11:18
@mickaelistria mickaelistria merged commit 7d59f33 into eclipse-tycho:master Jun 7, 2022
@mickaelistria
Copy link
Contributor

Thanks for this great change, it allows to support newer Java versions without need to change anything in Tycho. Awesome!

@laeubi laeubi added this to the 3.0 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants