Skip to content

Commit

Permalink
switch ssmccoy to quantcast.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewhouse authored and Scott S. McCoy committed Feb 8, 2019
1 parent 2c9361d commit 08663d4
Show file tree
Hide file tree
Showing 28 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion chart/g2/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# Various IDEs
.project
.idea/
*.tmproj
*.tmproj
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"unsafe"

"github.com/appscode/go/log"
rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

type snapshot struct {
Expand Down
2 changes: 1 addition & 1 deletion client/request.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

// Request from client
Expand Down
2 changes: 1 addition & 1 deletion client/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strconv"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

// Response handler
Expand Down
2 changes: 1 addition & 1 deletion cmd/gearmand/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "net/http/pprof"
"os"

gearmand "github.com/ssmccoy/g2/pkg/server"
gearmand "github.com/quantcast/g2/pkg/server"
"github.com/appscode/go/runtime"
"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ The protocols were written in pure Go. It contains two sub-packages:
The client package is used for sending jobs to the Gearman job server,
and getting responses from the server.
import "github.com/ssmccoy/g2/client"
import "github.com/quantcast/g2/client"
The worker package will help developers to develop Gearman's worker
in an easy way.
import "github.com/ssmccoy/g2/worker"
import "github.com/quantcast/g2/worker"
*/
package g2

import (
_ "github.com/ssmccoy/g2/client"
_ "github.com/ssmccoy/g2/worker"
_ "github.com/quantcast/g2/client"
_ "github.com/quantcast/g2/worker"
)
4 changes: 2 additions & 2 deletions example/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"sync"

"github.com/ssmccoy/g2/client"
rt "github.com/ssmccoy/g2/pkg/runtime"
"github.com/quantcast/g2/client"
rt "github.com/quantcast/g2/pkg/runtime"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/ssmccoy/g2/worker"
"github.com/quantcast/g2/worker"
"github.com/mikespook/golib/signal"
)

Expand Down
2 changes: 1 addition & 1 deletion gearadmin/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
// import (
// "fmt"
// "github.com/ssmccoy/g2/gearadmin"
// "github.com/quantcast/g2/gearadmin"
// "net"
// )
//
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ssmccoy/g2
module github.com/quantcast/g2

require (
github.com/appscode/go v0.0.0-20180628092646-df3c57fca2be
Expand Down
2 changes: 1 addition & 1 deletion hack/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eou pipefail

GOPATH=$(go env GOPATH)
REPO_ROOT="$GOPATH/src/github.com/ssmccoy/g2"
REPO_ROOT="$GOPATH/src/github.com/quantcast/g2"

pushd $REPO_ROOT

Expand Down
8 changes: 4 additions & 4 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
"sync/atomic"
"time"

"github.com/ssmccoy/g2/pkg/metrics"
. "github.com/ssmccoy/g2/pkg/runtime"
"github.com/ssmccoy/g2/pkg/storage"
"github.com/ssmccoy/g2/pkg/storage/leveldb"
"github.com/quantcast/g2/pkg/metrics"
. "github.com/quantcast/g2/pkg/runtime"
"github.com/quantcast/g2/pkg/storage"
"github.com/quantcast/g2/pkg/storage/leveldb"
"github.com/appscode/go/log"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

. "github.com/ssmccoy/g2/pkg/runtime"
. "github.com/quantcast/g2/pkg/runtime"
"github.com/appscode/go/log"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"time"

"github.com/ssmccoy/g2/pkg/runtime"
"github.com/quantcast/g2/pkg/runtime"
"github.com/appscode/go/log"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/server/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

. "github.com/ssmccoy/g2/pkg/runtime"
. "github.com/quantcast/g2/pkg/runtime"
)

func TestDecodeArgs(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"net"

. "github.com/ssmccoy/g2/pkg/runtime"
. "github.com/quantcast/g2/pkg/runtime"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/leveldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"reflect"
"strings"

"github.com/ssmccoy/g2/pkg/storage"
"github.com/quantcast/g2/pkg/storage"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/util"
)
Expand Down
6 changes: 3 additions & 3 deletions pkg/storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"testing"
"time"

. "github.com/ssmccoy/g2/pkg/runtime"
. "github.com/ssmccoy/g2/pkg/storage"
. "github.com/ssmccoy/g2/pkg/storage/leveldb"
. "github.com/quantcast/g2/pkg/runtime"
. "github.com/quantcast/g2/pkg/storage"
. "github.com/quantcast/g2/pkg/storage/leveldb"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion worker/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net"
"sync"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

// The agent of job server.
Expand Down
4 changes: 2 additions & 2 deletions worker/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

rt "github.com/ssmccoy/g2/pkg/runtime"
"github.com/ssmccoy/g2/worker"
rt "github.com/quantcast/g2/pkg/runtime"
"github.com/quantcast/g2/worker"
)

func ExampleWorker() {
Expand Down
2 changes: 1 addition & 1 deletion worker/inpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"strconv"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

// Worker side job
Expand Down
2 changes: 1 addition & 1 deletion worker/inpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion worker/outpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package worker
import (
"encoding/binary"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

// Worker side job
Expand Down
2 changes: 1 addition & 1 deletion worker/outpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

rt "github.com/ssmccoy/g2/pkg/runtime"
rt "github.com/quantcast/g2/pkg/runtime"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions worker/worker_disconnect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"github.com/ssmccoy/g2/client"
rt "github.com/ssmccoy/g2/pkg/runtime"
"github.com/quantcast/g2/client"
rt "github.com/quantcast/g2/pkg/runtime"
)

const port = `3700`
Expand Down
2 changes: 1 addition & 1 deletion worker/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/ssmccoy/g2/pkg/runtime"
"github.com/quantcast/g2/pkg/runtime"
)

var worker *Worker
Expand Down

0 comments on commit 08663d4

Please sign in to comment.