Commit Graph

560 Commits

Author SHA1 Message Date
Shawn Smith
45802c19ec use latest staticcheck in lint target 2022-03-22 12:05:51 +09:00
Shawn Smith
57f6e73844 go get -u ineffassign, go mod tidy + go mod vendor 2022-03-22 11:58:56 +09:00
Shawn Smith
febbcee7ce use 1.18 in Go workflow 2022-03-22 11:56:45 +09:00
Shawn Smith
5aeaec8b44 disable golint 2022-03-22 11:52:20 +09:00
Shawn Smith
e4ed167d86 fix error message in ModuleName 2022-02-11 18:18:49 +09:00
Nicolò Santamaria
1e7fba6f6d Add more tests. 2022-02-06 09:45:06 +09:00
Nicolò Santamaria
e6fde6c851 Remove vcs package since its behaviour diverges from cmd/go.
As stated in the issue https://github.com/golang/go/issues/11490
the package 'vcs' diverges significantly from cmd/go import path resolution
behaviour and thus needs to be removed for goreportcard to support
modules and versioning.
See also: https://golang.org/cl/159818.
2022-02-06 09:45:06 +09:00
Shawn Smith
d35b037bad update supporters 2022-01-30 19:34:04 +09:00
Que Yanghua
90de04ec07 fix installation of misspell 2022-01-30 19:30:35 +09:00
Shawn Smith
419cb02c01 update supporters 2022-01-26 16:12:05 +09:00
Shawn Smith
07db7a3647 update sponsored repos on front page 2022-01-25 20:02:21 +09:00
Shawn Smith
aab62bb110 update sponsors 2022-01-13 11:49:43 +09:00
Shawn Smith
77fa036cc0 update sponsors 2022-01-08 20:45:36 +09:00
Shawn Smith
94af497bf4 update sponsors 2022-01-08 20:06:03 +09:00
Shawn Smith
18ad6e4f5c simplify fileURL function 2021-12-04 18:11:08 +09:00
Shawn Smith
04068fe18d fix panic in fileURL for versions containing single hyphen 2021-12-04 13:45:50 +09:00
Shawn Smith
1237c87143 fix panic in fileURL for dirs without @ 2021-12-02 18:10:36 +09:00
Shawn Smith
114dbff3bd fix github links for +incompatible versions 2021-11-30 13:45:48 +09:00
Shawn Smith
0874bef40a remove stale action 2021-11-29 14:41:33 +09:00
Shawn Smith
8cd29a7229 add more functionality to badger db tool 2021-11-28 21:58:28 +09:00
Shawn Smith
fe76353299 fix dir name in module dir removal 2021-11-28 19:35:26 +09:00
Shawn Smith
a40e0b584b update install script 2021-11-28 12:07:38 +09:00
Shawn Smith
87e76dbbd0 update gocyclo 2021-11-28 12:05:18 +09:00
Shawn Smith
749137a223 gofmt -s 2021-11-27 16:37:57 +09:00
Shawn Smith
ef334ac874 update make test target 2021-11-27 16:37:22 +09:00
Shawn Smith
7455924850 use module version in github URLs 2021-11-27 16:36:45 +09:00
Shawn Smith
78cbe6667b add TestMakeFilename, TestFileURL 2021-11-27 15:55:30 +09:00
Shawn Smith
a5e10ccf94 fix header on report page 2021-11-26 15:32:19 +09:00
Shawn Smith
892d28f58b move header and footer into base template 2021-11-26 15:29:13 +09:00
Shawn Smith
bd1dc0715a fix gofmt -s 2021-11-26 13:13:29 +09:00
Shawn Smith
4271df7118 fix golint 2021-11-26 13:09:57 +09:00
Shawn Smith
7407fea655 download: add ProxyClient, TestClean, TestModuleName, TestLatestVersion 2021-11-26 13:06:26 +09:00
Shawn Smith
6f946a0aa3 add tool for removing repo from badger cache 2021-11-23 19:24:43 +09:00
Shawn Smith
7bb4084002 remove git download functionality 2021-11-23 19:24:08 +09:00
Shawn Smith
c25d88b3bf attempt to get module name from proxy 2021-11-22 21:59:44 +09:00
Shawn Smith
be900ec144 cleanup proxydownload code 2021-11-22 16:40:59 +09:00
Shawn Smith
afdab31f67 remove dir after running checks 2021-11-21 20:59:07 +09:00
Shawn Smith
a775878f48 run checks on lowercase dir 2021-11-21 20:40:21 +09:00
Shawn Smith
7fc28bcf6d use lowercase target dir in proxy download 2021-11-21 20:33:49 +09:00
Shawn Smith
34fb4c89a4 rename lowercase dir in proxy download 2021-11-21 20:15:43 +09:00
Shawn Smith
9af34671bd revert dir rename 2021-11-16 14:12:24 +09:00
Shawn Smith
083d779f86 rename dir with lowercase path 2021-11-16 14:09:34 +09:00
Shawn Smith
3caea70067 lowercase path in proxy download 2021-11-16 13:31:02 +09:00
Shawn Smith
132b06144b lowercase path in proxy download 2021-11-16 13:24:22 +09:00
Shawn Smith
af83df5612 return more specific error when response from module proxy is not 200 2021-11-15 18:56:50 +09:00
Shawn Smith
6c35f4e2e8 return error when proxy download fails 2021-11-15 18:47:44 +09:00
Shawn Smith
d2d3d39406 use subtitle for module version 2021-11-15 18:32:19 +09:00
Shawn Smith
6083d152fb update handlebars 2021-11-14 18:06:36 +09:00
Shawn Smith
dace0fa8d2 display module version in report 2021-11-14 11:08:38 +09:00
Shawn Smith
dd5ab00b38 remove zip file after extraction 2021-11-13 23:46:58 +09:00