-
Notifications
You must be signed in to change notification settings - Fork 83
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
Create a p2 repo with PDE content #826
Conversation
Thanks Mickael for your effort, but can we please first work-out a more concrete plan and more specific what the goals are. |
<feature id="org.eclipse.pde.unittest.junit" version="0.0.0"/> | ||
<feature id="org.eclipse.pde.unittest.junit.source" version="0.0.0"/> | ||
<!-- Tests --> | ||
<bundle id="org.eclipse.pde.ua.tests"/> |
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.
do we need the tests in the site? if yes can we probably move them to a dedicated category?
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.
Looks good but maybe a categorization (PDE / Source / Test) would be good, also we should add a deploy step to the Jenkinsfile when build on master.
This depends on how PDE's test should be run in what are now the integration-tests of the I-builds.
Yes, but we need the target URL for that. Furthermore we have to decide if we want to add all dependencies as references to make it virtually self-contained: Additionally I think it would be good to move the category.xml into a dedicated project (like Because all of these questions I think it would be good to first have a more concrete plan what we want to achieve on the short and long term. |
We do seem to be putting the cart before the horse here... Here's a first attempt at a dependency graph. JDT depends on PDE, but only for the tests: There are many more Platform dependencies on PDE. Forgetting for the moment about feature and test dependencies (there are many of those) for the moment, I see these: Probably we need a more coherent overall plan and strategy that is well-informed and is based on a good factual and detailed understanding of the dependencies so that we can understand the end goal and how best to achieve it. |
We do need to start somewhere. The repository was the simplest entry point. About the e4 tools, shouldn't we move those to PDE? |
Not the plan what we actually want to achieve & which steps do we need for that?
I fully agree with that. |
I think this was mostly because of some spie implementations, in general I agree that we should move things where they belong, Platform/E4 is already a horrific dependency hell ... I think you recently moved already some file with history from one repo to another, maybe you can share the exact commands used here so it lowers the barrier for people to perform such move. Beside that, platform depends on many stuff, nevertheless we build "the whole world" in the aggregator, so even if there are dependencies this does not mean we can't pull the thing out of the aggregator build. |
For the context, this PR comes as a reaction to eclipse-platform/eclipse.platform.releng.aggregator#1472 where the "plan" (or more the brainstorming at this stage) is discussed. |
I strongly believe we should accept such changes and use their output to form fact based decisions. After all as long as no modifications to content at https://download.eclipse.org/eclipse/downloads/index.html happens due to these changes they are harmless. |
@laeubi About moving subparts of a Git repo with history, I've posted an how-to on the mailing-list: https://www.eclipse.org/lists/eclipse-dev/msg12214.html |
@mickaelistria can you please categorize the items and add a deployment to the eclipse server?
I think it is enough if it contains everything produced by PDE for now.
It already is a dedicated project named "repository" what seems suitable as we most likely won't produce multiple sites
Conceptually updatesites don't belong to the
Targets belong to the |
But what information do we gain from this that we don't have yet?
That's right, but I spend a lot of time to clean stuff up and I therefore would like to avoid having new things, that might need clean-up again in case the aggregator split is not fully executed. I don't say this is wrong, I just say I think it is too early for this now, but I'm happy to leave this open. And when we have agreed upon that PDE needs to publish into its own p2-repo, there are the following questions that have to be answered and should be implemented with this PR:
Isn't the term
If Tycho just requires the path/file name, can't it just point down into a folder? Having the target in a .project allows to import the target-project without the need to import the entire root project in the workspace. |
Don't think so,
releng is not a standard folder recognized by Tycho and is usually not required. |
@mickaelistria can you rebase? As it is mentioned here it seems quite consensual that "we need a p2 site", so should we proceed on this ad if yes I think it should include a deployment step on master branch in Jenkinsfile. |
a1f299c
to
9576865
Compare
I've rebaed and added some configuration to Jenkinsfile so repo would be available from ci.eclipse.org. That should allow easy testing of latest master at least. |
9576865
to
7b1487a
Compare
With this change, a p2 repo is available att https://ci.eclipse.org/pde/job/eclipse.pde/job/PR-826/3/artifact/repository/target/repository/ . When this gets merged then https://ci.eclipse.org/pde/job/eclipse.pde/job/master/lastSuccessfulBuild/artifact/repository/target/repository/ will contain latest build output (and then we can test it a bit more easily and discuss whether todeploy it somewhere like download.eclipse.org/pde ) |
7b1487a
to
9378d25
Compare
The test failures are actually compile warnings and are caused by respecting project settings now. Merging this one. |
No description provided.