Skip to content

Commit

Permalink
Update import paths (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmezonur authored Oct 4, 2019
1 parent 96cb094 commit 5d139af
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 35 deletions.
10 changes: 5 additions & 5 deletions Formula/s5cmd.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 #

Expand All @@ -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 ###
Expand Down
6 changes: 3 additions & 3 deletions complete/complete.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions core/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions core/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions core/job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions core/jobargument.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions core/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion core/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"path/filepath"
"testing"

"github.com/peakgames/s5cmd/opt"
"github.com/peak/s5cmd/opt"
)

func TestParseUnchecked(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion core/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion core/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion op/op.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions s5cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d139af

Please sign in to comment.