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

transfer repository to github.com/ethersphere/bee

parent e606e818
......@@ -10,7 +10,7 @@ builds:
- -trimpath
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:
- CGO_ENABLED=0
......
......@@ -3,7 +3,7 @@ COMMIT ?= ""
GO ?= go
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
all: lint vet test binary
......
......@@ -11,8 +11,6 @@ make binary
cp dist/bee /usr/local/bin/bee
```
Docker image `janos/bee`.
## Usage (experimental api)
Execute the command terminals to start `node 1`:
......
......@@ -10,7 +10,7 @@ import (
"os"
"testing"
"github.com/janos/bee/cmd/bee/cmd"
"github.com/ethersphere/bee/cmd/bee/cmd"
)
var homeDir string
......
......@@ -19,9 +19,9 @@ import (
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/janos/bee/pkg/logging"
"github.com/janos/bee/pkg/node"
"github.com/janos/bee/pkg/p2p/libp2p"
"github.com/ethersphere/bee/pkg/logging"
"github.com/ethersphere/bee/pkg/node"
"github.com/ethersphere/bee/pkg/p2p/libp2p"
)
func (c *command) initStartCmd() (err error) {
......
......@@ -5,7 +5,7 @@
package cmd
import (
"github.com/janos/bee"
"github.com/ethersphere/bee"
"github.com/spf13/cobra"
)
......
......@@ -8,8 +8,8 @@ import (
"bytes"
"testing"
"github.com/janos/bee"
"github.com/janos/bee/cmd/bee/cmd"
"github.com/ethersphere/bee"
"github.com/ethersphere/bee/cmd/bee/cmd"
)
func TestVersionCmd(t *testing.T) {
......
......@@ -8,7 +8,7 @@ import (
"fmt"
"os"
"github.com/janos/bee/cmd/bee/cmd"
"github.com/ethersphere/bee/cmd/bee/cmd"
)
func main() {
......
module github.com/janos/bee
module github.com/ethersphere/bee
go 1.13
......
......@@ -7,8 +7,8 @@ package api
import (
"net/http"
"github.com/janos/bee/pkg/p2p"
"github.com/janos/bee/pkg/pingpong"
"github.com/ethersphere/bee/pkg/p2p"
"github.com/ethersphere/bee/pkg/pingpong"
"github.com/prometheus/client_golang/prometheus"
)
......
......@@ -8,7 +8,7 @@ import (
"net/http"
"time"
m "github.com/janos/bee/pkg/metrics"
m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus"
)
......
......@@ -5,7 +5,7 @@
package debugapi
import (
"github.com/janos/bee"
"github.com/ethersphere/bee"
"github.com/prometheus/client_golang/prometheus"
)
......
......@@ -15,10 +15,10 @@ import (
"github.com/sirupsen/logrus"
"golang.org/x/sync/errgroup"
"github.com/janos/bee/pkg/api"
"github.com/janos/bee/pkg/debugapi"
"github.com/janos/bee/pkg/p2p/libp2p"
"github.com/janos/bee/pkg/pingpong"
"github.com/ethersphere/bee/pkg/api"
"github.com/ethersphere/bee/pkg/debugapi"
"github.com/ethersphere/bee/pkg/p2p/libp2p"
"github.com/ethersphere/bee/pkg/pingpong"
)
type Bee struct {
......
......@@ -9,8 +9,8 @@ package handshake
import (
"fmt"
"github.com/janos/bee/pkg/p2p"
"github.com/janos/bee/pkg/p2p/protobuf"
"github.com/ethersphere/bee/pkg/p2p"
"github.com/ethersphere/bee/pkg/p2p/protobuf"
)
const (
......
......@@ -16,9 +16,9 @@ import (
"strconv"
"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"
autonat "github.com/libp2p/go-libp2p-autonat-svc"
connmgr "github.com/libp2p/go-libp2p-connmgr"
......
......@@ -5,10 +5,11 @@
package libp2p
import (
m "github.com/janos/bee/pkg/metrics"
m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus"
)
type metrics struct {
// all metrics fields must be exported
// to be able to return them by Metrics()
......
......@@ -10,7 +10,7 @@ import (
"io"
"sync"
"github.com/janos/bee/pkg/p2p"
"github.com/ethersphere/bee/pkg/p2p"
)
type Recorder struct {
......
......@@ -7,7 +7,7 @@ package protobuf
import (
ggio "github.com/gogo/protobuf/io"
"github.com/gogo/protobuf/proto"
"github.com/janos/bee/pkg/p2p"
"github.com/ethersphere/bee/pkg/p2p"
"io"
)
......
......@@ -5,7 +5,7 @@
package pingpong
import (
m "github.com/janos/bee/pkg/metrics"
m "github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus"
)
......
......@@ -11,8 +11,8 @@ import (
"io"
"time"
"github.com/janos/bee/pkg/p2p"
"github.com/janos/bee/pkg/p2p/protobuf"
"github.com/ethersphere/bee/pkg/p2p"
"github.com/ethersphere/bee/pkg/p2p/protobuf"
)
const (
......
......@@ -11,10 +11,10 @@ import (
"io/ioutil"
"testing"
"github.com/janos/bee/pkg/logging"
"github.com/janos/bee/pkg/p2p/mock"
"github.com/janos/bee/pkg/p2p/protobuf"
"github.com/janos/bee/pkg/pingpong"
"github.com/ethersphere/bee/pkg/logging"
"github.com/ethersphere/bee/pkg/p2p/mock"
"github.com/ethersphere/bee/pkg/p2p/protobuf"
"github.com/ethersphere/bee/pkg/pingpong"
)
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