Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Remove bundles that have OSGi metadata upstream #25

Closed
14 of 29 tasks
jonahgraham opened this issue Jun 29, 2023 · 11 comments
Closed
14 of 29 tasks

Remove bundles that have OSGi metadata upstream #25

jonahgraham opened this issue Jun 29, 2023 · 11 comments
Assignees

Comments

@jonahgraham
Copy link
Contributor

jonahgraham commented Jun 29, 2023

For a long time Orbit's re-bundling was the way to get third-party libraries from Maven into an Eclipse p2 consumable state.

For a while now there has been a better way for getting third-party dependencies that already contains OSGi metadata. That is to use the M2E's maven target locations and sign the bundles with PGP instead of jarsigning. There has been much communication on mailing lists and in issues on this topic in the the last couple of years.

The next step now is to stop maintaining the Orbit bundles that rewrite the OSGi metadata when the upstream bundle has the OSGi metadata in it correctly already.

The goal is to have the first step of this process done for 2023-09 M1 by removing the bundles. In addition @merks's work in https://github.com/eclipse-oomph/oomph.incubator will be migrated into the Orbit project so that Orbit provides p2 repos with the PGP signed third-party dependencies already in them.

Here are the bundles that have valid OSGi metadata in the upstream version that we plan to remove. This list will be added to as we vet additional bundles.

@jonahgraham jonahgraham self-assigned this Jun 29, 2023
@jonahgraham
Copy link
Contributor Author

I will be adding to the description of this issue a check-list covering all the items we plan on removing.

@jonahgraham
Copy link
Contributor Author

In the first instance I will be pruning out all the items listed in the target platforms for the projects consuming from maven central and contributing to simrel already, such as platform, tm4e, etc. See https://github.com/eclipse-oomph/oomph.incubator/tree/master/maven/org.eclipse.oomph.maven.generator/report for the source that I am using.

jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
The contents of this bundle was actually jakarata.annotation 1.3.5

Part of eclipse-orbit#25
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
For some reason with JNA the old versions did not get deleted
as we went along. The Eclipse Platform is using/shipping
5.13 which is newer than any of the versions in Orbit

Part of eclipse-orbit#25
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit that referenced this issue Jun 29, 2023
Part of #25
Fixes #9
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit that referenced this issue Jun 29, 2023
jonahgraham added a commit that referenced this issue Jun 29, 2023
jonahgraham added a commit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 29, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 30, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 30, 2023
jonahgraham added a commit that referenced this issue Jun 30, 2023
jonahgraham added a commit that referenced this issue Jun 30, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 30, 2023
For now JNA 4.5.1 is kept because it is needed by httpclient4
which is still used by many consumers (ECF, Mylyn, User Storage)

Eclipse Platform is already using 5.13 which is newer than
latest in Orbit

Part of eclipse-orbit#25
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jun 30, 2023
For now JNA 4.5.1 is kept because it is needed by httpclient4
which is still used by many consumers (ECF, Mylyn, User Storage)

Eclipse Platform is already using 5.13 which is newer than
latest in Orbit

Part of eclipse-orbit#25
jonahgraham added a commit that referenced this issue Jul 1, 2023
For now JNA 4.5.1 is kept because it is needed by httpclient4
which is still used by many consumers (ECF, Mylyn, User Storage)

Eclipse Platform is already using 5.13 which is newer than
latest in Orbit

Part of #25
jonahgraham added a commit that referenced this issue Jul 1, 2023
jonahgraham added a commit to jonahgraham/orbit that referenced this issue Jul 1, 2023
Instead I will do the new work on a branch as I hadn't realized
that the new simrel-orbit was consuming the I-builds and projects
such as xtext are consuming simrel-orbit already.

Part of eclipse-orbit#25
@jonahgraham
Copy link
Contributor Author

@merks
Copy link
Contributor

merks commented Jul 25, 2023

@jonahgraham

FYI, I am creating a rather long list of exclusion rules, which is still a work in progress:

image

merks added a commit to eclipse-orbit/orbit-simrel that referenced this issue Jul 25, 2023
merks added a commit to eclipse-orbit/orbit-simrel that referenced this issue Jul 25, 2023
merks added a commit to eclipse-orbit/orbit-simrel that referenced this issue Jul 25, 2023
@cdietrich
Copy link
Contributor

Xtext uses classgraph
Also aopalliance (used by guice)
And junit 4.13.2
See eclipse-orbit/orbit-simrel#4

@merks
Copy link
Contributor

merks commented Jul 25, 2023

What is "classgraph"?

@merks
Copy link
Contributor

merks commented Jul 25, 2023

Maybe this?

image

@HannesWell
Copy link

Maybe this?

I believe that's the one, yes.

@cdietrich
Copy link
Contributor

cdietrich commented Jul 28, 2023

yes this is classgraph. it has osgi metadata as it looks like so we could update.
but i dont know when i can find time to work on it in Xtext side
if work is more than a bump

btw. with the guice 7 bump the guice thing is done. so is it about others depending on old guices?

@jonahgraham
Copy link
Contributor Author

Rather than handling it by removing bundles from EBR style Orbit (this repo) the new Orbit aggregation repo is excluding old bundles as they are replaced - see https://github.com/eclipse-orbit/orbit-simrel/blob/main/orbit-aggregation/orbit.aggr

@jonahgraham jonahgraham closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants