diff --git a/cmd/dagger/cmd/compute.go b/cmd/dagger/cmd/compute.go index 3c22b583..a60b40a4 100644 --- a/cmd/dagger/cmd/compute.go +++ b/cmd/dagger/cmd/compute.go @@ -3,8 +3,8 @@ package cmd import ( "fmt" - "dagger.cloud/go/cmd/dagger/logger" - "dagger.cloud/go/dagger" + "dagger.io/go/cmd/dagger/logger" + "dagger.io/go/dagger" "github.com/moby/buildkit/util/appcontext" diff --git a/cmd/dagger/cmd/root.go b/cmd/dagger/cmd/root.go index 7b75a7a2..7d2b0e68 100644 --- a/cmd/dagger/cmd/root.go +++ b/cmd/dagger/cmd/root.go @@ -3,7 +3,7 @@ package cmd import ( "strings" - "dagger.cloud/go/cmd/dagger/logger" + "dagger.io/go/cmd/dagger/logger" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/dagger/main.go b/cmd/dagger/main.go index d76dc523..71a7cdaa 100644 --- a/cmd/dagger/main.go +++ b/cmd/dagger/main.go @@ -1,7 +1,7 @@ package main import ( - "dagger.cloud/go/cmd/dagger/cmd" + "dagger.io/go/cmd/dagger/cmd" ) func main() { diff --git a/dagger/build.go b/dagger/build.go index 45fb3c79..497dcaf5 100644 --- a/dagger/build.go +++ b/dagger/build.go @@ -11,8 +11,8 @@ import ( cueload "cuelang.org/go/cue/load" "github.com/rs/zerolog/log" - "dagger.cloud/go/dagger/compiler" - "dagger.cloud/go/stdlib" + "dagger.io/go/dagger/compiler" + "dagger.io/go/stdlib" ) // Build a cue configuration tree from the files in fs. diff --git a/dagger/client.go b/dagger/client.go index c68ad0d2..5aee8e1a 100644 --- a/dagger/client.go +++ b/dagger/client.go @@ -24,7 +24,7 @@ import ( "github.com/containerd/console" "github.com/moby/buildkit/util/progress/progressui" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) const ( diff --git a/dagger/dagger_test.go b/dagger/dagger_test.go index 4725098e..3e6f6dc7 100644 --- a/dagger/dagger_test.go +++ b/dagger/dagger_test.go @@ -3,7 +3,7 @@ package dagger import ( "testing" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) func TestLocalDirs(t *testing.T) { diff --git a/dagger/env.go b/dagger/env.go index ba7aec7d..ecb89082 100644 --- a/dagger/env.go +++ b/dagger/env.go @@ -8,7 +8,7 @@ import ( cueflow "cuelang.org/go/tools/flow" "github.com/rs/zerolog/log" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) type Env struct { diff --git a/dagger/fs.go b/dagger/fs.go index 32f625f8..4205365e 100644 --- a/dagger/fs.go +++ b/dagger/fs.go @@ -11,7 +11,7 @@ import ( bkgw "github.com/moby/buildkit/frontend/gateway/client" fstypes "github.com/tonistiigi/fsutil/types" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) type Stat struct { diff --git a/dagger/input.go b/dagger/input.go index 92020dbe..daf59d50 100644 --- a/dagger/input.go +++ b/dagger/input.go @@ -9,7 +9,7 @@ import ( "cuelang.org/go/cue" "github.com/spf13/pflag" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) // A mutable cue value with an API suitable for user inputs, diff --git a/dagger/pipeline.go b/dagger/pipeline.go index f7eb044e..eda5740b 100644 --- a/dagger/pipeline.go +++ b/dagger/pipeline.go @@ -9,7 +9,7 @@ import ( "github.com/rs/zerolog/log" "gopkg.in/yaml.v3" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) // An execution pipeline diff --git a/doc.go b/doc.go new file mode 100644 index 00000000..2cab8e31 --- /dev/null +++ b/doc.go @@ -0,0 +1 @@ +package dagger diff --git a/examples/simple/cue.mod/module.cue b/examples/simple/cue.mod/module.cue deleted file mode 100644 index b66f698b..00000000 --- a/examples/simple/cue.mod/module.cue +++ /dev/null @@ -1 +0,0 @@ -module: "acme.infralabs.io/acme" diff --git a/examples/simple/simple.cue b/examples/simple/simple.cue index 37297f85..c691d79c 100644 --- a/examples/simple/simple.cue +++ b/examples/simple/simple.cue @@ -3,7 +3,7 @@ package acme import ( - "dagger.cloud/dagger" + "dagger.io/dagger" ) let alpine = { diff --git a/go.mod b/go.mod index 85eeeb17..c5130136 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module dagger.cloud/go +module dagger.io/go go 1.16 diff --git a/stdlib/netlify/netlify.cue b/stdlib/netlify/netlify.cue index 25a20093..513d1ab4 100644 --- a/stdlib/netlify/netlify.cue +++ b/stdlib/netlify/netlify.cue @@ -1,6 +1,6 @@ package netlify -import "dagger.cloud/dagger" +import "dagger.io/dagger" // A Netlify account #Account: { diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index 20c529fb..4f10f222 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -15,7 +15,7 @@ import ( var FS embed.FS const ( - stdlibPackageName = "dagger.cloud" + stdlibPackageName = "dagger.io" ) func Overlay(prefixPath string) (map[string]cueload.Source, error) { diff --git a/stdlib/yarn/yarn.cue b/stdlib/yarn/yarn.cue index 99f28f01..2bf51222 100644 --- a/stdlib/yarn/yarn.cue +++ b/stdlib/yarn/yarn.cue @@ -1,7 +1,7 @@ package yarn import ( - "dagger.cloud/dagger" + "dagger.io/dagger" ) // Yarn Script diff --git a/tests/exec/undefined/with_pkg_def/cue.mod/module.cue b/tests/exec/undefined/with_pkg_def/cue.mod/module.cue index c099c45a..38b913a1 100644 --- a/tests/exec/undefined/with_pkg_def/cue.mod/module.cue +++ b/tests/exec/undefined/with_pkg_def/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.cloud/testing" +module: "dagger.io/testing" diff --git a/tests/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.cloud/def/main.cue b/tests/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.io/def/main.cue similarity index 100% rename from tests/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.cloud/def/main.cue rename to tests/exec/undefined/with_pkg_def/cue.mod/pkg/dagger.io/def/main.cue diff --git a/tests/exec/undefined/with_pkg_def/main.cue b/tests/exec/undefined/with_pkg_def/main.cue index 3d5c069d..185563bb 100644 --- a/tests/exec/undefined/with_pkg_def/main.cue +++ b/tests/exec/undefined/with_pkg_def/main.cue @@ -1,7 +1,7 @@ package testing import ( - "dagger.cloud/def" + "dagger.io/def" ) #dagger: { diff --git a/tests/exec/undefined/with_pkg_mandatory/cue.mod/module.cue b/tests/exec/undefined/with_pkg_mandatory/cue.mod/module.cue index c099c45a..38b913a1 100644 --- a/tests/exec/undefined/with_pkg_mandatory/cue.mod/module.cue +++ b/tests/exec/undefined/with_pkg_mandatory/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.cloud/testing" +module: "dagger.io/testing" diff --git a/tests/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.cloud/nonoptional/main.cue b/tests/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.io/nonoptional/main.cue similarity index 100% rename from tests/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.cloud/nonoptional/main.cue rename to tests/exec/undefined/with_pkg_mandatory/cue.mod/pkg/dagger.io/nonoptional/main.cue diff --git a/tests/exec/undefined/with_pkg_mandatory/main.cue b/tests/exec/undefined/with_pkg_mandatory/main.cue index e1c1b332..c6a26f8a 100644 --- a/tests/exec/undefined/with_pkg_mandatory/main.cue +++ b/tests/exec/undefined/with_pkg_mandatory/main.cue @@ -1,7 +1,7 @@ package testing import ( - "dagger.cloud/nonoptional" + "dagger.io/nonoptional" ) #dagger: { diff --git a/tests/exec/undefined/with_pkg_optional/cue.mod/module.cue b/tests/exec/undefined/with_pkg_optional/cue.mod/module.cue index c099c45a..38b913a1 100644 --- a/tests/exec/undefined/with_pkg_optional/cue.mod/module.cue +++ b/tests/exec/undefined/with_pkg_optional/cue.mod/module.cue @@ -1 +1 @@ -module: "dagger.cloud/testing" +module: "dagger.io/testing" diff --git a/tests/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.cloud/optional/main.cue b/tests/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.io/optional/main.cue similarity index 100% rename from tests/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.cloud/optional/main.cue rename to tests/exec/undefined/with_pkg_optional/cue.mod/pkg/dagger.io/optional/main.cue diff --git a/tests/exec/undefined/with_pkg_optional/main.cue b/tests/exec/undefined/with_pkg_optional/main.cue index acf1624b..5995998f 100644 --- a/tests/exec/undefined/with_pkg_optional/main.cue +++ b/tests/exec/undefined/with_pkg_optional/main.cue @@ -1,7 +1,7 @@ package testing import ( - "dagger.cloud/optional" + "dagger.io/optional" ) #dagger: {