| Summary: | use target file to specify repositories and exact version of non-platform prereqs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | David Williams <david_williams> |
| Component: | Releng | Assignee: | David Williams <david_williams> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, irbull, jan.sievers, krzysztof.daniel, l.kirchev, Lars.Vogel, pascal.rapicault, pwebster, t-oberlies, thanh.ha, tjwatson |
| Version: | 4.3.1 | ||
| Target Milestone: | 4.3.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 422302 | ||
| Bug Blocks: | 372792, 393922 | ||
|
Description
David Williams
I have now committed "exact prereq" target for master (Luna 4.4 builds) and also Kepler (4.3 SR2). The main commit for the maintenance stream was http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?h=R4_3_maintenance&id=a1070a5f2cf95fff3df7cd7ebb093f66a68a7588 You can search for commits related to "Bug 422366" on either stream, to find all commits related to this change. http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/log/?qt=grep&q=Bug+422366 To cross-reference, bug 422631 was caused by some of these changes, so required a change to the file we use to save "maven properties", but we were not really using those for anything (and the target file itself gives "the exact" URLs used, so no need to "save" those. Just to be fully document it here, there is/was one complication for the EMF repo URL -- it is actually used for two purposes, so it is left as a variable. To quote the comment in parent pom: <!-- NOTE: this EMF URL must "match" exactly what is in the eclipse-sdk-prereqs.target file. We use it (the EMF repo) not only for resolving pre-reqs during the build, but also in 'repository' POM for mirroring a copy of the EMF features into our own repository. This is required since we merely "require" EMF (not "include" it). And, of course, in the PDE target file, the URL is expected to be the actual URL, not a variable. --> <emf-repo.url>http://download.eclipse.org/modeling/emf/emf/updates/2.10milestones/base/S201310280429/</emf-repo.url> Also, just to document it, committers need to be aware that if they add a "prereq" (such as from Orbit) then the file eclipse-sdk-prereqs.target will need to be updated to specify the IU (and version). A bug should be open in releng when pre-reqs change. (And, it should be edited with text editor, since there are some comments in the file that we should try to maintain, at least for now) as well as we specify both "bundle IUs" and "feature IUs" and not sure the "target editor" can do both. [For routine cases, such as when we move to a new build of Orbit, release engineers will update the target file ... both the URL and the exact versions of pre-reqs ... if/when they change.]. In addition to providing better re-producible builds, the target file in the aggregator, eclipse-sdk-prereqs.target, can be used by developers directly in the IDE to "get" the pre-req bundles needed. This should be helpful in a number of use cases. |