gojp / goreportcard

A report card for your Go application
https://goreportcard.com
Apache License 2.0
2.01k stars 249 forks source link

Repository with `main` branch is not updated #357

Closed alimoli closed 3 years ago

alimoli commented 3 years ago

My repository report is not refreshed correctly. The branch is main.

Clicking on one of the files links present on the report I am redirected to Github, but Github says: Screenshot 2021-10-06 at 13 35 06

Indeed all the links to the files in the report use the master branch instead for main.

thediveo commented 3 years ago

master branch repositories seem to be affected, too. Refresh fails. Sadly, goreportcard seems to degenerate...

shawnps commented 3 years ago

@TheDiveO please try again, we just deployed a fix.

thediveo commented 3 years ago

Yes, that fixed the refresh problem for my repository/ies. Thank you!

synfinatic commented 3 years ago

Seems to be still a problem for me? https://goreportcard.com/report/github.com/synfinatic/aws-sso-cli

shawnps commented 3 years ago

@synfinatic we're experimenting with using https://proxy.golang.org for downloading modules. The latest version we get from there is v1.2.3:

https://proxy.golang.org/github.com/synfinatic/aws-sso-cli/@latest

We still need to do some UI work to display what version of the module we checked.

Let us know if tagging a new release doesn't fix the issue.

synfinatic commented 3 years ago

Ah, that would explain it! And yes, indicating what version you're analyzing would be helpful. I was expecting you would be pulling HEAD from main/default branch.

shawnps commented 3 years ago

@synfinatic module version is displayed on the page now 👍 https://goreportcard.com/report/github.com/synfinatic/aws-sso-cli

shawnps commented 3 years ago

@alimoli the GitHub links now point to the latest module version. For example https://github.com/limoli/kid/blob/v1.0.0/common.go#L1.

Edit: @alimoli closing this ticket out, feel free to reopen if you're still encountering issues.