siderolabs / image-factory

A service to generate Talos boot assets
Mozilla Public License 2.0
60 stars 16 forks source link

fix: update Talos version listing #76

Closed smira closed 9 months ago

smira commented 9 months ago

Now Image Factory filters out pre-release versions for all releases but the last one.

In the UI, now pre-release versions are shown.

Return proper 404 not found when someone requests something for an unsupported version.

Fixes #75

(the versions before 1.4.0 are not yet enabled in Image Factory, see #20)

smira commented 9 months ago

image

smira commented 9 months ago

a test maybe?

yep, at least we can try 404...

smira commented 9 months ago

As an option you can also update the client to report a separate error type for 404. Not a big deal though.

yep, that also makes sense. we should probably report HTTP errors properly there

smira commented 9 months ago

updated with some tests and HTTP error wrapping

smira commented 9 months ago

/m