eclipse-mat / mat-website

0 stars 0 forks source link

Deprecation of PHP #3

Open krumts opened 3 months ago

krumts commented 3 months ago

The usage of PHP for the Eclipse project web sites is being deprecated. We'll need to adapt the MAT web site to these changes. Here the content of the webmasters emails:

Greetings folks, If your Eclipse project is using PHP for its website on https://eclipse.dev/ or for downloads, please be aware that we are proposing its deprecation.

It may have made sense to allow PHP project content on our servers in the past, but in today's context, it does not. Most projects now support a static website built by a CI mechanism. The same also applies to download pages, where PHP was typically used to read the content of the filesystem in real time, this can be done at build/promotion time.

Please see https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1934 for the details. The short:

  • We are proposing to remove PHP capabilities for project content on https://eclipse.dev/ by Dec 31, 2024.

  • We are proposing to remove PHP capabilities for project content on DOWNLOADS and ARCHIVES by Dec 31, 2025.

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Eclipse-Service/Infrastructure-changes-Guide

Do note that, in today's security context, removing PHP is unavoidable. We realize that the EF has many items in a deprecation state - either in progress, or as is the case here, proposed and in planning. This is the unfortunate consequence of maintaining an infrastructure that has not properly evolved as the environment around us has changed, and even in yesteryear's security context, are no longer fit or are simply unacceptable.

Thank you for reading. Please comment on Issue 1934 (link above).

And a more recent one contained:

PHP[4] on eclipse.dev will be deprecated on December 31, 2024. Our example website repo[5] can help you convert to Hugo, but you are free to use other static content generators. You can also elect to use the simplified site provided by projects.eclipse.org, rather than converting your PHP code, but please let us know so we can cleanup the existing website repositories and redirect content. ... [4]https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1934 [5]https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-eclipsefdn-website-boilerplate

kgibm commented 3 months ago

I have a bit of experience with static content generators and there are various pros and cons of each (there are many options out there), but if there is a converter for Hugo, then I think that's probably a good place to start.