Commit 377f98a1 authored by Janos Guljas's avatar Janos Guljas

transfer repository to github.com/ethersphere/bee

parent e606e818
...@@ -10,7 +10,7 @@ builds: ...@@ -10,7 +10,7 @@ builds:
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w -X github.com/janos/bee.version={{.Version}} -X github.com/janos/bee.commit={{.ShortCommit}} - -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
......
...@@ -3,7 +3,7 @@ COMMIT ?= "" ...@@ -3,7 +3,7 @@ COMMIT ?= ""
GO ?= go GO ?= go
GOLANGCI_LINT ?= golangci-lint GOLANGCI_LINT ?= golangci-lint
LDFLAGS ?= -s -w -X github.com/janos/bee.commit="$(COMMIT)" LDFLAGS ?= -s -w -X github.com/ethersphere/bee.commit="$(COMMIT)"
.PHONY: all .PHONY: all
all: lint vet test binary all: lint vet test binary
......
...@@ -11,8 +11,6 @@ make binary ...@@ -11,8 +11,6 @@ make binary
cp dist/bee /usr/local/bin/bee cp dist/bee /usr/local/bin/bee
``` ```
Docker image `janos/bee`.
## Usage (experimental api) ## Usage (experimental api)
Execute the command terminals to start `node 1`: Execute the command terminals to start `node 1`:
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"os" "os"
"testing" "testing"
"github.com/janos/bee/cmd/bee/cmd" "github.com/ethersphere/bee/cmd/bee/cmd"
) )
var homeDir string var homeDir string
......
...@@ -19,9 +19,9 @@ import ( ...@@ -19,9 +19,9 @@ import (
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/janos/bee/pkg/logging" "github.com/ethersphere/bee/pkg/logging"
"github.com/janos/bee/pkg/node" "github.com/ethersphere/bee/pkg/node"
"github.com/janos/bee/pkg/p2p/libp2p" "github.com/ethersphere/bee/pkg/p2p/libp2p"
) )
func (c *command) initStartCmd() (err error) { func (c *command) initStartCmd() (err error) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package cmd package cmd
import ( import (
"github.com/janos/bee" "github.com/ethersphere/bee"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )
......
...@@ -8,8 +8,8 @@ import ( ...@@ -8,8 +8,8 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/janos/bee" "github.com/ethersphere/bee"
"github.com/janos/bee/cmd/bee/cmd" "github.com/ethersphere/bee/cmd/bee/cmd"
) )
func TestVersionCmd(t *testing.T) { func TestVersionCmd(t *testing.T) {
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/janos/bee/cmd/bee/cmd" "github.com/ethersphere/bee/cmd/bee/cmd"
) )
func main() { func main() {
......
module github.com/janos/bee module github.com/ethersphere/bee
go 1.13 go 1.13
......
...@@ -7,8 +7,8 @@ package api ...@@ -7,8 +7,8 @@ package api
import ( import (
"net/http" "net/http"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
"github.com/janos/bee/pkg/pingpong" "github.com/ethersphere/bee/pkg/pingpong"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"time" "time"
m "github.com/janos/bee/pkg/metrics" m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package debugapi package debugapi
import ( import (
"github.com/janos/bee" "github.com/ethersphere/bee"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
......
...@@ -15,10 +15,10 @@ import ( ...@@ -15,10 +15,10 @@ import (
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"github.com/janos/bee/pkg/api" "github.com/ethersphere/bee/pkg/api"
"github.com/janos/bee/pkg/debugapi" "github.com/ethersphere/bee/pkg/debugapi"
"github.com/janos/bee/pkg/p2p/libp2p" "github.com/ethersphere/bee/pkg/p2p/libp2p"
"github.com/janos/bee/pkg/pingpong" "github.com/ethersphere/bee/pkg/pingpong"
) )
type Bee struct { type Bee struct {
......
...@@ -9,8 +9,8 @@ package handshake ...@@ -9,8 +9,8 @@ package handshake
import ( import (
"fmt" "fmt"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
"github.com/janos/bee/pkg/p2p/protobuf" "github.com/ethersphere/bee/pkg/p2p/protobuf"
) )
const ( const (
......
...@@ -16,9 +16,9 @@ import ( ...@@ -16,9 +16,9 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
handshake "github.com/janos/bee/pkg/p2p/libp2p/internal/handshake" handshake "github.com/ethersphere/bee/pkg/p2p/libp2p/internal/handshake"
"github.com/libp2p/go-libp2p" "github.com/libp2p/go-libp2p"
autonat "github.com/libp2p/go-libp2p-autonat-svc" autonat "github.com/libp2p/go-libp2p-autonat-svc"
connmgr "github.com/libp2p/go-libp2p-connmgr" connmgr "github.com/libp2p/go-libp2p-connmgr"
......
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
package libp2p package libp2p
import ( import (
m "github.com/janos/bee/pkg/metrics" m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
type metrics struct { type metrics struct {
// all metrics fields must be exported // all metrics fields must be exported
// to be able to return them by Metrics() // to be able to return them by Metrics()
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"io" "io"
"sync" "sync"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
) )
type Recorder struct { type Recorder struct {
......
...@@ -7,7 +7,7 @@ package protobuf ...@@ -7,7 +7,7 @@ package protobuf
import ( import (
ggio "github.com/gogo/protobuf/io" ggio "github.com/gogo/protobuf/io"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
"io" "io"
) )
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package pingpong package pingpong
import ( import (
m "github.com/janos/bee/pkg/metrics" m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
......
...@@ -11,8 +11,8 @@ import ( ...@@ -11,8 +11,8 @@ import (
"io" "io"
"time" "time"
"github.com/janos/bee/pkg/p2p" "github.com/ethersphere/bee/pkg/p2p"
"github.com/janos/bee/pkg/p2p/protobuf" "github.com/ethersphere/bee/pkg/p2p/protobuf"
) )
const ( const (
......
...@@ -11,10 +11,10 @@ import ( ...@@ -11,10 +11,10 @@ import (
"io/ioutil" "io/ioutil"
"testing" "testing"
"github.com/janos/bee/pkg/logging" "github.com/ethersphere/bee/pkg/logging"
"github.com/janos/bee/pkg/p2p/mock" "github.com/ethersphere/bee/pkg/p2p/mock"
"github.com/janos/bee/pkg/p2p/protobuf" "github.com/ethersphere/bee/pkg/p2p/protobuf"
"github.com/janos/bee/pkg/pingpong" "github.com/ethersphere/bee/pkg/pingpong"
) )
func TestPing(t *testing.T) { func TestPing(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment