Go Report Card could not analyze my repo
ibeauregard opened this issue · 0 comments
I get an error when I access https://goreportcard.com/report/github.com/ibeauregard/http-proxy.
Here is the error output:
There was an error processing your request: Could not analyze the repository: could not download repo: could not get latest module version from https://proxy.golang.org/my_proxy/@latest: bad request: invalid escaped module path "my_proxy": malformed module path "my_proxy": missing dot in first path element
This is my fault, I had indeed named my module as such (my_proxy
). However, I did rename the module, as you can see here: https://github.com/ibeauregard/http-proxy/blob/master/go.mod#L1
module github.com/ibeauregard/http-proxy
If you make a request to https://proxy.golang.org/github.com/ibeauregard/http-proxy/@latest, you do get what appears like a correct output:
{"Version":"v0.0.0-20221206020836-02191106e056","Time":"2022-12-06T02:08:36Z","Origin":{"VCS":"git","URL":"https://github.com/ibeauregard/http-proxy","Hash":"02191106e056a8eb0382860a7e56d123a00c324b"}}