35 Commits

Author SHA1 Message Date
80111+shawnps@users.noreply.github.com
8d03567732 fix 2024-12-03 18:16:39 +09:00
80111+shawnps@users.noreply.github.com
6c8fd82b88 download: update error messages in ModuleName and LatestVersion 2024-12-03 18:16:39 +09:00
Shawn Smith
899caaaeaa migrate ioutil 2023-02-26 13:46:06 +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
7455924850 use module version in github URLs 2021-11-27 16:36:45 +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
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
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
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
Shawn Smith
f57b3ce6d0 unzip and rename in ProxyDownload 2021-11-13 23:41:44 +09:00
Shawn Smith
d2ac1b64f8 start proxy download logic 2021-11-10 22:07:41 +09:00
Shawn Smith
5ba8d97b47 skip download test 2021-04-25 21:58:18 +09:00
Shawn Smith
a11c355752 skip download test 2021-04-25 21:53:31 +09:00
Shawn Smith
6ecdf3c5c3 Merge pull request #236 from tariq1890/master
Fixing megacheck issues reported by gometalinter
2018-06-11 16:49:31 +09:00
tariqibrahim
fc16cf5477 Fixing megacheck issues reported by gometalinter 2018-06-10 23:20:46 -07:00
Shawn Smith
d16ec21ff2 #239 unset root.VCS.TagSyncDefault so non-master default branch checkouts work in git 2018-01-26 07:47:56 +09:00
Shawn Smith
21e832bd3a go back to using user/pass when cloning from github to avoid prompts for deleted repos 2017-12-20 16:31:54 +09:00
Shawn Smith
a37c379aa9 clone with --depth 1 when cloning new repo with git 2017-09-20 15:12:04 +09:00
Herman Schaaf
09453248dc Closes #151. Use RemoveAll instead of Remove 2016-08-15 19:03:22 +08:00
Herman Schaaf
a7da2168d7 Closes #150 First attempt should be true, not false 2016-08-14 20:27:30 +08:00
Shawn Smith
f0dc4ab510 lowercase error message 2016-08-06 14:51:49 -07:00
Herman Schaaf
b1ab0b2d52 Fix edge case with invalid repo names 2016-08-05 00:16:46 +08:00
Herman Schaaf
a2b2dbdbc7 Use VCS module to download repos instead of go get 2016-08-04 23:50:18 +08:00