The eclipse.org-research website in hugo was done before we migrated eclipse.org to hugo.
Now that are live with eclipse.org hugo, I would like to recommend that we merge both projects for the following reason:
Maintenance: Easier for us to maintain 1 project versus 2
SEO: Since the eclipse.org hugo website is at the root of eclipse.org, that site serves a sitemap.xml that googles uses to index our website. If we migrate eclipse.org-research with eclipse.org, all the pages from our research website will be included in our sitemap: https://www.eclipse.org/sitemap.xml
Note that only the page migrated to hugo appears in that sitemap so far. This will grow overtime.
@pkriefrvi Do you have any concerns with doing this? Let me know if you have questions, I am more than happy to jump on a call with you to discuss this furter.
No, the goal of this migration would be to move everything as-is. I will move all issues under the eclipse.org project so that we don't lose track of any work or discussion!
FWIW - I will likely need to merge my patch before you have time to look at this again. Might be best to test this via a new MR against the eclipse.org project?
At this point, pretty much everything is done. We still need to remove the old site from OKD but I will do that in a couple of days incase we discover an issue with my migration and decide to revert back to the old website.
Hi @cguindon
I forked the eclipse.org repo.
When It try to build the site locally, I get an error:
Last login: Fri Nov 25 12:51:54 on console
You have mail.
philippe@PKs-MacBook-2 ~ % cd git
philippe@PKs-MacBook-2 git % cd eclipse.org
philippe@PKs-MacBook-2 eclipse.org % yarn
yarn install v1.22.17
warning ../../package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
warning eclipsefdn-hugo-solstice-theme > eclipsefdn-solstice-assets > hogan.js > mkdirp@0.3.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning eclipsefdn-hugo-solstice-theme > eclipsefdn-solstice-assets > laravel-mix > node-libs-browser > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning eclipsefdn-hugo-solstice-theme > eclipsefdn-solstice-assets > laravel-mix > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[2/2] ⠂ eclipsefdn-hugo-solstice-theme
error /Users/philippe/git/eclipse.org/node_modules/eclipsefdn-hugo-solstice-theme: Command failed.
Exit code: 2
Command: npm run fetch_project && npm run production
Arguments:
Directory: /Users/philippe/git/eclipse.org/node_modules/eclipsefdn-hugo-solstice-theme
Output:
/Users/philippe/git/eclipse.org/node_modules/webpack/bin/webpack.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)
at Function.Module._load (node:internal/modules/cjs/loader:772:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:93:18)
at WebpackCLI.tryRequireThenImport (/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js:204:22)
at loadConfigByPath (/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js:1404:38)
at /Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js:1454:88
at Array.map ()
at WebpackCLI.loadConfig (/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js:1454:68)
at WebpackCLI.createCompiler (/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js:1785:33) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/webpack-cli.js',
'/Users/philippe/git/eclipse.org/node_modules/webpack-cli/lib/bootstrap.js',
'/Users/philippe/git/eclipse.org/node_modules/webpack-cli/bin/cli.js',
'/Users/philippe/git/eclipse.org/node_modules/webpack/bin/webpack.js'
]
}
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this
philippe@PKs-MacBook-2 eclipse.org %
I looked into it. I would also get an error at the same step. It seems like updating the Hugo theme with yarn add eclipsefdn-hugo-solstice-theme@0.0.174 --exact will fix it.