-
Notifications
You must be signed in to change notification settings - Fork 8
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 SLF4J Plugin from o.e.passage.lic.oshi feature #1127
Remove SLF4J Plugin from o.e.passage.lic.oshi feature #1127
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1127 +/- ##
=========================================
Coverage 33.58% 33.58%
Complexity 359 359
=========================================
Files 1161 1161
Lines 25738 25738
Branches 1592 1592
=========================================
Hits 8644 8644
Misses 16574 16574
Partials 520 520 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This bundle was added to guarantee that Passage update site is self-sufficient. Who will supply this bundle if we remove it from this feature @HannesWell ? |
In order to ensure that a p2-repo is self-contained I recommend to use includeAllDependencies of the The important part about the removal from the feature is, that Plugins included in feature are forced with that exact bundle-name and version into Products that install that feature. If it is not included Product-builders can overwrite the 'default' for example from the SimRel repo that will be fetched by P2 with a newer version. Nevertheless P2 will always ensure that there is one version available to satisfy all Plugin requirements. |
this link does not work. And, if you suggest this solution, shouldn't it be a part of this PR to satisfy self-containment requirement for SimRel contributions? |
977ac07
to
803278f
Compare
Indeed, the link changed with the Tycho 3.0.0 since the doc has a version since then.
I updated this PR to set But for example |
803278f
to
e8011c6
Compare
Only |
Understand. And moving slf4j from the |
e8011c6
to
1903fd5
Compare
Nope, this is not the case
This is why moving SLF4J from LIC to LBC will make a notable difference |
Maybe I'm using the wrong repositories but for example the
... does not resolve because of those errors: In a similar way the following target-definition does not resolve:
I have not checked all IUs from that repo but at least some seem not to be installable without other repos. However if you prefer to keep slf4j in the lic and ldc repo I can just add the slf4j plugin and its source directly to the repo definition. So if somebody needs it from one of those repositories, it is available, but not pulled into the SimRel repo because it is not in the feature anymore. |
1903fd5
to
6952e40
Compare
The same problematic also applies to the |
e375ff0
to
63e07d5
Compare
@ruspl-afed can we please proceed here as well? |
If a Feature includes a Plugin, it usually includes it with a specific name and the version that was in the TP when the feature was build. This prevents consumers from using a slf4j bundle with different symbolic-name or different version in their TP or product. This is part of eclipse-platform/eclipse.platform.releng.aggregator#588
If a Feature includes a Plugin, it usually includes it with a specific name and the version that was in the TP when the feature was build. This prevents consumers from using a log4j bundle with different symbolic-name or different version in their TP or product.
63e07d5
to
7d208fa
Compare
Any updates on this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently I don't have strong arguments against this one and we still have some room to test and revert it if things go wrong.
Thank you. |
If a Feature includes a Plugin, it usually includes it with a specific name and the version that was in the TP when the feature was build. This prevents consumers from using a slf4j bundle with different symbolic-name or different version in their TP or product.
This is part of eclipse-platform/eclipse.platform.releng.aggregator#588