diff --git a/.goxc.json b/.goxc.json index 8e5f718..2ee38d1 100644 --- a/.goxc.json +++ b/.goxc.json @@ -20,7 +20,7 @@ "PackageVersion": "0.0.1", "TaskSettings": { "publish-github": { - "owner": "online-net", + "owner": "scaleway", "prerelease": false, "repository": "c14-cli" }, diff --git a/Dockerfile b/Dockerfile index 47cc06e..21aa3d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.6 -COPY . /go/src/github.com/online-net/c14-cli -WORKDIR /go/src/github.com/online-net/c14-cli +COPY . /go/src/github.com/scaleway/c14-cli +WORKDIR /go/src/github.com/scaleway/c14-cli RUN go install -v ./cmd/c14 ENTRYPOINT ["c14"] CMD ["help"] diff --git a/cmd/c14/main.go b/cmd/c14/main.go index 9a51a2f..6f4a6c6 100644 --- a/cmd/c14/main.go +++ b/cmd/c14/main.go @@ -6,7 +6,7 @@ import ( "github.com/apex/log" "github.com/apex/log/handlers/text" "github.com/juju/errors" - "github.com/online-net/c14-cli/pkg/commands" + "github.com/scaleway/c14-cli/pkg/commands" ) func main() { diff --git a/glide.yaml b/glide.yaml index dc0923d..b487e17 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/online-net/c14-cli +package: github.com/scaleway/c14-cli import: - package: github.com/QuentinPerez/go-encodeUrl - package: github.com/apex/log diff --git a/pkg/api/auth/auth.go b/pkg/api/auth/auth.go index 8a168a8..d05291d 100644 --- a/pkg/api/auth/auth.go +++ b/pkg/api/auth/auth.go @@ -10,7 +10,7 @@ import ( "github.com/QuentinPerez/go-encodeUrl" "github.com/juju/errors" - "github.com/online-net/c14-cli/pkg/utils/configstore" + "github.com/scaleway/c14-cli/pkg/utils/configstore" ) var ( diff --git a/pkg/api/cache.go b/pkg/api/cache.go index 4746482..b80b874 100644 --- a/pkg/api/cache.go +++ b/pkg/api/cache.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/apex/log" - "github.com/online-net/c14-cli/pkg/utils/configstore" + "github.com/scaleway/c14-cli/pkg/utils/configstore" ) type cacheSafe struct { diff --git a/pkg/commands/bucket.go b/pkg/commands/bucket.go index e7e3ef7..e825c1e 100644 --- a/pkg/commands/bucket.go +++ b/pkg/commands/bucket.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "github.com/juju/errors" - "github.com/online-net/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api" "os" "strings" "text/tabwriter" diff --git a/pkg/commands/command.go b/pkg/commands/command.go index 475063e..bff94e5 100644 --- a/pkg/commands/command.go +++ b/pkg/commands/command.go @@ -11,9 +11,9 @@ import ( "golang.org/x/oauth2" "github.com/cocooma/mflag" - "github.com/online-net/c14-cli/pkg/api" - "github.com/online-net/c14-cli/pkg/api/auth" - "github.com/online-net/c14-cli/pkg/version" + "github.com/scaleway/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api/auth" + "github.com/scaleway/c14-cli/pkg/version" ) // Config represents the informations on the usages diff --git a/pkg/commands/create.go b/pkg/commands/create.go index fd9116a..e5787fa 100644 --- a/pkg/commands/create.go +++ b/pkg/commands/create.go @@ -8,7 +8,7 @@ import ( "github.com/docker/docker/pkg/namesgenerator" "github.com/juju/errors" - "github.com/online-net/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api" ) type create struct { diff --git a/pkg/commands/files.go b/pkg/commands/files.go index 07acc04..fefe72f 100644 --- a/pkg/commands/files.go +++ b/pkg/commands/files.go @@ -8,8 +8,8 @@ import ( "github.com/apex/log" "github.com/dustin/go-humanize" - "github.com/online-net/c14-cli/pkg/api" - "github.com/online-net/c14-cli/pkg/utils/ssh" + "github.com/scaleway/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/utils/ssh" "github.com/pkg/sftp" ) diff --git a/pkg/commands/freezze.go b/pkg/commands/freezze.go index 2a0afe9..57eaa4d 100644 --- a/pkg/commands/freezze.go +++ b/pkg/commands/freezze.go @@ -7,8 +7,8 @@ import ( "gopkg.in/cheggaaa/pb.v1" "github.com/apex/log" - "github.com/online-net/c14-cli/pkg/api" - "github.com/online-net/c14-cli/pkg/utils/pgbar" + "github.com/scaleway/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/utils/pgbar" ) type freeze struct { diff --git a/pkg/commands/login.go b/pkg/commands/login.go index f15788d..934e917 100644 --- a/pkg/commands/login.go +++ b/pkg/commands/login.go @@ -5,7 +5,7 @@ import ( "time" "github.com/juju/errors" - "github.com/online-net/c14-cli/pkg/api/auth" + "github.com/scaleway/c14-cli/pkg/api/auth" ) type login struct { diff --git a/pkg/commands/ls.go b/pkg/commands/ls.go index 4edf99c..377bfa9 100644 --- a/pkg/commands/ls.go +++ b/pkg/commands/ls.go @@ -9,7 +9,7 @@ import ( "time" "github.com/dustin/go-humanize" - "github.com/online-net/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api" "github.com/pkg/errors" ) diff --git a/pkg/commands/remove.go b/pkg/commands/remove.go index 9afa078..17d0ccc 100644 --- a/pkg/commands/remove.go +++ b/pkg/commands/remove.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/apex/log" - "github.com/online-net/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api" ) type remove struct { diff --git a/pkg/commands/rename.go b/pkg/commands/rename.go index fc1ca37..2d82438 100644 --- a/pkg/commands/rename.go +++ b/pkg/commands/rename.go @@ -1,6 +1,6 @@ package commands -import "github.com/online-net/c14-cli/pkg/api" +import "github.com/scaleway/c14-cli/pkg/api" type rename struct { Base diff --git a/pkg/commands/unfreeze.go b/pkg/commands/unfreeze.go index 431a079..41ce72b 100644 --- a/pkg/commands/unfreeze.go +++ b/pkg/commands/unfreeze.go @@ -7,8 +7,8 @@ import ( pb "gopkg.in/cheggaaa/pb.v1" "github.com/apex/log" - "github.com/online-net/c14-cli/pkg/api" - "github.com/online-net/c14-cli/pkg/utils/pgbar" + "github.com/scaleway/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/utils/pgbar" "github.com/pkg/errors" ) diff --git a/pkg/commands/upload.go b/pkg/commands/upload.go index 562cdda..adce61d 100644 --- a/pkg/commands/upload.go +++ b/pkg/commands/upload.go @@ -16,8 +16,8 @@ import ( "github.com/docker/docker/pkg/streamformatter" "github.com/dustin/go-humanize" "github.com/kr/fs" - "github.com/online-net/c14-cli/pkg/api" - "github.com/online-net/c14-cli/pkg/utils/ssh" + "github.com/scaleway/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/utils/ssh" "github.com/pkg/errors" "github.com/pkg/sftp" ) diff --git a/pkg/commands/verify.go b/pkg/commands/verify.go index 4f7fdc3..fee52f5 100644 --- a/pkg/commands/verify.go +++ b/pkg/commands/verify.go @@ -5,7 +5,7 @@ import ( "os" "github.com/apex/log" - "github.com/online-net/c14-cli/pkg/api" + "github.com/scaleway/c14-cli/pkg/api" ) type verify struct {