Oddity with v0.xxx tags

32 views
Skip to first unread message

Brian Candler

unread,
Aug 19, 2024, 2:52:30 PM8/19/24
to Prometheus Users
I have just noticed a load of tags in the prometheus repo for v0.XXX (from v0.35.0 to v0.54.0 inclusiveq) which match with v2.XXX

For example:

and which github claims was only tagged last week, matches
(both are commit 5354e87a)

Is this perhaps to do with Go module versioning, or is something else going on here?

Thanks,

Brian.

Ben Kochie

unread,
Aug 20, 2024, 12:35:57 AM8/20/24
to Brian Candler, Prometheus Users
Yes, this is a workaround for Go major versioning changes.


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2a8e9ee0-252f-4049-b306-7d0865419842n%40googlegroups.com.

Bjoern Rabenstein

unread,
Aug 20, 2024, 1:19:20 PM8/20/24
to Ben Kochie, Brian Candler, Prometheus Users
On 20.08.24 06:35, Ben Kochie wrote:
> Yes, this is a workaround for Go major versioning changes.
>
> See: https://github.com/prometheus/prometheus/pull/12900

Also,
https://github.com/prometheus/prometheus/blob/main/RELEASE.md#2-draft-the-new-release
has some explanation about it.

Note that v3 is imminent. For Go modules, v3.xx.y will be tagged as
0.3xx.y, e.g.

- 3.0.0 → 0.300.0
- 3.0.1 → 0.300.1
- 3.21.0 → 0.321.0

--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in

Ben Kochie

unread,
Aug 20, 2024, 1:40:33 PM8/20/24
to Bjoern Rabenstein, Brian Candler, Prometheus Users

That tagging scheme makes me sad.

Reply all
Reply to author
Forward
0 new messages