Skip to content

go mod tidy fails on the v1.20.4 label #31570

@doty-db

Description

@doty-db

Describe the bug
go mod tidy fails on the v1.20.4 label.

This appears to have been fixed in main by d45a7ea but that fix did not make it to v1.20.4.

To Reproduce
From a clone of the repository:

$ git checkout v1.20.4
$ go mod tidy
 go: github.com/hashicorp/vault/audit imports
         github.com/armon/go-metrics tested by
         github.com/armon/go-metrics.test imports
         github.com/pascaldekloe/goe/verify: github.com/hashicorp/[email protected]: invalid version: git ls-remote -q origin in /home/john.d$
         remote: Repository not found.
         fatal: repository 'https://github.com/hashicorp/go-cmp/' not found
 go: github.com/hashicorp/vault/builtin/credential/ldap imports
         github.com/hashicorp/cap/ldap tested by
         github.com/hashicorp/cap/ldap.test imports
         github.com/jimlambrt/gldap: github.com/hashicorp/[email protected]: invalid version: git ls-remote -q origin in /home/john.doty/go/p$
         remote: Repository not found.
         fatal: repository 'https://github.com/hashicorp/go-cmp/' not found
...

Expected behavior
The command completes successfully.

Environment:

$ go version
go version go1.25.1 linux/amd64

Vault server configuration file(s):

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed to indicate a potential bugrelease/build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions