Commit 04e6e89
committed
metadata: trim .git suffix when searching github URL for gopkg
Some go hosts have this suffix in their go-import metadata which broke
fetching the repo metadat from GitHub's API, e.g. go.bug.st:
Could not determine description for "go.bug.st/cleanup":
GET https://api.github.com/repos/bugst/go-cleanup.git: 404 Not Found []
Could not determine long description for "go.bug.st/cleanup": get readme:
GET https://api.github.com/repos/bugst/go-cleanup.git/readme: 404 Not Found []
Could not determine license for "go.bug.st/cleanup": get license for Go package:
GET https://api.github.com/repos/bugst/go-cleanup.git/license: 404 Not Found []
Could not determine copyright for "go.bug.st/cleanup": get repo:
GET https://api.github.com/repos/bugst/go-cleanup.git: 404 Not Found []1 parent c49bae1 commit 04e6e89
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments