From a2def6873ea2e550aa21159e8d1922ad083865e8 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Mon, 15 Aug 2016 16:57:21 +0200 Subject: [PATCH] for file in $(git grep -i quentinperez | cut -d: -f1 | uniq); do sed -i s/QuentinPerez/online-net/g "$file"; done --- Dockerfile | 4 ++-- LICENSE.md | 2 +- README.md | 10 +++++----- cmd/c14/main.go | 2 +- glide.yaml | 2 +- pkg/api/auth/auth.go | 4 ++-- pkg/api/cache.go | 2 +- pkg/commands/command.go | 6 +++--- pkg/commands/create.go | 2 +- pkg/commands/files.go | 4 ++-- pkg/commands/freezze.go | 4 ++-- pkg/commands/login.go | 2 +- pkg/commands/ls.go | 2 +- pkg/commands/remove.go | 2 +- pkg/commands/rename.go | 2 +- pkg/commands/unfreeze.go | 4 ++-- pkg/commands/upload.go | 4 ++-- vendor/github.com/QuentinPerez/go-encodeUrl/README.md | 6 +++--- .../QuentinPerez/go-encodeUrl/examples/main.go | 2 +- 19 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Dockerfile b/Dockerfile index e457429..47cc06e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.6 -COPY . /go/src/github.com/QuentinPerez/c14-cli -WORKDIR /go/src/github.com/QuentinPerez/c14-cli +COPY . /go/src/github.com/online-net/c14-cli +WORKDIR /go/src/github.com/online-net/c14-cli RUN go install -v ./cmd/c14 ENTRYPOINT ["c14"] CMD ["help"] diff --git a/LICENSE.md b/LICENSE.md index 3d42c37..3f928b8 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,7 @@ The MIT License =============== -Copyright (c) 2016 QuentinPerez +Copyright (c) 2016 Online.net Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 791154d..e4b68de 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Interact with [Online C14](https://www.online.net/en/c14) API from the command line. -![Online C14 logo](https://raw.githubusercontent.com/QuentinPerez/c14-cli/master/assets/logo.png) +![Online C14 logo](https://raw.githubusercontent.com/online-net/c14-cli/master/assets/logo.png) #### Table of Contents @@ -34,7 +34,7 @@ A command-line tool to manage your C14 storage easily ## Setup ```shell -go install github.com/QuentinPerez/c14-cli/cmd/c14 +go install github.com/online-net/c14-cli/cmd/c14 ``` ## Usage @@ -281,12 +281,12 @@ Feel free to contribute :smiley::beers: 2. Ensure you have `$GOPATH` and `$PATH` well configured, something like: * `export GOPATH=$HOME/go` * `export PATH=$PATH:$GOPATH/bin` -3. Fetch the project: `go get -u github.com/QuentinPerez/c14-cli` -4. Go to c14-cli directory: `cd $GOPATH/src/github.com/QuentinPerez/c14-cli` +3. Fetch the project: `go get -u github.com/online-net/c14-cli` +4. Go to c14-cli directory: `cd $GOPATH/src/github.com/online-net/c14-cli` 5. Hack: `vim` 6. Build: `make` 7. Run: `./c14` ## License -[MIT](https://github.com/QuentinPerez/c14-cli/blob/master/LICENSE.md) +[MIT](https://github.com/online-net/c14-cli/blob/master/LICENSE.md) diff --git a/cmd/c14/main.go b/cmd/c14/main.go index d25a14a..9a51a2f 100644 --- a/cmd/c14/main.go +++ b/cmd/c14/main.go @@ -3,10 +3,10 @@ package main import ( "os" - "github.com/QuentinPerez/c14-cli/pkg/commands" "github.com/apex/log" "github.com/apex/log/handlers/text" "github.com/juju/errors" + "github.com/online-net/c14-cli/pkg/commands" ) func main() { diff --git a/glide.yaml b/glide.yaml index 6887344..08130ff 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/QuentinPerez/c14-cli +package: github.com/online-net/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 ff31deb..0d81a82 100644 --- a/pkg/api/auth/auth.go +++ b/pkg/api/auth/auth.go @@ -8,9 +8,9 @@ import ( "golang.org/x/oauth2" - "github.com/QuentinPerez/c14-cli/pkg/utils/configstore" - "github.com/QuentinPerez/go-encodeUrl" "github.com/juju/errors" + "github.com/online-net/c14-cli/pkg/utils/configstore" + "github.com/QuentinPerez/go-encodeUrl" ) var ( diff --git a/pkg/api/cache.go b/pkg/api/cache.go index 842fe36..4746482 100644 --- a/pkg/api/cache.go +++ b/pkg/api/cache.go @@ -4,8 +4,8 @@ import ( "errors" "sync" - "github.com/QuentinPerez/c14-cli/pkg/utils/configstore" "github.com/apex/log" + "github.com/online-net/c14-cli/pkg/utils/configstore" ) type cacheSafe struct { diff --git a/pkg/commands/command.go b/pkg/commands/command.go index de3d0b5..02d7bce 100644 --- a/pkg/commands/command.go +++ b/pkg/commands/command.go @@ -10,10 +10,10 @@ import ( "golang.org/x/oauth2" - "github.com/QuentinPerez/c14-cli/pkg/api" - "github.com/QuentinPerez/c14-cli/pkg/api/auth" - "github.com/QuentinPerez/c14-cli/pkg/version" "github.com/docker/docker/pkg/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" ) // Config represents the informations on the usages diff --git a/pkg/commands/create.go b/pkg/commands/create.go index 6959e1c..f3f8dd4 100644 --- a/pkg/commands/create.go +++ b/pkg/commands/create.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - "github.com/QuentinPerez/c14-cli/pkg/api" "github.com/docker/docker/pkg/namesgenerator" "github.com/juju/errors" + "github.com/online-net/c14-cli/pkg/api" ) type create struct { diff --git a/pkg/commands/files.go b/pkg/commands/files.go index 2c3f4f4..8ee7daa 100644 --- a/pkg/commands/files.go +++ b/pkg/commands/files.go @@ -6,10 +6,10 @@ import ( "strings" "text/tabwriter" - "github.com/QuentinPerez/c14-cli/pkg/api" - "github.com/QuentinPerez/c14-cli/pkg/utils/ssh" "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/pkg/sftp" ) diff --git a/pkg/commands/freezze.go b/pkg/commands/freezze.go index 31733b6..99c76ae 100644 --- a/pkg/commands/freezze.go +++ b/pkg/commands/freezze.go @@ -6,9 +6,9 @@ import ( "gopkg.in/cheggaaa/pb.v1" - "github.com/QuentinPerez/c14-cli/pkg/api" - "github.com/QuentinPerez/c14-cli/pkg/utils/pgbar" "github.com/apex/log" + "github.com/online-net/c14-cli/pkg/api" + "github.com/online-net/c14-cli/pkg/utils/pgbar" ) type freeze struct { diff --git a/pkg/commands/login.go b/pkg/commands/login.go index e89806f..f15788d 100644 --- a/pkg/commands/login.go +++ b/pkg/commands/login.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/QuentinPerez/c14-cli/pkg/api/auth" "github.com/juju/errors" + "github.com/online-net/c14-cli/pkg/api/auth" ) type login struct { diff --git a/pkg/commands/ls.go b/pkg/commands/ls.go index fec8892..4f63817 100644 --- a/pkg/commands/ls.go +++ b/pkg/commands/ls.go @@ -9,8 +9,8 @@ import ( "text/tabwriter" "time" - "github.com/QuentinPerez/c14-cli/pkg/api" "github.com/dustin/go-humanize" + "github.com/online-net/c14-cli/pkg/api" "github.com/pkg/errors" ) diff --git a/pkg/commands/remove.go b/pkg/commands/remove.go index 028910e..428611f 100644 --- a/pkg/commands/remove.go +++ b/pkg/commands/remove.go @@ -3,8 +3,8 @@ package commands import ( "sync" - "github.com/QuentinPerez/c14-cli/pkg/api" "github.com/apex/log" + "github.com/online-net/c14-cli/pkg/api" ) type remove struct { diff --git a/pkg/commands/rename.go b/pkg/commands/rename.go index 578d41a..fc1ca37 100644 --- a/pkg/commands/rename.go +++ b/pkg/commands/rename.go @@ -1,6 +1,6 @@ package commands -import "github.com/QuentinPerez/c14-cli/pkg/api" +import "github.com/online-net/c14-cli/pkg/api" type rename struct { Base diff --git a/pkg/commands/unfreeze.go b/pkg/commands/unfreeze.go index 8d9aba0..238f5c1 100644 --- a/pkg/commands/unfreeze.go +++ b/pkg/commands/unfreeze.go @@ -6,9 +6,9 @@ import ( pb "gopkg.in/cheggaaa/pb.v1" - "github.com/QuentinPerez/c14-cli/pkg/api" - "github.com/QuentinPerez/c14-cli/pkg/utils/pgbar" "github.com/apex/log" + "github.com/online-net/c14-cli/pkg/api" + "github.com/online-net/c14-cli/pkg/utils/pgbar" "github.com/pkg/errors" ) diff --git a/pkg/commands/upload.go b/pkg/commands/upload.go index df84cfa..318fa69 100644 --- a/pkg/commands/upload.go +++ b/pkg/commands/upload.go @@ -11,13 +11,13 @@ import ( "golang.org/x/crypto/ssh/terminal" - "github.com/QuentinPerez/c14-cli/pkg/api" - "github.com/QuentinPerez/c14-cli/pkg/utils/ssh" "github.com/apex/log" "github.com/docker/docker/pkg/progress" "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/pkg/errors" "github.com/pkg/sftp" ) diff --git a/vendor/github.com/QuentinPerez/go-encodeUrl/README.md b/vendor/github.com/QuentinPerez/go-encodeUrl/README.md index 1e9f133..465be96 100644 --- a/vendor/github.com/QuentinPerez/go-encodeUrl/README.md +++ b/vendor/github.com/QuentinPerez/go-encodeUrl/README.md @@ -7,7 +7,7 @@ A package to encode your structures in URL :warning: Make sure that Go is installed on your computer. ```shell -$ go get github.com/QuentinPerez/go-encodeUrl +$ go get github.com/online-net/go-encodeUrl ``` Now, the package is ready to use. @@ -16,7 +16,7 @@ Now, the package is ready to use. ## Examples ```go -import "github.com/QuentinPerez/go-encodeUrl" +import "github.com/online-net/go-encodeUrl" type ID struct { @@ -54,4 +54,4 @@ Feel free to contribute :smiley::beers: ## License -[MIT](https://github.com/QuentinPerez/go-encodeUrl/blob/master/LICENSE) +[MIT](https://github.com/online-net/go-encodeUrl/blob/master/LICENSE) diff --git a/vendor/github.com/QuentinPerez/go-encodeUrl/examples/main.go b/vendor/github.com/QuentinPerez/go-encodeUrl/examples/main.go index 11057df..1e93457 100644 --- a/vendor/github.com/QuentinPerez/go-encodeUrl/examples/main.go +++ b/vendor/github.com/QuentinPerez/go-encodeUrl/examples/main.go @@ -4,7 +4,7 @@ import ( "fmt" "reflect" - "github.com/QuentinPerez/go-encodeUrl" + "github.com/online-net/go-encodeUrl" "github.com/Sirupsen/logrus" )