Skip to content

chore(deps): update module github.com/theupdateframework/go-tuf to v2 - #492

Open
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x
Open

chore(deps): update module github.com/theupdateframework/go-tuf to v2#492
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x

Conversation

@red-hat-konflux-kflux-prd-rh02

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/theupdateframework/go-tuf v0.7.0v2.4.2 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

theupdateframework/go-tuf (github.com/theupdateframework/go-tuf)

v2.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: theupdateframework/go-tuf@v2.4.1...v2.4.2

v2.4.1

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.4.0...v2.4.1

v2.4.0

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.3.1...v2.4.0

v2.3.1

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.3.0...v2.3.1

v2.3.0

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.2.0...v2.3.0

v2.2.0

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.1.1...v2.2.0

v2.1.1

Compare Source

What's Changed

Fixed a regression that can fail clients using the DefaultFetcher{} directly without using the constructor.

  • Set a default HTTP client for DefaultFetcher in DownloadFile method if none is set by @​malancas in #​686

Full Changelog: theupdateframework/go-tuf@v2.1.0...v2.1.1

v2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: theupdateframework/go-tuf@v2.0.2...v2.1.0

v2.0.2

Compare Source

What's Changed

Full Changelog: theupdateframework/go-tuf@v2.0.1...v2.0.2

v2.0.1

Compare Source

What's Changed

Security
Other

Full Changelog: theupdateframework/go-tuf@v2.0.0...v2.0.1

v2.0.0

Compare Source

Breaking changes

  • This is the first release of go-tuf v2 and it's a complete re-write indicated by the new major version.
  • We also decided to leave go-tuf as a library only.

What's Changed

New Contributors

Full Changelog: theupdateframework/go-tuf@v0.7.0...v2.0.0


Configuration

📅 Schedule: (UTC)

  • 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 is behind base branch, 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch 2 times, most recently from cf4949e to ff14adf Compare August 7, 2026 08:26
@ambient-code

ambient-code Bot commented Aug 7, 2026

Copy link
Copy Markdown

MintMaker PR Review

Package: github.com/theupdateframework/go-tuf v0.7.0 → github.com/theupdateframework/go-tuf/v2 v2.4.2

go.mod changes

This PR modifies go.mod only (only one Go module in the repo, no sub-projects affected).

CI Status

❌ CI is failing with:

go: inconsistent vendoring:
  github.com/theupdateframework/go-tuf@v0.7.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

Also: renovate/artifacts: FAILURE — Renovate could not update the vendor directory.

Root Cause

This is a major version bump changing the import path from github.com/theupdateframework/go-tuf to github.com/theupdateframework/go-tuf/v2. The PR only updates go.mod but does not update the vendor/ directory.

Crucially, the base go.mod already has both go-tuf v0.7.0 AND go-tuf/v2 v2.4.2 as indirect dependencies. This PR tries to remove the v0 entry and keep only v2. However, the old path is still required transitively by:

  • github.com/sigstore/rekor (via vendor/github.com/sigstore/rekor/pkg/pki/tuf/tuf.go)
  • github.com/sigstore/sigstore (via tuf client)

These still import the v0 module, so the vendor directory must keep both until sigstore updates.

Conclusion

This PR cannot be merged as-is. Since our sigstore dependencies still require go-tuf v0.7.0, we cannot remove it from go.mod. This will resolve naturally when sigstore bumps their go-tuf dependency to v2. Recommend closing this PR for now.

@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch 17 times, most recently from bea0fe9 to fabe303 Compare August 14, 2026 12:22
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch 9 times, most recently from cf5ceb1 to 7f58178 Compare August 17, 2026 08:21
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch 13 times, most recently from 1be367f to 83eda36 Compare August 24, 2026 12:29
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch 2 times, most recently from dfaa7f8 to 88e8d4f Compare August 26, 2026 16:17
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/github.com-theupdateframework-go-tuf-2.x branch from 88e8d4f to bcb274e Compare August 26, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants