gojp/goreportcard

Bug: report doesn't work when `-` inside github group name

mk-5 opened this issue · 1 comments

mk-5 commented

Steps to reproduce:

Open any repo with - in user group name, like https://goreportcard.com/report/github.com/mk-5/fjira

Problem:

There is no way to show report for github repositories that contains - character inside group name, like github.com/ab-2/somerepo. The github url is automatically converted to github.com/ab2/somerepo.
Error message for above example: could not download repo: could not get latest module version from https://proxy.golang.org/github.com/mk5/fjira/@latest:

Expected behaviour:

The url with - inside group name should work.

mk-5 commented

there was no problem with parsing - it was a repo issue. The name of the module needs to be exact match with name of the repo