From ccae631a9c4081ac31c42c4e2ffe134870160a38 Mon Sep 17 00:00:00 2001
From: Androlo <andreas@erisindustries.com>
Date: Thu, 18 Jun 2015 14:30:43 +0200
Subject: [PATCH] name change and 0.10.0

---
 Godeps/Godeps.json                        |  2 +-
 cmd/erisdb/main.go                        |  2 +-
 cmd/erisdbss/main.go                      |  4 ++--
 erisdb/codec.go                           |  2 +-
 erisdb/erisdbss/http.go                   |  2 +-
 erisdb/erisdbss/server_manager.go         |  4 ++--
 erisdb/event_cache.go                     |  2 +-
 erisdb/json_service.go                    |  6 +++---
 erisdb/methods.go                         |  4 ++--
 erisdb/middleware_test.go                 |  2 +-
 erisdb/params.go                          |  2 +-
 erisdb/restServer.go                      |  8 ++++----
 erisdb/serve.go                           |  6 +++---
 erisdb/wsService.go                       |  6 +++---
 server/config.go                          |  2 +-
 test/filters/filter_test.go               |  2 +-
 test/mock/mock_web_api_test.go            | 10 +++++-----
 test/mock/pipe.go                         |  4 ++--
 test/server/scumbag.go                    |  4 ++--
 test/server/ws_burst_test.go              |  4 ++--
 test/testdata/filters/testdata_filters.go |  4 ++--
 test/testdata/testdata/testdata.go        |  4 ++--
 test/web_api/query_test.go                | 12 ++++++------
 test/web_api/web_api_test.go              | 12 ++++++------
 24 files changed, 55 insertions(+), 55 deletions(-)

diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
index 478e7b06..d3c54ebe 100644
--- a/Godeps/Godeps.json
+++ b/Godeps/Godeps.json
@@ -1,5 +1,5 @@
 {
-	"ImportPath": "github.com/eris-ltd/erisdb",
+	"ImportPath": "github.com/eris-ltd/eris-db",
 	"GoVersion": "go1.4.2",
 	"Packages": [
 		"./..."
diff --git a/cmd/erisdb/main.go b/cmd/erisdb/main.go
index 77edaebe..9de6b6b6 100644
--- a/cmd/erisdb/main.go
+++ b/cmd/erisdb/main.go
@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	edb "github.com/eris-ltd/erisdb/erisdb"
+	edb "github.com/eris-ltd/eris-db/erisdb"
 	"os"
 )
 
diff --git a/cmd/erisdbss/main.go b/cmd/erisdbss/main.go
index f5f85266..f8675201 100644
--- a/cmd/erisdbss/main.go
+++ b/cmd/erisdbss/main.go
@@ -1,8 +1,8 @@
 package main
 
 import (
-	ess "github.com/eris-ltd/erisdb/erisdb/erisdbss"
-	"github.com/eris-ltd/erisdb/server"
+	ess "github.com/eris-ltd/eris-db/erisdb/erisdbss"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/gin-gonic/gin"
 	"os"
 	"path"
diff --git a/erisdb/codec.go b/erisdb/codec.go
index 73848b24..a08048be 100644
--- a/erisdb/codec.go
+++ b/erisdb/codec.go
@@ -1,7 +1,7 @@
 package erisdb
 
 import (
-	rpc "github.com/eris-ltd/erisdb/rpc"
+	rpc "github.com/eris-ltd/eris-db/rpc"
 	"github.com/tendermint/tendermint/binary"
 	"io"
 	"io/ioutil"
diff --git a/erisdb/erisdbss/http.go b/erisdb/erisdbss/http.go
index 8774897d..b1878657 100644
--- a/erisdb/erisdbss/http.go
+++ b/erisdb/erisdbss/http.go
@@ -3,7 +3,7 @@ package erisdbss
 import (
 	"bytes"
 	"encoding/json"
-	"github.com/eris-ltd/erisdb/server"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/gin-gonic/gin"
 	"github.com/tendermint/tendermint/binary"
 	. "github.com/tendermint/tendermint/common"
diff --git a/erisdb/erisdbss/server_manager.go b/erisdb/erisdbss/server_manager.go
index ae3c0e1b..f8b0344f 100644
--- a/erisdb/erisdbss/server_manager.go
+++ b/erisdb/erisdbss/server_manager.go
@@ -3,8 +3,8 @@ package erisdbss
 import (
 	"bufio"
 	"fmt"
-	"github.com/eris-ltd/erisdb/files"
-	"github.com/eris-ltd/erisdb/server"
+	"github.com/eris-ltd/eris-db/files"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/tendermint/tendermint/binary"
 	. "github.com/tendermint/tendermint/common"
 	"os"
diff --git a/erisdb/event_cache.go b/erisdb/event_cache.go
index 733b1ee9..b00f435d 100644
--- a/erisdb/event_cache.go
+++ b/erisdb/event_cache.go
@@ -2,7 +2,7 @@ package erisdb
 
 import (
 	"fmt"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
 	"sync"
 	"time"
 )
diff --git a/erisdb/json_service.go b/erisdb/json_service.go
index ef317669..f8b75000 100644
--- a/erisdb/json_service.go
+++ b/erisdb/json_service.go
@@ -3,9 +3,9 @@ package erisdb
 import (
 	"encoding/json"
 	"fmt"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	rpc "github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	rpc "github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/gin-gonic/gin"
 	"net/http"
 )
diff --git a/erisdb/methods.go b/erisdb/methods.go
index 13fd826f..29cdf3ac 100644
--- a/erisdb/methods.go
+++ b/erisdb/methods.go
@@ -4,8 +4,8 @@ import (
 	"crypto/rand"
 	"encoding/hex"
 	"fmt"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	rpc "github.com/eris-ltd/erisdb/rpc"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	rpc "github.com/eris-ltd/eris-db/rpc"
 	"github.com/tendermint/tendermint/types"
 	"strings"
 )
diff --git a/erisdb/middleware_test.go b/erisdb/middleware_test.go
index 30b3597a..75a09186 100644
--- a/erisdb/middleware_test.go
+++ b/erisdb/middleware_test.go
@@ -1,7 +1,7 @@
 package erisdb
 
 import (
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
 	"github.com/stretchr/testify/assert"
 	"testing"
 )
diff --git a/erisdb/params.go b/erisdb/params.go
index b5d8b6d4..25ac97b6 100644
--- a/erisdb/params.go
+++ b/erisdb/params.go
@@ -1,7 +1,7 @@
 package erisdb
 
 import (
-	"github.com/eris-ltd/erisdb/erisdb/pipe"
+	"github.com/eris-ltd/eris-db/erisdb/pipe"
 	"github.com/tendermint/tendermint/account"
 	"github.com/tendermint/tendermint/types"
 )
diff --git a/erisdb/restServer.go b/erisdb/restServer.go
index 2ad00cd7..9e81aed8 100644
--- a/erisdb/restServer.go
+++ b/erisdb/restServer.go
@@ -3,10 +3,10 @@ package erisdb
 import (
 	"encoding/hex"
 	"fmt"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	rpc "github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
-	"github.com/eris-ltd/erisdb/util"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	rpc "github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
+	"github.com/eris-ltd/eris-db/util"
 	"github.com/gin-gonic/gin"
 	"github.com/tendermint/tendermint/types"
 	"strconv"
diff --git a/erisdb/serve.go b/erisdb/serve.go
index 1a173e65..810ecf5a 100644
--- a/erisdb/serve.go
+++ b/erisdb/serve.go
@@ -3,8 +3,8 @@
 package erisdb
 
 import (
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	"github.com/eris-ltd/erisdb/server"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/tendermint/log15"
 	. "github.com/tendermint/tendermint/common"
 	cfg "github.com/tendermint/tendermint/config"
@@ -14,7 +14,7 @@ import (
 	"path"
 )
 
-const ERISDB_VERSION = "0.9.1"
+const ERISDB_VERSION = "0.10.0"
 const TENDERMINT_VERSION = "0.3.0"
 
 var log = log15.New("module", "eris/erisdb_server")
diff --git a/erisdb/wsService.go b/erisdb/wsService.go
index e7f5af3a..215dc4d6 100644
--- a/erisdb/wsService.go
+++ b/erisdb/wsService.go
@@ -2,9 +2,9 @@ package erisdb
 
 import (
 	"fmt"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	rpc "github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	rpc "github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
 	"encoding/json"
 )
 
diff --git a/server/config.go b/server/config.go
index acb67361..0fa49d6a 100644
--- a/server/config.go
+++ b/server/config.go
@@ -1,7 +1,7 @@
 package server
 
 import (
-	"github.com/eris-ltd/erisdb/files"
+	"github.com/eris-ltd/eris-db/files"
 	"github.com/naoina/toml"
 )
 
diff --git a/test/filters/filter_test.go b/test/filters/filter_test.go
index 01633017..13caed45 100644
--- a/test/filters/filter_test.go
+++ b/test/filters/filter_test.go
@@ -5,7 +5,7 @@ import (
 	"github.com/stretchr/testify/suite"
 	"testing"
 	"sync"
-	. "github.com/eris-ltd/erisdb/erisdb/pipe"
+	. "github.com/eris-ltd/eris-db/erisdb/pipe"
 )
 
 const OBJECTS = 100
diff --git a/test/mock/mock_web_api_test.go b/test/mock/mock_web_api_test.go
index 0f9ddf6f..7e07c745 100644
--- a/test/mock/mock_web_api_test.go
+++ b/test/mock/mock_web_api_test.go
@@ -5,11 +5,11 @@ import (
 	"bytes"
 	"fmt"
 	// edb "github.com/eris-ltd/erisdb/erisdb"
-	edb "github.com/eris-ltd/erisdb/erisdb"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	"github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
-	td "github.com/eris-ltd/erisdb/test/testdata/testdata"
+	edb "github.com/eris-ltd/eris-db/erisdb"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	"github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
+	td "github.com/eris-ltd/eris-db/test/testdata/testdata"
 	"github.com/gin-gonic/gin"
 	"github.com/stretchr/testify/suite"
 	"github.com/tendermint/tendermint/account"
diff --git a/test/mock/pipe.go b/test/mock/pipe.go
index 20628373..05c687ef 100644
--- a/test/mock/pipe.go
+++ b/test/mock/pipe.go
@@ -1,8 +1,8 @@
 package mock
 
 import (
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	td "github.com/eris-ltd/erisdb/test/testdata/testdata"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	td "github.com/eris-ltd/eris-db/test/testdata/testdata"
 	"github.com/tendermint/tendermint/account"
 	"github.com/tendermint/tendermint/types"
 )
diff --git a/test/server/scumbag.go b/test/server/scumbag.go
index 6ba0dfcd..bc438092 100644
--- a/test/server/scumbag.go
+++ b/test/server/scumbag.go
@@ -2,8 +2,8 @@ package server
 
 import (
 	"encoding/json"
-	"github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
+	"github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/gin-gonic/gin"
 	"github.com/tendermint/log15"
 	"os"
diff --git a/test/server/ws_burst_test.go b/test/server/ws_burst_test.go
index 451c580e..67212437 100644
--- a/test/server/ws_burst_test.go
+++ b/test/server/ws_burst_test.go
@@ -1,8 +1,8 @@
 package server
 
 import (
-	"github.com/eris-ltd/erisdb/client"
-	"github.com/eris-ltd/erisdb/server"
+	"github.com/eris-ltd/eris-db/client"
+	"github.com/eris-ltd/eris-db/server"
 	"github.com/stretchr/testify/assert"
 	"testing"
 	"time"
diff --git a/test/testdata/filters/testdata_filters.go b/test/testdata/filters/testdata_filters.go
index ecab8cd3..a6ab388e 100644
--- a/test/testdata/filters/testdata_filters.go
+++ b/test/testdata/filters/testdata_filters.go
@@ -1,8 +1,8 @@
 package filters
 
 import (
-	edb "github.com/eris-ltd/erisdb/erisdb"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
+	edb "github.com/eris-ltd/eris-db/erisdb"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
 	"github.com/tendermint/tendermint/state"
 )
 
diff --git a/test/testdata/testdata/testdata.go b/test/testdata/testdata/testdata.go
index 78e3613a..9b818cfa 100644
--- a/test/testdata/testdata/testdata.go
+++ b/test/testdata/testdata/testdata.go
@@ -1,8 +1,8 @@
 package testdata
 
 import (
-	edb "github.com/eris-ltd/erisdb/erisdb"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
+	edb "github.com/eris-ltd/eris-db/erisdb"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
 	"github.com/tendermint/tendermint/account"
 	"github.com/tendermint/tendermint/state"
 	"github.com/tendermint/tendermint/types"
diff --git a/test/web_api/query_test.go b/test/web_api/query_test.go
index 40025794..d0f5f701 100644
--- a/test/web_api/query_test.go
+++ b/test/web_api/query_test.go
@@ -4,12 +4,12 @@ package web_api
 import (
 	"bytes"
 	"fmt"
-	edb "github.com/eris-ltd/erisdb/erisdb"
-	ess "github.com/eris-ltd/erisdb/erisdb/erisdbss"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	"github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
-	fd "github.com/eris-ltd/erisdb/test/testdata/filters"
+	edb "github.com/eris-ltd/eris-db/erisdb"
+	ess "github.com/eris-ltd/eris-db/erisdb/erisdbss"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	"github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
+	fd "github.com/eris-ltd/eris-db/test/testdata/filters"
 	"github.com/stretchr/testify/suite"
 	"net/http"
 	"os"
diff --git a/test/web_api/web_api_test.go b/test/web_api/web_api_test.go
index 3aacb358..c453fd77 100644
--- a/test/web_api/web_api_test.go
+++ b/test/web_api/web_api_test.go
@@ -5,12 +5,12 @@ import (
 	"bytes"
 	"fmt"
 	// edb "github.com/eris-ltd/erisdb/erisdb"
-	edb "github.com/eris-ltd/erisdb/erisdb"
-	ess "github.com/eris-ltd/erisdb/erisdb/erisdbss"
-	ep "github.com/eris-ltd/erisdb/erisdb/pipe"
-	"github.com/eris-ltd/erisdb/rpc"
-	"github.com/eris-ltd/erisdb/server"
-	td "github.com/eris-ltd/erisdb/test/testdata/testdata"
+	edb "github.com/eris-ltd/eris-db/erisdb"
+	ess "github.com/eris-ltd/eris-db/erisdb/erisdbss"
+	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
+	"github.com/eris-ltd/eris-db/rpc"
+	"github.com/eris-ltd/eris-db/server"
+	td "github.com/eris-ltd/eris-db/test/testdata/testdata"
 	"github.com/gin-gonic/gin"
 	"github.com/stretchr/testify/suite"
 	"github.com/tendermint/tendermint/account"
-- 
GitLab