AlmaLinux / almalinux.org

almalinux.org official web site sources.
https://almalinux.org
Creative Commons Attribution Share Alike 4.0 International
38 stars 50 forks source link

Make https://almalinux.org/get-almalinux easier to update #316

Open bennyvasquez opened 1 year ago

bennyvasquez commented 1 year ago

As we added the https://almalinux.org/get-almalinux page, @codyro had an idea. We got that page deployed, but I wanted to make sure we didn't lose this idea:

One concern I have is that it's extremely difficult to update and is very prone to errors. I propose we use some Hugo idioms to simplify modifying this page.

For example, if we used Hugo variables and used something like this to populate the template, it'd be a lot easier to manage:

releases: isos: os9:

  • name: Almalinux OS 9.2 DVD ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd"
  • name: AlmaLinux OS 9.2 Boot ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd"
  • name: AlmaLinux OS 9.2 Minimal ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd" os8:
  • name: AlmaLinux OS 8.8 DVD ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd"
  • name: AlmaLinux OS 8.8 Boot ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd"
  • name: AlmaLinux OS 8.8 Minimal ISO sha: "21442asdasdasdasljkdasjhdasjhdsjjasd" I mentioned this to @mattlasheboro, and he had a POC of how we could achieve this. @sboldyreva would you mind if he submitted a PR to your repository with these changes, and if they make sense, merge them into this branch so it shows up here?
codyro commented 1 year ago

@mattlasheboro I brought this up a bit ago at $DAYJOB w/ Tony and you--just pinging you so you know that this issue exists now.