-
Notifications
You must be signed in to change notification settings - Fork 89
[Build] Restore compressed content.xml for platform repository #3187
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
[Build] Restore compressed content.xml for platform repository #3187
Conversation
0852cd8 to
0000663
Compare
| <iu> | ||
| <query> | ||
| <expression type="match">id == 'org.eclipse.equinox.executable'</expression> | ||
| </query> | ||
| </iu> |
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.
This is an alternative approach to explicitly include the org.eclipse.equinox.executable generated by Equinox.
I copied this approach (and simplified it) from
https://github.com/eclipse-m2e/m2e-core/blob/f64b9290f2e3dd0c7b6f14a185edc36286590933/org.eclipse.m2e.repository/category.xml#L21-L30
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.
That's certainly MUCH simpler!
Include the additional IU 'org.eclipse.equinox.executable' directly in the platform P2-repository via the defining 'category.xml'. This avoids the post-processing of the raw 'content.xml' file using an XSL transformation and consequently ensures the 'content.xml' is only provided in compressed form as 'content.jar' and 'content.xml.xz'. Due to the previous post-processing the content.xml was only provided uncompressed, which increases the load on the download-server, slows down metadata downloads and also complicates the RelEng process. Fixes eclipse-platform#1912
0000663 to
efacec9
Compare
|
The build is successful and the resulting So everything looks good and this is ready for submission. @MohananRahul, with this applied, the (manually defined) Jenkins job to recreate the compressed artifacts is obsolete and I'll delete it: As far as I can tell, it was never documented that this is to be run for milestone, RC and GA builds, so nothing has to be cleaned up in this regard. |
|
That’s really great. 👍 |
60ed872 to
efacec9
Compare
Include the additional IU 'org.eclipse.equinox.executable' directly in the platform P2-repository via the defining 'category.xml'. This avoids the post-processing of the raw 'content.xml' file using an XSL transformation and consequently ensures the 'content.xml' is only provided in compressed form as 'content.jar' and 'content.xml.xz'. Due to the previous post-processing the content.xml was only provided uncompressed, which increases the load on the download-server, slows down metadata downloads and also complicates the RelEng process. Fixes eclipse-platform#1912 This was originally introduced via - eclipse-platform#3187 and reverted due to a regression in I-builds via - eclipse-platform#3189 As the cause of that regression is fixed, the change is introduced again unchanged and This reverts commit d4d0542.
Include the additional IU 'org.eclipse.equinox.executable' directly in the platform P2-repository via the defining 'category.xml'. This avoids the post-processing of the raw 'content.xml' file using an XSL transformation and consequently ensures the 'content.xml' is only provided in compressed form as 'content.jar' and 'content.xml.xz'. Due to the previous post-processing the content.xml was only provided uncompressed, which increases the load on the download-server, slows down metadata downloads and also complicates the RelEng process. Fixes eclipse-platform#1912 This was originally introduced via - eclipse-platform#3187 and reverted due to a regression in I-builds via - eclipse-platform#3189 As the cause of that regression is fixed, the change is introduced again unchanged and This reverts commit d4d0542.
Include the additional IU 'org.eclipse.equinox.executable' directly in the platform P2-repository via the defining 'category.xml'. This avoids the post-processing of the raw 'content.xml' file using an XSL transformation and consequently ensures the 'content.xml' is only provided in compressed form as 'content.jar' and 'content.xml.xz'. Due to the previous post-processing the content.xml was only provided uncompressed, which increases the load on the download-server, slows down metadata downloads and also complicates the RelEng process. Fixes #1912 This was originally introduced via - #3187 and reverted due to a regression in I-builds via - #3189 As the cause of that regression is fixed, the change is introduced again unchanged and This reverts commit d4d0542.
Include the additional IU
org.eclipse.equinox.executabledirectly in the platform P2-repository via the definingcategory.xml. This avoids the post-processing of the rawcontent.xmlfile using an XSL transformation and consequently ensures thecontent.xmlis only provided in compressed form as 'content.jar' andcontent.xml.xz.Due to the previous post-processing the
content.xmlwas only provided uncompressed, which increases the load on the download-server, slows down metadata downloads and also complicates the RelEng process.Fixes #1912