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

proxy.golang.org: Package was private, now is public #67958

Closed
syntaqx opened this issue Jun 12, 2024 · 2 comments
Closed

proxy.golang.org: Package was private, now is public #67958

syntaqx opened this issue Jun 12, 2024 · 2 comments

Comments

@syntaqx
Copy link

syntaqx commented Jun 12, 2024

I had a package published that I didn't realize I had set as private repository, and have now moved it to public, but it seems that the cache needs to be cleared in order for me to retrieve my package?

go: github.com/syntaqx/api/cmd/api imports
        github.com/syntaqx/env: github.com/syntaqx/env@v0.0.1: verifying module: github.com/syntaqx/env@v0.0.1: reading https://sum.golang.org/lookup/github.com/syntaqx/env@v0.0.1: 404 Not Found
        server response:
        not found: github.com/syntaqx/env@v0.0.1: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/fb1cfdd3dcc7a44f948c31fc36b294ef2e1e20e2680a73e1c471f820a9801dcb: exit status 128:
                fatal: could not read Username for 'https://github.com': terminal prompts disabled
        Confirm the import path was entered correctly.
        If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

https://github.com/syntaqx/env

Update

The Request “github.com/syntaqx/env” button has reappeared, so I'm hoping that things will work once it updates.

@gabyhelp
Copy link

@syntaqx
Copy link
Author

syntaqx commented Jun 12, 2024

It seems the cache cleared after a frustrating amount of time, but the issue is resolved. Thanks!

@syntaqx syntaqx closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants