fedora-coreos-docs icon indicating copy to clipboard operation
fedora-coreos-docs copied to clipboard

update-versions.py: Auto update latest Butane spec

Open hrismarin opened this issue 9 months ago • 1 comments

Automatically update the latest butane spec attribute by synchronizing it with Butane specs docs.

hrismarin avatar Feb 07 '25 12:02 hrismarin

Add an attribute for the latest version of the Ignition specs and synchronize it with the corresponding docs.

hrismarin avatar Feb 21 '25 11:02 hrismarin

Sounds like a good start. Fetching the raw page in Markdown and filtering it a bit should be a bit safer even if still hackish.

To make it better we would have to somehow expose the latest versions in the repo as a file or something.

travier avatar Apr 28 '25 17:04 travier

Thank you for working on this; from my perspective it LGTM.

@travier I agree; we could have like a stable/latest file in both ignition/butane and just fetch it?

prestist avatar May 01 '25 13:05 prestist

LGTM. This is just for the workflow here so it's fine if it's a bit hacky and we can do the stable/latest file later. @hrismarin can you rebase this one? Thanks

travier avatar Aug 01 '25 08:08 travier

@travier I was unable rebase, but I merged main into auto-update-butane-spec.

hrismarin avatar Aug 05 '25 10:08 hrismarin

You probably had a rebase conflict to resolve? I've pushed a squashed and rebased commit.

travier avatar Aug 05 '25 10:08 travier