DataDog / datadog-agent

Main repository for Datadog Agent
https://docs.datadoghq.com/
Apache License 2.0
2.73k stars 1.17k forks source link

[BUG] Not able to update datadog-agent dependency , failing with module declares its path as: github.com/theupdateframework/go-tuf #15689

Open RO-29 opened 1 year ago

RO-29 commented 1 year ago

Agent Environment local Describe what happened:

Unable to update dependency, failing in local

go get -v -u -d all

go: github.com/DataDog/go-tuf@v0.5.0: parsing go.mod:
        module declares its path as: github.com/theupdateframework/go-tuf
                but was required as: github.com/DataDog/go-tuf

Describe what you expected:

Dependencies should be updated

Steps to reproduce the issue:

go get -v -u -d all

since github.com/DataDog/go-tuf is indirect dependency, it obstructs to update of other

https://github.com/DataDog/go-tuf/blob/master/go.mod seems like module path is wrong

Screenshot 2023-02-21 at 12 49 12 AM

Additional environment details (Operating System, Cloud provider, etc):

d122y commented 1 year ago

I'm also seeing this. It prevents running go get -u all on a module importing datadog libraries.

RO-29 commented 1 year ago

Hello I am not sure whom to reach out here, but can we please have some update as it really breaks the mod update all flexibility in all my projects

pbdeuchler commented 5 months ago

I'd like to bump this, it's causing weird build issues