Skip to content

Conversation

@HannesWell
Copy link
Member

@HannesWell HannesWell commented Dec 9, 2025

Replaces the PHP based build-drop and overview pages by pure html pages whoose data are injected through Java-script, read from JSON files.
The JSON files are generated during the I/Y-Builds and populated with corresponding data, to replace the server-side reading of files not available anymore with the PHP deprecation.
Additionally this has the advantage that developing the drop-websites is much simpler as one just as to launch a simple webserver from the sites directory that only has to serve static files. For example by using jwebserver (part of a JDK since Java-18).

The general website structure and layout is heavily based on the existing sites with only some small enhancements, e.g. by providing links to the Jenkins jobs of running tests and improving the display of runtimes and dates (which are now in UTC to be more international). Although I have ideas for further moderate improvements I do not plan to significantly change the current structure.

Fixes #2656

A preliminary state of the overview page can be found at the moment (the link will probably be dead in the later future):

Beware that the links to the individual drops are currently not working as they are created assuming the final location.

This is currently heavily work-in-progress, but I plan to complete it by the end of this week (more or less just in time) and want to share the current state already.
The main drop-page of a build is mostly completed and can be inspected locally by launching jwebserver from the sites/eclipse/build-page folder. Similarly the overview page can be inspected by launching jwebserver from sites/eclipse/overview-page. One can also launch jwebserver from the parent directory and select the corresponding folder.
For both sites the read JSON files are populated with test data.

Initially I intended to define the scaffolding of each site in markdown, but as that's actually not much content and the scaffolding itself is static and not regularly changed, I don't think it's actually an overall advantage. It requires extra dependencies and client-side rendering and therefore slows down page rendering plus it makes the page definition more distributed, which again slows down the rendering as more files have to be downloaded and makes developing more complex.
Therefore I intend to define also the scaffolding as plain HTML and only inject the data from the JSON files using JavaScript.

The following TODOs are pending:

  • Complete the testsResults.html page
  • The buildLogs.html page is not implemented, but mostly just listing log files
  • The testLogs.html page is not implemented, but mostly just listing log files
  • Generate TOC for non markdown files. Decide if we want to use the plain/simple or 'high-constrast' style
  • Fully discard markdown files
  • Complete generation of data files in the build
  • Implement Equinox page too
  • Clean-up of unused elements
  • Delete testresults folder to not keep them forever
  • Delete old website files
  • Replace images with high-res/svg icons (for later)

@HannesWell HannesWell force-pushed the migrate-drop-page-off-php branch 2 times, most recently from 8265473 to 2a050b6 Compare December 13, 2025 02:42
@HannesWell HannesWell marked this pull request as ready for review December 13, 2025 02:42
The individual content of all pages is defined in and read from JSON
files and replaced dynamically using JavaScript.
The JSON files are generated during the build or upon completion of
tests.

Missing parts:
- The page listing all test result logs is not implemented, instead of
link to the file-system folder is used.
- The promotion pipelines are not yet adapted to the new approach.

Fixes eclipse-platform#2656
@HannesWell HannesWell force-pushed the migrate-drop-page-off-php branch from 2a050b6 to 3fa0715 Compare December 13, 2025 02:47
@HannesWell
Copy link
Member Author

HannesWell commented Dec 13, 2025

This is now ready for submission.
The only missing parts are

But these parts have to be done in subsequent steps together with all fine-tuning that's possible, to ensure the most relevant parts migrated in time (before PHP is shutdown on the download server).

The verification build doesn't test this, but I'll start an I-build immediately.

@HannesWell HannesWell merged commit d69c793 into eclipse-platform:master Dec 13, 2025
6 of 7 checks passed
@HannesWell HannesWell deleted the migrate-drop-page-off-php branch December 13, 2025 02:52
@HannesWell HannesWell changed the title Migrate website from PHP to plain HTML with Java-Script and markdown Migrate website from PHP to plain HTML enhanced with JavaScript Dec 13, 2025
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Dec 13, 2025
The Java source program ComparatorSummaryExtractor now uses multiple
files and therefore requires Java-25.

Follow-up on
- eclipse-platform#3554
HannesWell added a commit that referenced this pull request Dec 13, 2025
The Java source program ComparatorSummaryExtractor now uses multiple
files and therefore requires Java-25.

Follow-up on
- #3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Dec 13, 2025
and fix the link to tests in the build announcement mail.

Follow-up on
- eclipse-platform#3554
HannesWell added a commit that referenced this pull request Dec 13, 2025
and fix the link to tests in the build announcement mail.

Follow-up on
- #3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 4, 2026
Additionally display a possible SIGNOFF_ISSUE at a promoted website.

Follow-up on
eclipse-platform#3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 4, 2026
Additionally display a possible SIGNOFF_ISSUE at a promoted website.

Follow-up on
eclipse-platform#3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 4, 2026
Additionally display a possible SIGNOFF_ISSUE at a promoted website.

Follow-up on
eclipse-platform#3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 4, 2026
Additionally display a possible SIGNOFF_ISSUE at a promoted website.

Follow-up on
eclipse-platform#3554
HannesWell added a commit that referenced this pull request Jan 4, 2026
Additionally display a possible SIGNOFF_ISSUE at a promoted website.

Follow-up on
#3554
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 4, 2026
HannesWell added a commit to HannesWell/eclipse.platform.releng.aggregator that referenced this pull request Jan 6, 2026
And reduce number of variables.

The native launcher bundle build was broken in
eclipse-platform#3554
HannesWell added a commit that referenced this pull request Jan 6, 2026
And reduce number of variables.

The native launcher bundle build was broken in
#3554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

php deprecation download.eclipse.org

1 participant