Skip to content

Commit ce42d4a

Browse files
authored
Merge pull request #292 from carolynvs/use-image-relocation-fork
Use the cnabio fork of image-relocation
2 parents e1ff8d5 + 4525e0a commit ce42d4a

File tree

8 files changed

+17
-51
lines changed

8 files changed

+17
-51
lines changed

go.mod

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.17
44

55
require (
66
github.com/Masterminds/semver v1.5.0
7+
github.com/cnabio/image-relocation v0.0.0-20220815190842-cd2f11ecad88
78
github.com/cyberphone/json-canonicalization v0.0.0-20210303052042-6bc126869bf4
89
github.com/docker/cli v20.10.17+incompatible
910
github.com/docker/distribution v2.8.1+incompatible
@@ -13,7 +14,6 @@ require (
1314
github.com/mitchellh/copystructure v1.0.0
1415
github.com/oklog/ulid v1.3.1
1516
github.com/opencontainers/go-digest v1.0.0
16-
github.com/pivotal/image-relocation v0.0.0-20191111101224-e94aff6df06c
1717
github.com/pkg/errors v0.9.1
1818
github.com/qri-io/jsonpointer v0.1.1
1919
github.com/qri-io/jsonschema v0.2.2-0.20210723092138-2eb22ee8115f
@@ -110,13 +110,11 @@ require (
110110
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
111111
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
112112
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
113-
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
113+
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
114114
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
115115
golang.org/x/text v0.3.7 // indirect
116116
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
117117
google.golang.org/appengine v1.6.7 // indirect
118-
google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106 // indirect
119-
google.golang.org/grpc v1.45.0 // indirect
120118
google.golang.org/protobuf v1.27.1 // indirect
121119
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
122120
gopkg.in/dancannon/gorethink.v3 v3.0.5 // indirect

go.sum

+4-36
Large diffs are not rendered by default.

imagestore/imagestoremocks/store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package imagestoremocks
22

3-
import "github.com/pivotal/image-relocation/pkg/image"
3+
import "github.com/cnabio/image-relocation/pkg/image"
44

55
type MockStore struct {
66
AddStub func(im string) (string, error)

imagestore/ocilayout/ocilayout.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"os"
77
"path/filepath"
88

9-
"github.com/pivotal/image-relocation/pkg/image"
10-
"github.com/pivotal/image-relocation/pkg/registry"
11-
"github.com/pivotal/image-relocation/pkg/registry/ggcr"
9+
"github.com/cnabio/image-relocation/pkg/image"
10+
"github.com/cnabio/image-relocation/pkg/registry"
11+
"github.com/cnabio/image-relocation/pkg/registry/ggcr"
1212

1313
"github.com/cnabio/cnab-go/imagestore"
1414
)

imagestore/ocilayout/ocilayout_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os/exec"
77
"testing"
88

9-
"github.com/pivotal/image-relocation/pkg/image"
9+
"github.com/cnabio/image-relocation/pkg/image"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212

imagestore/remote/remote.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package remote
33
import (
44
"fmt"
55

6-
"github.com/pivotal/image-relocation/pkg/image"
7-
"github.com/pivotal/image-relocation/pkg/registry"
8-
"github.com/pivotal/image-relocation/pkg/registry/ggcr"
6+
"github.com/cnabio/image-relocation/pkg/image"
7+
"github.com/cnabio/image-relocation/pkg/registry"
8+
"github.com/cnabio/image-relocation/pkg/registry/ggcr"
99

1010
"github.com/cnabio/cnab-go/imagestore"
1111
)

imagestore/remote/remote_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os/exec"
77
"testing"
88

9-
"github.com/pivotal/image-relocation/pkg/image"
9+
"github.com/cnabio/image-relocation/pkg/image"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212

imagestore/store.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"io/ioutil"
66
"net/http"
77

8-
"github.com/pivotal/image-relocation/pkg/image"
9-
"github.com/pivotal/image-relocation/pkg/registry/ggcr"
8+
"github.com/cnabio/image-relocation/pkg/image"
9+
"github.com/cnabio/image-relocation/pkg/registry/ggcr"
1010
)
1111

1212
// Store is an abstract image store.

0 commit comments

Comments
 (0)