0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-12 11:38:11 +00:00
crazy-max_diun/pkg/registry
Ian Fijolek e974fbbc2c Add sorting for prefixed semver
Strips non-numeric prefixes when checking semver. This also adds a
secondary layer to the sort whereby identical semvers are sorted
relative to eachother lexigraphically.

This will ensure a more stable sort for non-versioned tags (eg. `latest`
or `edge`) as well as multiple variants tagged with the same number.
(eg `1.0.0-alpine` compared to `1.0.0-ubuntu`).

Fixes #758
2023-01-13 15:03:24 -08:00
..
image.go Add Hublink for GitHub Container Registry (#211) 2020-11-07 19:27:38 +00:00
image_test.go Tags sorting support (#645) 2022-07-17 13:47:37 +02:00
manifest.go Avoid notification for unupdated image (#406) 2021-06-17 15:20:32 +02:00
manifest_test.go Avoid notification for unupdated image (#406) 2021-06-17 15:20:32 +02:00
ref.go Check digest from HEAD request (#217) 2020-11-12 23:00:01 +00:00
ref_test.go Tags sorting support (#645) 2022-07-17 13:47:37 +02:00
registry.go Handle registry auth config (#411) 2021-06-18 00:12:21 +02:00
registry_test.go Split tests 2020-06-09 01:06:27 +00:00
tags.go Tags sorting support (#645) 2022-07-17 13:47:37 +02:00
tags_sort.go Add sorting for prefixed semver 2023-01-13 15:03:24 -08:00
tags_test.go Add sorting for prefixed semver 2023-01-13 15:03:24 -08:00