Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Git tag for go get #34

Closed
yann-soubeyrand opened this issue Mar 3, 2025 · 4 comments
Closed

Missing Git tag for go get #34

yann-soubeyrand opened this issue Mar 3, 2025 · 4 comments

Comments

@yann-soubeyrand
Copy link

Hello,

Since the Go module is not at the root of the repository, but in the sdk directory, the tags must be prefixed with sdk/:

> go get github.com/pulumiverse/pulumi-zitadel/[email protected]
github.com/pulumiverse/pulumi-zitadel/[email protected]: verifying module: github.com/pulumiverse/pulumi-zitadel/[email protected]: reading https://sum.golang.org/lookup/github.com/pulumiverse/pulumi-zitadel/[email protected]: 404 Not Found
	server response: not found: github.com/pulumiverse/pulumi-zitadel/[email protected]: invalid version: unknown revision sdk/v0.1.8

Could you add a sdk/v0.1.8 on the commit pointed by the v0.1.8 tag please?

@eliobischof
Copy link
Collaborator

I did that but somehow go get still fails with a 404

@yann-soubeyrand
Copy link
Author

It may be a cache issue, do you see the same error with this command?

GOSUMDB=off go get github.com/pulumiverse/pulumi-zitadel/[email protected]

@yann-soubeyrand
Copy link
Author

The error I get without the GOSUMDB=off environment variable seems very similar to golang/go#72121:

github.com/pulumiverse/pulumi-zitadel/[email protected]: verifying module: github.com/pulumiverse/pulumi-zitadel/[email protected]: reading https://sum.golang.org/lookup/github.com/pulumiverse/pulumi-zitadel/[email protected]: 404 Not Found
	server response:
	not found: github.com/pulumiverse/pulumi-zitadel/[email protected]: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/bb5e6045da3165ee163bdb2de82a1c12b493117573b552caace0b0aac2f5e4d0: exit status 128:
		fatal: unable to access 'https://github.com/pulumiverse/pulumi-zitadel/': Failed to connect to github.com port 443: Connection refused

@eliobischof
Copy link
Collaborator

GOSUMDB=off go get github.com/pulumiverse/pulumi-zitadel/[email protected] works and now it also works without the variable.
It really looks like a cache issue. Unfortunately, I don't have the output with the error anymore from before.
I'll close the issue 👍 thx for your help @yann-soubeyrand

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

No branches or pull requests

2 participants