From 41dbdeba94929708605fca0438b3d11e60828198 Mon Sep 17 00:00:00 2001 From: mcoops Date: Mon, 22 Nov 2021 12:48:39 +1100 Subject: [PATCH] Gomod edit imports (#59) * readme: update badge test * gomod: fix paths to point to RedHatProductSecurity --- README.md | 2 +- cmd/deplist/deplist.go | 2 +- deplist.go | 4 ++-- deplist_test.go | 2 +- go.mod | 2 +- internal/scan/nodejs.go | 2 +- test/testRepo/go.mod | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 99047f3..2aa9a81 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Tests](https://github.com/mcoops/deplist/actions/workflows/go.yml/badge.svg)](https://github.com/mcoops/deplist/actions/workflows/go.yml) +[![Tests](https://github.com/RedHatProductSecurity/deplist/actions/workflows/go.yml/badge.svg)](https://github.com/RedHatProductSecurity/deplist/actions/workflows/go.yml) # deplist diff --git a/cmd/deplist/deplist.go b/cmd/deplist/deplist.go index 8cd37d3..bb79c79 100644 --- a/cmd/deplist/deplist.go +++ b/cmd/deplist/deplist.go @@ -4,7 +4,7 @@ import ( "flag" "fmt" - "github.com/mcoops/deplist" + "github.com/RedHatProductSecurity/deplist" purl "github.com/mcoops/packageurl-go" log "github.com/sirupsen/logrus" ) diff --git a/deplist.go b/deplist.go index bac93a6..38eed2f 100644 --- a/deplist.go +++ b/deplist.go @@ -7,8 +7,8 @@ import ( "path/filepath" "strings" - "github.com/mcoops/deplist/internal/scan" - "github.com/mcoops/deplist/internal/utils" + "github.com/RedHatProductSecurity/deplist/internal/scan" + "github.com/RedHatProductSecurity/deplist/internal/utils" ) // enums start at 1 to allow us to specify found languages 0 = nil diff --git a/deplist_test.go b/deplist_test.go index 7e3b63b..ccaf994 100644 --- a/deplist_test.go +++ b/deplist_test.go @@ -10,7 +10,7 @@ func BuildWant() []Dependency { golangPaths := []string{ "errors", "fmt", - "github.com/mcoops/deplist", + "github.com/RedHatProductSecurity/deplist", "github.com/openshift/api/config/v1", "golang.org/x/text/unicode", "internal/abi", diff --git a/go.mod b/go.mod index 601d480..0fcb882 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mcoops/deplist +module github.com/RedHatProductSecurity/deplist go 1.17 diff --git a/internal/scan/nodejs.go b/internal/scan/nodejs.go index 7e6506d..275cac1 100644 --- a/internal/scan/nodejs.go +++ b/internal/scan/nodejs.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/mcoops/deplist/internal/utils" + "github.com/RedHatProductSecurity/deplist/internal/utils" log "github.com/sirupsen/logrus" ) diff --git a/test/testRepo/go.mod b/test/testRepo/go.mod index 707a832..90a1ab6 100644 --- a/test/testRepo/go.mod +++ b/test/testRepo/go.mod @@ -1,4 +1,4 @@ -module github.com/mcoops/deplist +module github.com/RedHatProductSecurity/deplist go 1.13