From 5d139af06fe4758f2e95380977d56d9bf65d483e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20S=C3=B6nmez?= Date: Fri, 4 Oct 2019 09:23:31 +0300 Subject: [PATCH] Update import paths (#24) --- Formula/s5cmd.rb | 10 +++++----- README.md | 10 +++++----- complete/complete.go | 6 +++--- core/command.go | 4 ++-- core/job.go | 8 ++++---- core/job_test.go | 6 +++--- core/jobargument.go | 6 +++--- core/parse.go | 4 ++-- core/parse_test.go | 2 +- core/s3.go | 2 +- core/worker.go | 2 +- op/op.go | 2 +- s5cmd.go | 8 ++++---- 13 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Formula/s5cmd.rb b/Formula/s5cmd.rb index 93888f4e5..011bc9533 100644 --- a/Formula/s5cmd.rb +++ b/Formula/s5cmd.rb @@ -1,21 +1,21 @@ # Classname should match the name of the installed package. class S5cmd < Formula desc "Parallel S3 and local filesystem execution tool" - homepage "https://github.com/peakgames/s5cmd" + homepage "https://github.com/peak/s5cmd" # Source code archive. Each tagged release will have one - url "https://github.com/peakgames/s5cmd/archive/v0.6.0.tar.gz" + url "https://github.com/peak/s5cmd/archive/v0.6.0.tar.gz" sha256 "70d89cc5f4d5c26aff6af716e3a6bb5d17bc084fa09c89312ac4eb69ae468a2a" - head "https://github.com/peakgames/s5cmd" + head "https://github.com/peak/s5cmd" depends_on "go" => :build def install ENV["GOPATH"] = buildpath - bin_path = buildpath/"src/github.com/peakgames/s5cmd" + bin_path = buildpath/"src/github.com/peak/s5cmd" # Copy all files from their current location (GOPATH root) - # to $GOPATH/src/github.com/peakgames/s3hash + # to $GOPATH/src/github.com/peak/s3hash bin_path.install Dir["*"] cd bin_path do # Install the compiled binary into Homebrew's `bin` - a pre-existing diff --git a/README.md b/README.md index e4cbb82db..8b453e326 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) -![Tag](https://img.shields.io/github/tag/peakgames/s5cmd.svg) -[![godoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/peakgames/s5cmd) -[![Go Report](https://goreportcard.com/badge/github.com/peakgames/s5cmd)](https://goreportcard.com/report/github.com/peakgames/s5cmd) +![Tag](https://img.shields.io/github/tag/peak/s5cmd.svg) +[![godoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/peak/s5cmd) +[![Go Report](https://goreportcard.com/badge/github.com/peak/s5cmd)](https://goreportcard.com/report/github.com/peak/s5cmd) # s5cmd # @@ -15,13 +15,13 @@ This is a parallel S3 and local filesystem execution tool. You'll need [Go 1.8+](https://golang.org/dl) to install `s5cmd`. - go get -u github.com/peakgames/s5cmd + go get -u github.com/peak/s5cmd This will install `s5cmd` in your `$GOPATH/bin` directory. Using [Homebrew](https://brew.sh/): - brew tap peakgames/s5cmd https://github.com/peakgames/s5cmd + brew tap peak/s5cmd https://github.com/peak/s5cmd brew install s5cmd ### Shell Auto-Completion ### diff --git a/complete/complete.go b/complete/complete.go index 1e29df04e..a67d57ef1 100644 --- a/complete/complete.go +++ b/complete/complete.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/peakgames/s5cmd/core" - "github.com/peakgames/s5cmd/opt" - "github.com/peakgames/s5cmd/url" + "github.com/peak/s5cmd/core" + "github.com/peak/s5cmd/opt" + "github.com/peak/s5cmd/url" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/s3" diff --git a/core/command.go b/core/command.go index 53fd7793c..52c2c8012 100644 --- a/core/command.go +++ b/core/command.go @@ -6,8 +6,8 @@ import ( "sort" "strings" - "github.com/peakgames/s5cmd/op" - "github.com/peakgames/s5cmd/opt" + "github.com/peak/s5cmd/op" + "github.com/peak/s5cmd/opt" ) // CommandMap describes each command diff --git a/core/job.go b/core/job.go index 0213d2f87..a8c779618 100644 --- a/core/job.go +++ b/core/job.go @@ -17,10 +17,10 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3/s3manager" - "github.com/peakgames/s5cmd/op" - "github.com/peakgames/s5cmd/opt" - "github.com/peakgames/s5cmd/stats" - "github.com/peakgames/s5cmd/url" + "github.com/peak/s5cmd/op" + "github.com/peak/s5cmd/opt" + "github.com/peak/s5cmd/stats" + "github.com/peak/s5cmd/url" "github.com/termie/go-shutil" ) diff --git a/core/job_test.go b/core/job_test.go index 602a88c2e..95dee622a 100644 --- a/core/job_test.go +++ b/core/job_test.go @@ -6,9 +6,9 @@ import ( "os" "testing" - "github.com/peakgames/s5cmd/op" - "github.com/peakgames/s5cmd/opt" - "github.com/peakgames/s5cmd/stats" + "github.com/peak/s5cmd/op" + "github.com/peak/s5cmd/opt" + "github.com/peak/s5cmd/stats" ) func newJob(sourceDesc, command string, operation op.Operation, args []*JobArgument, opts opt.OptionList) Job { diff --git a/core/jobargument.go b/core/jobargument.go index 2c3a9aa42..2c21b41d3 100644 --- a/core/jobargument.go +++ b/core/jobargument.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "github.com/peakgames/s5cmd/opt" - "github.com/peakgames/s5cmd/stats" - "github.com/peakgames/s5cmd/url" + "github.com/peak/s5cmd/opt" + "github.com/peak/s5cmd/stats" + "github.com/peak/s5cmd/url" ) var ( diff --git a/core/parse.go b/core/parse.go index d72ed464f..b8d14a378 100644 --- a/core/parse.go +++ b/core/parse.go @@ -9,8 +9,8 @@ import ( "regexp" "strings" - "github.com/peakgames/s5cmd/opt" - "github.com/peakgames/s5cmd/url" + "github.com/peak/s5cmd/opt" + "github.com/peak/s5cmd/url" ) const ( diff --git a/core/parse_test.go b/core/parse_test.go index dc4dfc0fe..e6c48ee06 100644 --- a/core/parse_test.go +++ b/core/parse_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "github.com/peakgames/s5cmd/opt" + "github.com/peak/s5cmd/opt" ) func TestParseUnchecked(t *testing.T) { diff --git a/core/s3.go b/core/s3.go index 60ad0efd5..260bb7af9 100644 --- a/core/s3.go +++ b/core/s3.go @@ -12,7 +12,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" - "github.com/peakgames/s5cmd/url" + "github.com/peak/s5cmd/url" ) var ( diff --git a/core/worker.go b/core/worker.go index 770ef3f22..b5e7cf536 100644 --- a/core/worker.go +++ b/core/worker.go @@ -18,7 +18,7 @@ import ( "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/cenkalti/backoff" - "github.com/peakgames/s5cmd/stats" + "github.com/peak/s5cmd/stats" ) // WorkerPoolParams is the common parameters of all worker pools. diff --git a/op/op.go b/op/op.go index a700e56ab..b7853b799 100644 --- a/op/op.go +++ b/op/op.go @@ -4,7 +4,7 @@ package op import ( "fmt" - "github.com/peakgames/s5cmd/opt" + "github.com/peak/s5cmd/opt" ) // Operation is a type of our operations. diff --git a/s5cmd.go b/s5cmd.go index 58df04353..c9a110da7 100644 --- a/s5cmd.go +++ b/s5cmd.go @@ -16,10 +16,10 @@ import ( "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/google/gops/agent" - "github.com/peakgames/s5cmd/complete" - "github.com/peakgames/s5cmd/core" - "github.com/peakgames/s5cmd/stats" - "github.com/peakgames/s5cmd/version" + "github.com/peak/s5cmd/complete" + "github.com/peak/s5cmd/core" + "github.com/peak/s5cmd/stats" + "github.com/peak/s5cmd/version" ) //go:generate go run version/cmd/generate.go