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

weird github repo http issue #18

Closed
coolaj86 opened this issue Jan 3, 2019 · 6 comments
Closed

weird github repo http issue #18

coolaj86 opened this issue Jan 3, 2019 · 6 comments
Assignees

Comments

@coolaj86
Copy link

coolaj86 commented Jan 3, 2019

Both on Windows and CircleCI (via Docker RUN) it seems that packages that depend on this are getting empty repos rather than code. See UnnoTed/fileb0x#50

Ubuntu and Mac OS seem unaffected.

I forked your repo and used a replace directive in the go.mod to my fork, no code changes whatsoever, and go get now works on Windows.

This leads me to believe that there's some sort of weird issue with the repo and Github's CDNs or some such.

I'm wondering if you could try force pushing an old commit and then updating, or deleting the v1.1.1 tag and then force updating it (to the same commit of course) or something like that that might trigger Github's caching mechanisms to bust and deliver code (and maybe just pushing a new tag to the same commit).

@bmatcuk
Copy link
Owner

bmatcuk commented Jan 3, 2019

That's a very strange issue... could you try running go clean -modcache (golang/go#26695)?

@bmatcuk bmatcuk self-assigned this Jan 3, 2019
@bmatcuk
Copy link
Owner

bmatcuk commented Jan 25, 2019

I see you closed the related ticket on fileb0x... should we close this issue, too?

@bmatcuk
Copy link
Owner

bmatcuk commented Jun 16, 2019

I'm going to close this ticket since I haven't heard from you in a while.

@bmatcuk bmatcuk closed this as completed Jun 16, 2019
@coolaj86
Copy link
Author

coolaj86 commented Jun 17, 2019

Sorry.

I never figured out what the issue was for certain.

There was another issue dealing with hashing / checksumming symlinks in go 1.11.3 or so and it’s possible that the error message was a red herring (the repo wasn’t empty, but failed checksums and was then cleaned up or error by go get or some such) and that versioned weren’t tightly locked and so the windows and docker environments had the newer, buggier version at the time.

Seems like that cloning the repo wouldn’t solve that issue, but... ghost in the wires I guess.

@coolaj86
Copy link
Author

Or maybe it was that I ran go mod vendor on the good system, committed to the repo, and let the bad system go build -mod vendor.

@bmatcuk
Copy link
Owner

bmatcuk commented Jun 17, 2019

lol, ghost in the wires, indeed!

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

2 participants