Skip to content

Commit

Permalink
chore: update oci reference to helpers/v2 (#94)
Browse files Browse the repository at this point in the history
## Description
This updates references to the helpers module, within the oci module, to
helpers/v2.

## Related Issue
none
  • Loading branch information
TristanHoladay authored May 30, 2024
1 parent 074909f commit 37f2722
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion oci/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"strings"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
"github.com/docker/cli/cli/config"
"github.com/docker/cli/cli/config/configfile"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Expand Down
2 changes: 1 addition & 1 deletion oci/copier.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io"
"time"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"golang.org/x/sync/errgroup"
"golang.org/x/sync/semaphore"
Expand Down
4 changes: 2 additions & 2 deletions oci/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module github.com/defenseunicorns/pkg/oci

go 1.21.8

replace github.com/defenseunicorns/pkg/helpers => ../helpers
replace github.com/defenseunicorns/pkg/helpers/v2 => ../helpers

require (
github.com/defenseunicorns/pkg/helpers v0.0.1
github.com/defenseunicorns/pkg/helpers/v2 v2.0.1
github.com/distribution/distribution/v3 v3.0.0-alpha.1
github.com/docker/cli v26.0.0+incompatible
github.com/goccy/go-yaml v1.11.3
Expand Down
2 changes: 1 addition & 1 deletion oci/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/json"
"path/filepath"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion oci/oci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"testing"
"time"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
"github.com/distribution/distribution/v3/configuration"
"github.com/distribution/distribution/v3/registry"
_ "github.com/distribution/distribution/v3/registry/storage/driver/inmemory" // used for docker test registry
Expand Down
2 changes: 1 addition & 1 deletion oci/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"context"
"fmt"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion oci/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"path/filepath"

"github.com/defenseunicorns/pkg/helpers"
"github.com/defenseunicorns/pkg/helpers/v2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"oras.land/oras-go/v2"
)
Expand Down

0 comments on commit 37f2722

Please sign in to comment.