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

Refresh feature not working #404

Open
platypusguy opened this issue Jan 22, 2023 · 2 comments
Open

Refresh feature not working #404

platypusguy opened this issue Jan 22, 2023 · 2 comments

Comments

@platypusguy
Copy link

When I refresh the report, I always get exactly the same report back. In the year since that report was generated, the project has grown by ~150%, and yet it gives me exactly the same info about the project. Is there something I need to do to refresh the report so that it actually hits the project again and goes through the files?

Project is Jacobin: https://goreportcard.com/report/github.com/platypusguy/jacobin

@shawnps
Copy link
Contributor

shawnps commented Jan 22, 2023

@platypusguy we download a .zip of the repository from proxy.golang.org using the latest module version.

So we first get the version from https://proxy.golang.org/github.com/platypusguy/jacobin/@latest which returns:

{"Version":"v0.0.0-20230121230130-f96320012698","Time":"2023-01-21T23:01:30Z","Origin":{"VCS":"git","URL":"https://github.com/platypusguy/jacobin","Hash":"f9632001269859d73ce8bc749b50a7d32499efeb"}}

Then we download the .zip:

https://proxy.golang.org/github.com/platypusguy/jacobin/@v/v0.0.0-20230121230130-f96320012698.zip

If you download the .zip file above you'll see the src dir is missing and thus Go Report Card can't generate a report because there are no .go files.

If I had to guess maybe the go.mod is not in the right place.

@platypusguy
Copy link
Author

I'll look into it, but in the meantime, I think you should generate an error message of some kind, rather than just re-posting the previous report. Thanks again!

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