-
Notifications
You must be signed in to change notification settings - Fork 244
/
Copy pathgenerate-mod.sh
executable file
·36 lines (28 loc) · 1.81 KB
/
generate-mod.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
set -ex
rm -f go.mod go.sum
go mod init github.com/redhat-developer/odo
go mod edit -require oras.land/[email protected] # for github.com/devfile/registry-support
# for odo
go mod edit -require github.com/devfile/api/[email protected]
go mod edit -require github.com/devfile/[email protected]
go mod edit -require github.com/devfile/registry-support/index/[email protected]
go mod edit -require github.com/devfile/registry-support/[email protected]
go mod edit -require github.com/openshift/[email protected]
go mod edit -require github.com/kubernetes-sigs/[email protected]
go mod edit -require k8s.io/[email protected]
go mod edit -require github.com/redhat-developer/alizer/[email protected]
go mod edit -require github.com/redhat-developer/[email protected]
go mod edit -require github.com/onsi/ginkgo/[email protected]
go mod edit -require github.com/segmentio/[email protected] # fixing this revision because of the missing license in the latest released version
go mod edit -replace gopkg.in/segmentio/analytics-go.v3=github.com/segmentio/analytics-go/[email protected]
go mod edit -replace github.com/apcera/gssapi=github.com/openshift/[email protected] # for oc
# Upgrades recommended by Dependabot
go mod edit -require github.com/pborman/[email protected]
go mod edit -require github.com/posener/[email protected]
go mod edit -require github.com/fatih/[email protected]
go mod edit -require github.com/jedib0t/go-pretty/[email protected]
go mod edit -require github.com/golang/[email protected]
go mod edit -require k8s.io/klog/[email protected]
go mod tidy -compat=1.17 # why?
go mod vendor