shurcooL / Go-Package-Store

An app that displays updates for the Go packages in your GOPATH.
MIT License
900 stars 29 forks source link

Fails to determine branch on remote Gitiles repos (i.e., via -govendor mode). #79

Closed bits01 closed 7 years ago

bits01 commented 7 years ago

See attached vendor.json file (using govendor for vendoring).

% Go-Package-Store -govendor vendor/vendor.json
Reading the list of Go packages from vendor.json file: vendor/vendor.json
Go Package Store server is running at http://localhost:7043/updates.
skipping "cloud.google.com/go" because of remote error:
    HEAD branch not found in ls-remote output
skipping "google.golang.org/api" because of remote error:
    HEAD branch not found in ls-remote output
dmitshur commented 7 years ago

Thanks, I can reproduce. Will investigate.

dmitshur commented 7 years ago

Yeah, this is definitely fixable on my part. Thanks for the bug report.

bits01 commented 7 years ago

Thanks, look forward to the fix. Very useful tool to get a sense of any available updates for vendored packages and a list of changes.

dmitshur commented 7 years ago

This has been fixed in https://github.com/shurcooL/vcsstate/commit/0087ee72f10e9197a573c237b0a41faface2b648.

If you, @bits01, install latest Go Package Store (the usual way, go get -u github.com/shurcooL/Go-Package-Store/cmd/Go-Package-Store), you should not get those errors anymore.

Let me know if anything else comes up.

bits01 commented 7 years ago

Thank you! It works.