diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9c3f46dc..79354fbd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,4 +22,4 @@ jobs: GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }} with: entrypoint: imagine - args: build --platform linux/amd64,linux/arm64 --config build.yaml --upstream-branch origin/main --registry ghcr.io/docker --push + args: build --platform linux/amd64,linux/arm64 --config build.yaml --upstream-branch origin/main --registry ghcr.io/errordeveloper --push diff --git a/README.md b/README.md index 0a87e16e..069bea8d 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Tape has the following commands: First, clone the repo and build `tape` binary: ```console -git clone -q git@github.com:docker/labs-brown-tape.git ; cd ./labs-brown-tape +git clone -q git@github.com:errordeveloper/tape.git ; cd ./labs-brown-tape (cd ./tape ; go build) ``` diff --git a/attest/attest.go b/attest/attest.go index 9c4a4ee1..4e126a93 100644 --- a/attest/attest.go +++ b/attest/attest.go @@ -3,9 +3,9 @@ package attest import ( "fmt" - "github.com/docker/labs-brown-tape/attest/digest" - "github.com/docker/labs-brown-tape/attest/types" - "github.com/docker/labs-brown-tape/attest/vcs/git" + "github.com/errordeveloper/tape/attest/digest" + "github.com/errordeveloper/tape/attest/types" + "github.com/errordeveloper/tape/attest/vcs/git" ) var ( diff --git a/attest/manifest/images.go b/attest/manifest/images.go index f9924659..80fc3149 100644 --- a/attest/manifest/images.go +++ b/attest/manifest/images.go @@ -3,8 +3,8 @@ package manifest import ( "cmp" - attestTypes "github.com/docker/labs-brown-tape/attest/types" - manifestTypes "github.com/docker/labs-brown-tape/manifest/types" + attestTypes "github.com/errordeveloper/tape/attest/types" + manifestTypes "github.com/errordeveloper/tape/manifest/types" ) const ( diff --git a/attest/manifest/manifest.go b/attest/manifest/manifest.go index 156a7688..f3ebf7d9 100644 --- a/attest/manifest/manifest.go +++ b/attest/manifest/manifest.go @@ -3,7 +3,7 @@ package manifest import ( "cmp" - "github.com/docker/labs-brown-tape/attest/types" + "github.com/errordeveloper/tape/attest/types" ) const ( diff --git a/attest/registry.go b/attest/registry.go index af3d8080..5777d75e 100644 --- a/attest/registry.go +++ b/attest/registry.go @@ -8,9 +8,9 @@ import ( "path/filepath" "slices" - "github.com/docker/labs-brown-tape/attest/digest" - "github.com/docker/labs-brown-tape/attest/manifest" - "github.com/docker/labs-brown-tape/attest/types" + "github.com/errordeveloper/tape/attest/digest" + "github.com/errordeveloper/tape/attest/manifest" + "github.com/errordeveloper/tape/attest/types" "github.com/fxamacker/cbor/v2" ) diff --git a/attest/registry_test.go b/attest/registry_test.go index 12aef1da..2b6b0dca 100644 --- a/attest/registry_test.go +++ b/attest/registry_test.go @@ -11,14 +11,14 @@ import ( "github.com/google/go-containerregistry/pkg/crane" . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/attest" - "github.com/docker/labs-brown-tape/attest/manifest" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" - "github.com/docker/labs-brown-tape/oci" - // "github.com/docker/labs-brown-tape/trex" + . "github.com/errordeveloper/tape/attest" + "github.com/errordeveloper/tape/attest/manifest" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" + "github.com/errordeveloper/tape/oci" + // "github.com/errordeveloper/tape/trex" ) var ( diff --git a/attest/types/types.go b/attest/types/types.go index f3daeb8c..680db542 100644 --- a/attest/types/types.go +++ b/attest/types/types.go @@ -11,7 +11,7 @@ import ( toto "github.com/in-toto/in-toto-golang/in_toto" - "github.com/docker/labs-brown-tape/attest/digest" + "github.com/errordeveloper/tape/attest/digest" ) type ( diff --git a/attest/vcs/git/git.go b/attest/vcs/git/git.go index 4799e0bb..95d1a386 100644 --- a/attest/vcs/git/git.go +++ b/attest/vcs/git/git.go @@ -13,8 +13,8 @@ import ( "github.com/go-git/go-git/v5/plumbing/transport" "github.com/go-git/go-git/v5/utils/ioutil" - "github.com/docker/labs-brown-tape/attest/digest" - "github.com/docker/labs-brown-tape/attest/types" + "github.com/errordeveloper/tape/attest/digest" + "github.com/errordeveloper/tape/attest/types" ) const ( diff --git a/attest/vcs/git/git_test.go b/attest/vcs/git/git_test.go index 5afd7001..4c12b705 100644 --- a/attest/vcs/git/git_test.go +++ b/attest/vcs/git/git_test.go @@ -8,7 +8,7 @@ import ( . "github.com/onsi/gomega" "github.com/onsi/gomega/types" - . "github.com/docker/labs-brown-tape/attest/vcs/git" + . "github.com/errordeveloper/tape/attest/vcs/git" ) type gitTestCases struct { diff --git a/build.yaml b/build.yaml index 63423f31..cbe0848f 100644 --- a/build.yaml +++ b/build.yaml @@ -2,5 +2,5 @@ kind: ImagineBuildConfig apiVersion: v1alpha1 spec: - name: labs-brown-tape + name: tape dir: ./ diff --git a/go.mod b/go.mod index a1d93008..208e2a13 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/docker/labs-brown-tape +module github.com/errordeveloper/tape go 1.21 diff --git a/manifest/image/alias_test.go b/manifest/image/alias_test.go index d4cc154d..1acb8e20 100644 --- a/manifest/image/alias_test.go +++ b/manifest/image/alias_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/manifest/image" + . "github.com/errordeveloper/tape/manifest/image" ) func TestMakeAliasesForNames(t *testing.T) { diff --git a/manifest/image/image.go b/manifest/image/image.go index ce744703..b8049fa0 100644 --- a/manifest/image/image.go +++ b/manifest/image/image.go @@ -3,7 +3,7 @@ package image import ( kustomize "sigs.k8s.io/kustomize/api/types" - "github.com/docker/labs-brown-tape/attest/digest" + "github.com/errordeveloper/tape/attest/digest" ) type ( diff --git a/manifest/imagecopier/imagecopier.go b/manifest/imagecopier/imagecopier.go index 4c0735cc..120de625 100644 --- a/manifest/imagecopier/imagecopier.go +++ b/manifest/imagecopier/imagecopier.go @@ -6,8 +6,8 @@ import ( "encoding/hex" "hash" - "github.com/docker/labs-brown-tape/manifest/types" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/manifest/types" + "github.com/errordeveloper/tape/oci" ) type ImageCopier interface { diff --git a/manifest/imagecopier/imagecopier_test.go b/manifest/imagecopier/imagecopier_test.go index e9b36841..0eaeef14 100644 --- a/manifest/imagecopier/imagecopier_test.go +++ b/manifest/imagecopier/imagecopier_test.go @@ -7,13 +7,13 @@ import ( . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/manifest/imagecopier" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" - "github.com/docker/labs-brown-tape/oci" - "github.com/docker/labs-brown-tape/trex" + . "github.com/errordeveloper/tape/manifest/imagecopier" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" + "github.com/errordeveloper/tape/oci" + "github.com/errordeveloper/tape/trex" "github.com/google/go-containerregistry/pkg/crane" ) diff --git a/manifest/imageresolver/imageresolver.go b/manifest/imageresolver/imageresolver.go index 64e71e09..01830035 100644 --- a/manifest/imageresolver/imageresolver.go +++ b/manifest/imageresolver/imageresolver.go @@ -6,8 +6,8 @@ import ( kimage "sigs.k8s.io/kustomize/api/image" - "github.com/docker/labs-brown-tape/manifest/types" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/manifest/types" + "github.com/errordeveloper/tape/oci" ) type ( diff --git a/manifest/imageresolver/imageresolver_test.go b/manifest/imageresolver/imageresolver_test.go index 473ca2ca..d6944d12 100644 --- a/manifest/imageresolver/imageresolver_test.go +++ b/manifest/imageresolver/imageresolver_test.go @@ -6,11 +6,11 @@ import ( . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" - "github.com/docker/labs-brown-tape/manifest/types" + . "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" + "github.com/errordeveloper/tape/manifest/types" ) func TestImageResover(t *testing.T) { diff --git a/manifest/imagescanner/filter.go b/manifest/imagescanner/filter.go index dec4e32e..27f90e1e 100644 --- a/manifest/imagescanner/filter.go +++ b/manifest/imagescanner/filter.go @@ -7,8 +7,8 @@ import ( "sigs.k8s.io/kustomize/api/filters/filtersutil" "sigs.k8s.io/kustomize/api/filters/fsslice" - "github.com/docker/labs-brown-tape/attest/digest" - "github.com/docker/labs-brown-tape/manifest/types" + "github.com/errordeveloper/tape/attest/digest" + "github.com/errordeveloper/tape/manifest/types" ) type Filter struct { diff --git a/manifest/imagescanner/imagescanner.go b/manifest/imagescanner/imagescanner.go index 124c90fb..0c79770d 100644 --- a/manifest/imagescanner/imagescanner.go +++ b/manifest/imagescanner/imagescanner.go @@ -11,9 +11,9 @@ import ( kimage "sigs.k8s.io/kustomize/api/image" "sigs.k8s.io/kustomize/kyaml/kio" - "github.com/docker/labs-brown-tape/attest" - "github.com/docker/labs-brown-tape/attest/digest" - "github.com/docker/labs-brown-tape/manifest/types" + "github.com/errordeveloper/tape/attest" + "github.com/errordeveloper/tape/attest/digest" + "github.com/errordeveloper/tape/manifest/types" ) type ImageScanner interface { diff --git a/manifest/imagescanner/imagescanner_test.go b/manifest/imagescanner/imagescanner_test.go index 2b57542c..4553e50c 100644 --- a/manifest/imagescanner/imagescanner_test.go +++ b/manifest/imagescanner/imagescanner_test.go @@ -5,9 +5,9 @@ import ( . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" + . "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" ) func TestImageScanner(t *testing.T) { diff --git a/manifest/loader/loader_test.go b/manifest/loader/loader_test.go index 90215ee3..1682727a 100644 --- a/manifest/loader/loader_test.go +++ b/manifest/loader/loader_test.go @@ -6,8 +6,8 @@ import ( . "github.com/onsi/gomega" - . "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" + . "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" ) func TestLoader(t *testing.T) { diff --git a/manifest/packager/packager.go b/manifest/packager/packager.go index 438484a4..c0479858 100644 --- a/manifest/packager/packager.go +++ b/manifest/packager/packager.go @@ -4,8 +4,8 @@ import ( "context" "time" - attestTypes "github.com/docker/labs-brown-tape/attest/types" - "github.com/docker/labs-brown-tape/oci" + attestTypes "github.com/errordeveloper/tape/attest/types" + "github.com/errordeveloper/tape/oci" ) type Packager interface { diff --git a/manifest/packager/packager_test.go b/manifest/packager/packager_test.go index 2cf3d9f1..4147b9b3 100644 --- a/manifest/packager/packager_test.go +++ b/manifest/packager/packager_test.go @@ -8,17 +8,17 @@ import ( "github.com/google/go-containerregistry/pkg/crane" . "github.com/onsi/gomega" - "github.com/docker/labs-brown-tape/attest" - "github.com/docker/labs-brown-tape/attest/manifest" - "github.com/docker/labs-brown-tape/manifest/imagecopier" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - . "github.com/docker/labs-brown-tape/manifest/packager" - "github.com/docker/labs-brown-tape/manifest/testdata" - "github.com/docker/labs-brown-tape/manifest/updater" - "github.com/docker/labs-brown-tape/oci" - "github.com/docker/labs-brown-tape/trex" + "github.com/errordeveloper/tape/attest" + "github.com/errordeveloper/tape/attest/manifest" + "github.com/errordeveloper/tape/manifest/imagecopier" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + . "github.com/errordeveloper/tape/manifest/packager" + "github.com/errordeveloper/tape/manifest/testdata" + "github.com/errordeveloper/tape/manifest/updater" + "github.com/errordeveloper/tape/oci" + "github.com/errordeveloper/tape/trex" ) var ( diff --git a/manifest/testdata/testdata.go b/manifest/testdata/testdata.go index aa20f49f..857e852f 100644 --- a/manifest/testdata/testdata.go +++ b/manifest/testdata/testdata.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "github.com/docker/labs-brown-tape/manifest/types" + "github.com/errordeveloper/tape/manifest/types" ) type TestCase struct { diff --git a/manifest/types/types.go b/manifest/types/types.go index 78a5e0af..b73cdc31 100644 --- a/manifest/types/types.go +++ b/manifest/types/types.go @@ -3,7 +3,7 @@ package types import ( kustomize "sigs.k8s.io/kustomize/api/types" - "github.com/docker/labs-brown-tape/manifest/image" + "github.com/errordeveloper/tape/manifest/image" ) const ( diff --git a/manifest/updater/updater.go b/manifest/updater/updater.go index 0ccaf740..0246715c 100644 --- a/manifest/updater/updater.go +++ b/manifest/updater/updater.go @@ -10,10 +10,10 @@ import ( "sigs.k8s.io/kustomize/kyaml/kio" "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "github.com/docker/labs-brown-tape/attest/digest" - attestTypes "github.com/docker/labs-brown-tape/attest/types" - "github.com/docker/labs-brown-tape/manifest/types" - manifestTypes "github.com/docker/labs-brown-tape/manifest/types" + "github.com/errordeveloper/tape/attest/digest" + attestTypes "github.com/errordeveloper/tape/attest/types" + "github.com/errordeveloper/tape/manifest/types" + manifestTypes "github.com/errordeveloper/tape/manifest/types" ) type Updater interface { diff --git a/manifest/updater/updater_test.go b/manifest/updater/updater_test.go index 53fa92fc..fca7a391 100644 --- a/manifest/updater/updater_test.go +++ b/manifest/updater/updater_test.go @@ -8,15 +8,15 @@ import ( "github.com/google/go-containerregistry/pkg/crane" . "github.com/onsi/gomega" - "github.com/docker/labs-brown-tape/manifest/imagecopier" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/testdata" - "github.com/docker/labs-brown-tape/manifest/types" - . "github.com/docker/labs-brown-tape/manifest/updater" - "github.com/docker/labs-brown-tape/oci" - "github.com/docker/labs-brown-tape/trex" + "github.com/errordeveloper/tape/manifest/imagecopier" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/testdata" + "github.com/errordeveloper/tape/manifest/types" + . "github.com/errordeveloper/tape/manifest/updater" + "github.com/errordeveloper/tape/oci" + "github.com/errordeveloper/tape/trex" ) var ( diff --git a/oci/artefact.go b/oci/artefact.go index 0630e854..15eadf7f 100644 --- a/oci/artefact.go +++ b/oci/artefact.go @@ -23,8 +23,8 @@ import ( "github.com/google/go-containerregistry/pkg/v1/tarball" typesv1 "github.com/google/go-containerregistry/pkg/v1/types" - attestTypes "github.com/docker/labs-brown-tape/attest/types" - manifestTypes "github.com/docker/labs-brown-tape/manifest/types" + attestTypes "github.com/errordeveloper/tape/attest/types" + manifestTypes "github.com/errordeveloper/tape/manifest/types" ) const ( diff --git a/tape/app/app.go b/tape/app/app.go index c14b58c5..6ca802a0 100644 --- a/tape/app/app.go +++ b/tape/app/app.go @@ -8,7 +8,7 @@ import ( flags "github.com/thought-machine/go-flags" - "github.com/docker/labs-brown-tape/logger" + "github.com/errordeveloper/tape/logger" ) type OutputFormat string diff --git a/tape/app/images.go b/tape/app/images.go index f81bcc0b..faa2ba36 100644 --- a/tape/app/images.go +++ b/tape/app/images.go @@ -15,11 +15,11 @@ import ( "github.com/secure-systems-lab/go-securesystemslib/dsse" "github.com/sigstore/sigstore/pkg/cryptoutils" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/types" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/types" + "github.com/errordeveloper/tape/oci" ) type TapeImagesCommand struct { diff --git a/tape/app/package.go b/tape/app/package.go index 1fd2c845..07102162 100644 --- a/tape/app/package.go +++ b/tape/app/package.go @@ -10,15 +10,15 @@ import ( kimage "sigs.k8s.io/kustomize/api/image" - "github.com/docker/labs-brown-tape/attest" - "github.com/docker/labs-brown-tape/attest/manifest" - "github.com/docker/labs-brown-tape/manifest/imagecopier" - "github.com/docker/labs-brown-tape/manifest/imageresolver" - "github.com/docker/labs-brown-tape/manifest/imagescanner" - "github.com/docker/labs-brown-tape/manifest/loader" - "github.com/docker/labs-brown-tape/manifest/packager" - "github.com/docker/labs-brown-tape/manifest/updater" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/attest" + "github.com/errordeveloper/tape/attest/manifest" + "github.com/errordeveloper/tape/manifest/imagecopier" + "github.com/errordeveloper/tape/manifest/imageresolver" + "github.com/errordeveloper/tape/manifest/imagescanner" + "github.com/errordeveloper/tape/manifest/loader" + "github.com/errordeveloper/tape/manifest/packager" + "github.com/errordeveloper/tape/manifest/updater" + "github.com/errordeveloper/tape/oci" ) type TapePackageCommand struct { diff --git a/tape/app/pull.go b/tape/app/pull.go index 8401c3cd..a85d50e1 100644 --- a/tape/app/pull.go +++ b/tape/app/pull.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/oci" "github.com/fluxcd/pkg/tar" ) diff --git a/tape/app/view.go b/tape/app/view.go index 1883a9e5..11388c4b 100644 --- a/tape/app/view.go +++ b/tape/app/view.go @@ -11,10 +11,10 @@ import ( toto "github.com/in-toto/in-toto-golang/in_toto" - "github.com/docker/labs-brown-tape/attest/manifest" - attestTypes "github.com/docker/labs-brown-tape/attest/types" + "github.com/errordeveloper/tape/attest/manifest" + attestTypes "github.com/errordeveloper/tape/attest/types" - "github.com/docker/labs-brown-tape/oci" + "github.com/errordeveloper/tape/oci" ) type TapeViewCommand struct { diff --git a/tape/main.go b/tape/main.go index af99a1f7..22df1b41 100644 --- a/tape/main.go +++ b/tape/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/docker/labs-brown-tape/tape/app" + "github.com/errordeveloper/tape/tape/app" ) func main() { os.Exit(app.Run()) }