Skip to content

Commit 96d9c2a

Browse files
Update go-license-detector to v3
go-license-detector v2 was depending on an old version of gopkg.in/src-d/go-git, and unfortunately the latest version broke compatibility unexpectedly. This made golicense unnecessarily difficult to build in repositories which otherwise used gopkg.in/src-d/go-git. Upgrading to v3 removes these problems. See src-d/go-git#1262 for full context. It also allows us to remove a whole lot of packages from go.mod in general.
1 parent 8c09a94 commit 96d9c2a

File tree

3 files changed

+71
-60
lines changed

3 files changed

+71
-60
lines changed

go.mod

+6-32
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,27 @@ go 1.13
44

55
require (
66
github.com/360EntSecGroup-Skylar/excelize v1.4.0
7-
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 // indirect
8-
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect
97
github.com/davecgh/go-spew v1.1.1
10-
github.com/dgryski/go-metro v0.0.0-20180109044635-280f6062b5bc // indirect
11-
github.com/dgryski/go-minhash v0.0.0-20170608043002-7fe510aff544 // indirect
12-
github.com/dgryski/go-spooky v0.0.0-20170606183049-ed3d087f40e2 // indirect
13-
github.com/ekzhu/minhash-lsh v0.0.0-20171225071031-5c06ee8586a1 // indirect
14-
github.com/emirpasic/gods v1.12.0 // indirect
158
github.com/fatih/color v1.7.0
16-
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
17-
github.com/gliderlabs/ssh v0.2.2 // indirect
189
github.com/google/go-github/v18 v18.2.0
1910
github.com/gosuri/uilive v0.0.0-20170323041506-ac356e6e42cd
2011
github.com/hashicorp/go-multierror v1.0.0
2112
github.com/hashicorp/hcl2 v0.0.0-20181111172936-0467c0c38ca2
2213
github.com/hhatto/gorst v0.0.0-20181029133204-ca9f730cac5b // indirect
23-
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
24-
github.com/jdkato/prose v1.1.0 // indirect
25-
github.com/kevinburke/ssh_config v0.0.0-20180830205328-81db2a75821e // indirect
2614
github.com/mattn/go-colorable v0.0.9 // indirect
2715
github.com/mattn/go-isatty v0.0.4 // indirect
28-
github.com/mitchellh/go-homedir v1.0.0 // indirect
2916
github.com/mitchellh/go-spdx v0.1.0
3017
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
3118
github.com/montanaflynn/stats v0.0.0-20180911141734-db72e6cae808 // indirect
32-
github.com/neurosnap/sentences v1.0.6 // indirect
33-
github.com/pelletier/go-buffruneio v0.2.0 // indirect
34-
github.com/pkg/errors v0.8.0 // indirect
3519
github.com/rsc/goversion v1.2.0
3620
github.com/sebdah/goldie v0.0.0-20180424091453-8784dd1ab561
3721
github.com/shogo82148/go-shuffle v0.0.0-20180218125048-27e6095f230d // indirect
38-
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 // indirect
39-
github.com/src-d/gcfg v1.4.0 // indirect
40-
github.com/stretchr/objx v0.1.1 // indirect
41-
github.com/stretchr/testify v1.2.2
42-
github.com/xanzy/ssh-agent v0.2.0 // indirect
43-
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
22+
github.com/stretchr/testify v1.3.0
23+
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
4424
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
45-
golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846
25+
golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a
4626
gonum.org/v1/netlib v0.0.0-20191031114514-eccb95939662 // indirect
47-
gopkg.in/neurosnap/sentences.v1 v1.0.6 // indirect
48-
gopkg.in/russross/blackfriday.v2 v2.0.0 // indirect
49-
gopkg.in/src-d/go-billy-siva.v4 v4.2.2 // indirect
50-
gopkg.in/src-d/go-billy.v4 v4.3.0 // indirect
51-
gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 // indirect
52-
gopkg.in/src-d/go-git.v4 v4.7.0 // indirect
53-
gopkg.in/src-d/go-license-detector.v2 v2.0.0-20180510072912-da552ecf050b
54-
gopkg.in/src-d/go-siva.v1 v1.3.0 // indirect
55-
gopkg.in/warnings.v0 v0.1.2 // indirect
27+
gopkg.in/src-d/go-license-detector.v3 v3.0.1
5628
)
29+
30+
replace gopkg.in/russross/blackfriday.v2 => github.com/russross/blackfriday/v2 v2.0.1

0 commit comments

Comments
 (0)