-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix 6403 - add an automatic generated maven deployable p2 site #6404
Conversation
I think it's a good idea if this can automatically make a p2 repo, it would save some folks a lot of time from curating the hand-crafted deployment scripts etc. Which jetty jars will be included? Everything? Some of them don't really make sense to deploy in osgi, eg |
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.
Some curation of which jars are p2-ified may be necessary.
@laeubi I just checked However, another question for you, from the consuming from |
The direct dependencies of what is installed need to be present or be provided by other sources, but a consumer of the repository (I won't expect actual users to use these repository directly to install something into eclipse) would usually only select a subset for installation. That said, it is also possible to provide additional (maven) dependencies with the site if they are already proper OSGi-Bundles, e.g. the servlet api, the slf4j api and so on to make this more convenient, as these are also only references to maven as well, this does not add any additional cost beside some few extra bytes in the meta-data. |
The result of a deployment of this branch looks like this ... Tree
Deployed File Sizes
Contents of Zip File
|
@laeubi I'm fine with this addition to jetty, just need the final release of the tycho plugin to give it the final thumbs up. |
@laeubi is there any plan to have soon a release 2.4.0 of the plugin? Because we are in the process of cutting soon a release of Jetty and we are not able to merge this PR. |
I'll bring this question to the mailinglist and let you know, if a release is scheduled it mostly takes 1-2 weeks for staging and test until the release is finally available, would this be sufficient? If not is there already a plan for the following release so we can plan to release at least for that? |
@laeubi I've moved this from our imminent release (10.0.6) to our next release (10.0.7) - we're supposedly in code-freeze now, so I don't want to try and shoe-horn in something that isn't quite ready yet. |
Thanks for the information, is there already a plan when 10.0.7 will be released? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale... tycho release is in progress... |
@laeubi no worries. we have a bot tagging old PR without activity but we do not close them. |
At the momment you need to checkout the jetty-repo and run a build with
You can then use If you like to sign unsigned artifacts in an update-site produced by any platform-project it is demonstrated here https://github.com/eclipse-m2e/m2e-core/blob/master/org.eclipse.m2e.site/pom.xml#L41 for m2e signing artifacts that are not form an already signed source (bnd project in this case). |
My interest is that the flow improve and that there is a single site to pull jetty from. The way the simrel how to respin for 2021-06 was not ideal. I appreciate the progress being made. The IDE WG steering committee has the signing issue at the top of the agenda for today's meeting, so hopefully we can progress there. |
@laeubi if you can resolve the conflicts, I think we can merge this PR. |
That's great, as next week there is a new P2 release I think I'll wait for this an dthe new tycho version so we are up-to date everywhere. |
@laeubi this PR cannot be merged, it has conflicts. |
Thanks for the hint I'll update it as soon as the updated tycho is released. |
@akurtakov and @laeubi The pack200 plugins have now been removed from branches : |
@laeubi we want to get Jetty 10.0.7 and 11.0.7 releases out in the next week (or two). If you can get us a non-snapshot plugin to use, then we can merge this PR and use it for these upcoming releases. |
@joakime we are currently prepare a new Tycho release that will be out (if no regressions are found) at end of next week, as soon as it is out I'll update the PR (most likely around 3. October) if thats not to late... |
We'll wait till Oct 1st for our Jetty 10.x and 11.x releases. |
Thanks for your patience, we are working hard to get the release out as soon as possible 👍 |
use the new tycho release
I have adjusted to use the latest tycho release and integrated the latest changes now. |
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.
Thanks @laeubi for this PR, it's ready to merge.
@laeubi thanks a lot for your hard work |
The next question is: how we get our hands on the p2 repo? |
@olamy thanks for adjusting the code, I was away for a few days... and of course thanks to all reviewers as well. Good to the see first pure maven-p2 updatesite will be available soon 🥇 @wimjongman for general usage information/URL layout you can take a look at the assemble-maven-repository description. For this particular case, if the jetty release is out you can access it with the following URL (given you use tycho or m2e): Just keep in mind that due to current PDE restrictions such an update site might require you to add at least one "traditional" update-site (e.g. the eclipse sdk) if you are using the planner mode, but this should be the usual case already for any non-trivial target-file. Let me know if you are facing any issues or like to suggest improvements. |
See #6403 for a full description of what this PR is about.
I create this as a draft, as the corresponding feature is not (yet) released, but to allow a preview/discussion of this request.