expand comment explaining replace statement

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Tim Ramlot 2024-05-21 10:30:03 +02:00
parent 4e5c42a4bf
commit 3c68831994
No known key found for this signature in database
GPG Key ID: 47428728E0C2878D
7 changed files with 35 additions and 7 deletions

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

6
go.mod
View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0

View File

@ -6,7 +6,11 @@ go 1.22.0
// please place any replace statements here at the top for visibility and add a
// comment to it as to when it can be removed
// Can be removed once expfmt.FmtText is no longer used by any of the libraries we depend on.
// In prometheus/common v0.47.0 and v0.48.0, breaking changes were introduced in the "github.com/prometheus/common/expfmt"
// package. Not all our dependencies have been upgraded to use the new API. Until then, compiling cert-manager
// with the newer versions of "github.com/prometheus/common/expfmt" and "github.com/prometheus/client_golang"
// fails. These replace statements can be removed once expfmt.FmtText is no longer used by any of the libraries
// we depend on.
replace github.com/prometheus/common => github.com/prometheus/common v0.46.0
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0