Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 5, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/knadh/koanf require major v1.5.0 -> v2.0.1

Release Notes

knadh/koanf (github.com/knadh/koanf)

v2.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.0.0...v2.0.1

v2.0.0

Compare Source

This is a major breaking change that ends koanf v1 (v1.5.0) and moves to v2. Continued usage of v1 is unaffected. While koanf does not bundle external dependencies into its core thereby avoiding them in the build, a go get would still pull them and go.mod, bringing in unnecessary references as all the providers and parsers were "sub" packages of the main module.

This PR upgrades koanf to v2 and separates every single provider and parser package into its own module, go.mod, and release tag (eg: providers/yaml/v0.1.0). That is, one-repository, many modules. This removes references to all indirect dependencies in the main koanf package significantly de-cluttering it.

What changes?
  • Going forward, koanf references should change to github.com/knadh/koanf/v2.
  • The required parsers and providers should be installed explicitly as they do not come bundled with the main koanf package anymore. Eg: go get github.com/knadh/koanf/providers/s3, go get github.com/knadh/koanf/parsers/json etc.
  • That's all. There is no change in functionality.

Full Changelog: knadh/koanf@v1.5.0...v2.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Nov 5, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/bdc249/ce4578/repos/github/coreruleset/go-ftw":"/tmp/worker/bdc249/ce4578/repos/github/coreruleset/go-ftw" -v "/tmp/worker/bdc249/ce4578/cache":"/tmp/worker/bdc249/ce4578/cache" -e GOPATH -e GOPROXY -e GOSUMDB -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/bdc249/ce4578/repos/github/coreruleset/go-ftw" ghcr.io/containerbase/sidecar:9.23.5 bash -l -c "install-tool golang 1.21.3 && go get -d -t ./..."
go: downloading github.com/rs/zerolog v1.31.0
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/magefile/mage v1.15.0
go: downloading github.com/go-logr/zerologr v1.2.3
go: downloading github.com/spf13/cobra v1.8.0
go: downloading wait4x.dev/v2 v2.13.0
go: downloading golang.org/x/net v0.17.0
go: downloading github.com/kyokomi/emoji/v2 v2.2.12
go: downloading github.com/Masterminds/sprig v2.22.0+incompatible
go: downloading github.com/google/uuid v1.4.0
go: downloading github.com/goccy/go-yaml v1.11.2
go: downloading github.com/yargevad/filepathx v1.0.0
go: downloading github.com/icza/backscanner v0.0.0-20230330133933-bf6beb754c70
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/go-logr/logr v1.2.4
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/antchfx/htmlquery v1.3.0
go: downloading github.com/tidwall/gjson v1.14.4
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/huandu/xstrings v1.3.3
go: downloading github.com/imdario/mergo v0.3.13
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading golang.org/x/crypto v0.14.0
go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading github.com/stretchr/objx v0.5.0
go: downloading github.com/antchfx/xpath v1.2.3
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/tidwall/match v1.1.1
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/fatih/color v1.15.0
go: downloading golang.org/x/sys v0.13.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/knadh/koanf v1.5.0
go: downloading github.com/knadh/koanf/parsers/yaml v0.1.0
go: downloading github.com/knadh/koanf/providers/env v0.1.0
go: downloading github.com/knadh/koanf/providers/file v0.1.0
go: downloading github.com/knadh/koanf/providers/rawbytes v0.1.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: github.com/coreruleset/go-ftw/config imports
	github.com/knadh/koanf/parsers/yaml: ambiguous import: found package github.com/knadh/koanf/parsers/yaml in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/parsers/yaml)
	github.com/knadh/koanf/parsers/yaml v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/parsers/[email protected])
go: github.com/coreruleset/go-ftw/config imports
	github.com/knadh/koanf/providers/env: ambiguous import: found package github.com/knadh/koanf/providers/env in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/env)
	github.com/knadh/koanf/providers/env v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])
go: github.com/coreruleset/go-ftw/config imports
	github.com/knadh/koanf/providers/file: ambiguous import: found package github.com/knadh/koanf/providers/file in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/file)
	github.com/knadh/koanf/providers/file v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])
go: github.com/coreruleset/go-ftw/config imports
	github.com/knadh/koanf/providers/rawbytes: ambiguous import: found package github.com/knadh/koanf/providers/rawbytes in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/rawbytes)
	github.com/knadh/koanf/providers/rawbytes v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])

theseion
theseion previously approved these changes Nov 5, 2023
Copy link
Contributor Author

renovate bot commented Nov 5, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@theseion theseion merged commit 854dabd into main Nov 5, 2023
@theseion theseion deleted the renovate/github.colasdn.workers.dev-knadh-koanf-2.x branch November 5, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant