Skip to content
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

Move Leshan Website to Hugo #1671

Open
sbernard31 opened this issue Nov 8, 2024 · 3 comments
Open

Move Leshan Website to Hugo #1671

sbernard31 opened this issue Nov 8, 2024 · 3 comments
Labels
housekeeping Refactoring, cleaning code or API

Comments

@sbernard31
Copy link
Contributor

Eclipse foundation stop using php for website :

Hi,

I wanted to remind everyone that PHP support will be removed at the end of December, and a final PHP brownout on eclipse.dev is scheduled for December 4th, 2024.

Thanks to the work that many of you have put in, only 46% of project websites still have some PHP content.

We do have a Hugo based template you can leverage, so please file a ticket if you have questions, and we'll do what we can t help. You can also chose to use a different tool to generate your project website if you feel it better fits your needs.

-Matt.

Currently our web site seems to use php, so we should migrate to hugo soon.

Reading
There is 2 recommended way by eclipse foundation.

  1. One repo where we mix source and generated website without jenkins job
  2. Two repo, 1 for the code and 1 for the generated website + 1 Jenkins job which will automatically generate static website.

Any opinions ? We don't really edit that website often so maybe 1. is enough ?

@sbernard31 sbernard31 added the housekeeping Refactoring, cleaning code or API label Nov 8, 2024
@jvermillard
Copy link
Contributor

Due to the nature of website, this could be just plain HTML? Is there really a need for Hugo?

@sbernard31
Copy link
Contributor Author

Due to the nature of website, this could be just plain HTML? Is there really a need for Hugo?

Yep maybe static is enough.

I didn't double check but I think currently we are using php just for the old official eclipse footer.

Reading https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-eclipsefdn-website-boilerplate, I tell myself that maybe reusing the eclipse foundation hugo theme. (which will be maintained by eclipse) will be a good idea.

Eclipse foundation say :

The preferred static website generator for Eclipse project websites is Hugo and we recommend to our projects that they get started by creating a copy of our hugo-eclipsefdn-website-boilerplate project. While you're not obligated to use them, please note that Hugo and hugo-eclipsefdn-website-boilerplate are the supported solutions by the Eclipse Foundation. Using a different technology may result in reduced support. ...

... Although you're starting with hugo-solstice-theme, remember that Hugo is highly extensible, allowing you to override as much or as little as you need. For example, you may choose to keep our default footer but override our header ...

@jvermillard
Copy link
Contributor

To use Hugo for my personal website, the good: it makes updating things like the footer easy, the bad, it's in 0.x version since forever and upgrades are not always seamless. If it's the eclipse way to go, I suppose they will control the breakages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, cleaning code or API
Projects
None yet
Development

No branches or pull requests

2 participants