diff --git a/CHANGELOG.md b/CHANGELOG.md index 35c23eaa..e14e6252 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,27 @@ ## 2.2.3 (unreleased) -- [PR #104](https://github.com/otoolep/rqlite/pull/104): Handle the `-join` option sensibly when already member of cluster. +- [PR #104](https://github.com/rqlite/rqlite/pull/104): Handle the `-join` option sensibly when already member of cluster. ## 2.2.2 (April 24th 2016) -- [PR #96](https://github.com/otoolep/rqlite/pull/96): Add build time to status output. -- [PR #101](https://github.com/otoolep/rqlite/pull/101): Fix restore to in-memory databases. +- [PR #96](https://github.com/rqlite/rqlite/pull/96): Add build time to status output. +- [PR #101](https://github.com/rqlite/rqlite/pull/101): Fix restore to in-memory databases. ## 2.2.1 (April 19th 2016) -- [PR #95](https://github.com/otoolep/rqlite/pull/95): Correctly set HTTP authentication. +- [PR #95](https://github.com/rqlite/rqlite/pull/95): Correctly set HTTP authentication. ## 2.2.0 (April 18th 2016) -- [PR #84](https://github.com/otoolep/rqlite/pull/84): Encrypted API (HTTPS) now supported. -- [PR #85](https://github.com/otoolep/rqlite/pull/85): BasicAuth support. -- [PR #85](https://github.com/otoolep/rqlite/pull/85): User-level permissions support. +- [PR #84](https://github.com/rqlite/rqlite/pull/84): Encrypted API (HTTPS) now supported. +- [PR #85](https://github.com/rqlite/rqlite/pull/85): BasicAuth support. +- [PR #85](https://github.com/rqlite/rqlite/pull/85): User-level permissions support. - Print rqlited logo on start-up. - End-to-end single-node and multi-node unit tests. ## 2.1 (April 9th 2016) -- [PR #76](https://github.com/otoolep/rqlite/pull/76): Obey timing information display at database level. -- [PR #77](https://github.com/otoolep/rqlite/pull/77): Add version information to binary. +- [PR #76](https://github.com/rqlite/rqlite/pull/76): Obey timing information display at database level. +- [PR #77](https://github.com/rqlite/rqlite/pull/77): Add version information to binary. ## 2.0 (April 5th 2016) - `timings` URL param to control presence of timing information in response. -- [PR #74](https://github.com/otoolep/rqlite/pull/74): Use SQLite connection directly. Thanks @zmedico. +- [PR #74](https://github.com/rqlite/rqlite/pull/74): Use SQLite connection directly. Thanks @zmedico. - Update operations return last-inserted ID. - Column-oriented API responses. - Types in API response body. @@ -33,5 +33,5 @@ - expvar support added to HTTP server. ## 1.0 (June 23rd 2015) -Check out [this tag](https://github.com/otoolep/rqlite/releases/tag/v1.0) for full details. +Check out [this tag](https://github.com/rqlite/rqlite/releases/tag/v1.0) for full details. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4ed6ffa..61bba189 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,7 @@ Download and run rqlite like so (tested on 64-bit Kubuntu 14.04 and OSX): mkdir rqlite # Or any directory of your choice. cd rqlite/ export GOPATH=$PWD -go get -t github.com/otoolep/rqlite/... +go get -t github.com/rqlite/rqlite/... $GOPATH/bin/rqlited ~/node.1 ``` @@ -33,25 +33,25 @@ Follow the steps below to work with a fork: ```bash export GOPATH=$HOME/rqlite -mkdir -p $GOPATH/src/github.com/otoolep -cd $GOPATH/src/github.com/otoolep +mkdir -p $GOPATH/src/github.com/rqlite +cd $GOPATH/src/github.com/rqlite git clone git@github.com:/rqlite ``` -Retaining the directory structure `$GOPATH/src/github.com/otoolep` is necessary so that Go imports work correctly. +Retaining the directory structure `$GOPATH/src/github.com/rqlite` is necessary so that Go imports work correctly. ## Testing Be sure to run the unit test suite before opening a pull request. An example test run is shown below. ```bash -$ cd $GOPATH/src/github.com/otoolep/rqlite +$ cd $GOPATH/src/github.com/rqlite/rqlite $ go test ./... -? github.com/otoolep/rqlite [no test files] -ok github.com/otoolep/rqlite/auth 0.001s -? github.com/otoolep/rqlite/cmd/rqlite [no test files] -? github.com/otoolep/rqlite/cmd/rqlited [no test files] -ok github.com/otoolep/rqlite/db 0.769s -ok github.com/otoolep/rqlite/http 0.006s -ok github.com/otoolep/rqlite/store 6.117s -ok github.com/otoolep/rqlite/system_test 7.853s +? github.com/rqlite/rqlite [no test files] +ok github.com/rqlite/rqlite/auth 0.001s +? github.com/rqlite/rqlite/cmd/rqlite [no test files] +? github.com/rqlite/rqlite/cmd/rqlited [no test files] +ok github.com/rqlite/rqlite/db 0.769s +ok github.com/rqlite/rqlite/http 0.006s +ok github.com/rqlite/rqlite/store 6.117s +ok github.com/rqlite/rqlite/system_test 7.853s ``` diff --git a/README.md b/README.md index c2210e5a..6aeba8d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -rqlite [![Circle CI](https://circleci.com/gh/otoolep/rqlite/tree/master.svg?style=svg)](https://circleci.com/gh/otoolep/rqlite/tree/master) [![GoDoc](https://godoc.org/github.com/otoolep/rqlite?status.svg)](https://godoc.org/github.com/otoolep/rqlite) [![Release](https://img.shields.io/github/release/otoolep/rqlite.svg)](https://github.com/otoolep/rqlite/releases) +rqlite [![Circle CI](https://circleci.com/gh/rqlite/rqlite/tree/master.svg?style=svg)](https://circleci.com/gh/rqlite/rqlite/tree/master) [![GoDoc](https://godoc.org/github.com/rqlite/rqlite?status.svg)](https://godoc.org/github.com/rqlite/rqlite) [![Release](https://img.shields.io/github/release/rqlite/rqlite.svg)](https://github.com/rqlite/rqlite/releases) ====== *Detailed background on rqlite can be found on [these blog posts](http://www.philipotoole.com/tag/rqlite/)*. @@ -19,13 +19,13 @@ You could use rqlite as part of a larger system, as a central store for some cri - Hot backups. ## Getting started -The quickest way to get running on OSX and Linux is to download a pre-built release binary. You can find these binaries on the [Github releases page](https://github.com/otoolep/rqlite/releases). Once installed, you can start a single rqlite node like so: +The quickest way to get running on OSX and Linux is to download a pre-built release binary. You can find these binaries on the [Github releases page](https://github.com/rqlite/rqlite/releases). Once installed, you can start a single rqlite node like so: ```bash rqlited ~/node.1 ``` This single node automatically becomes the leader. You can pass `-h` to `rqlited` to list all configuration options. -__If you want to build rqlite__, either because you want the latest code or a pre-built binary for platform is not available, take a look at the [contributing guidelines](https://github.com/otoolep/rqlite/blob/master/CONTRIBUTING.md). +__If you want to build rqlite__, either because you want the latest code or a pre-built binary for platform is not available, take a look at the [contributing guidelines](https://github.com/rqlite/rqlite/blob/master/CONTRIBUTING.md). ### Forming a cluster While not strictly necessary to run rqlite, running multiple nodes means the SQLite database is replicated. @@ -177,7 +177,7 @@ Another approach is to read the database file directly via `sqlite3`, the comman **If you use the query API to execute a command that modifies the database, those changes will not be replicated**. Always use the write API for inserts and updates. #### Read Consistency -Even though serving queries does not require consensus (because the database is not changed), [queries should generally be served by the leader](https://github.com/otoolep/rqlite/issues/5). Why is this? Because without this check queries on a node could return out-of-date results. This could happen for one of two reasons: +Even though serving queries does not require consensus (because the database is not changed), [queries should generally be served by the leader](https://github.com/rqlite/rqlite/issues/5). Why is this? Because without this check queries on a node could return out-of-date results. This could happen for one of two reasons: * The node, while still part of the cluster, has fallen behind the leader. * The node is no longer part of the cluster, and has stopped receiving Raft log updates. @@ -258,13 +258,13 @@ INSERT INTO foo (n) VALUES(random()); * The supported types are those supported by [go-sqlite3](http://godoc.org/github.com/mattn/go-sqlite3). ## Status API -You can learn how check status and diagnostics [here](https://github.com/otoolep/rqlite/blob/master/DIAGNOSTICS.md). +You can learn how check status and diagnostics [here](https://github.com/rqlite/rqlite/blob/master/DIAGNOSTICS.md). ## Backups -Learn how to backup your rqlite cluster [here](https://github.com/otoolep/rqlite/blob/master/BACKUPS.md). +Learn how to backup your rqlite cluster [here](https://github.com/rqlite/rqlite/blob/master/BACKUPS.md). ## Security -You can learn about securing access, and restricting users' access, to rqlite [here](https://github.com/otoolep/rqlite/blob/master/SECURITY.md). +You can learn about securing access, and restricting users' access, to rqlite [here](https://github.com/rqlite/rqlite/blob/master/SECURITY.md). ## Pronunciation? How do I pronounce rqlite? For what it's worth I pronounce it "ree-qwell-lite". diff --git a/cmd/rqlited/main.go b/cmd/rqlited/main.go index db12399c..9c739acf 100644 --- a/cmd/rqlited/main.go +++ b/cmd/rqlited/main.go @@ -22,9 +22,9 @@ import ( "path/filepath" "runtime/pprof" - "github.com/otoolep/rqlite/auth" - httpd "github.com/otoolep/rqlite/http" - "github.com/otoolep/rqlite/store" + "github.com/rqlite/rqlite/auth" + httpd "github.com/rqlite/rqlite/http" + "github.com/rqlite/rqlite/store" ) const sqliteDSN = "db.sqlite" diff --git a/http/service.go b/http/service.go index 74bfe150..ddca58a8 100644 --- a/http/service.go +++ b/http/service.go @@ -15,8 +15,8 @@ import ( "strings" "time" - sql "github.com/otoolep/rqlite/db" - "github.com/otoolep/rqlite/store" + sql "github.com/rqlite/rqlite/db" + "github.com/rqlite/rqlite/store" ) // Store is the interface the Raft-driven database must implement. diff --git a/http/service_test.go b/http/service_test.go index adb3d762..d5dab9a5 100644 --- a/http/service_test.go +++ b/http/service_test.go @@ -5,8 +5,8 @@ import ( "net/http" "testing" - sql "github.com/otoolep/rqlite/db" - "github.com/otoolep/rqlite/store" + sql "github.com/rqlite/rqlite/db" + "github.com/rqlite/rqlite/store" ) func Test_NormalizeAddr(t *testing.T) { diff --git a/package.sh b/package.sh index 020bdfe9..432c36e8 100755 --- a/package.sh +++ b/package.sh @@ -4,7 +4,7 @@ # # To determine the release ID, execute this command: # -# curl https://api.github.com/repos/otoolep/rqlite/releases +# curl https://api.github.com/repos/rqlite/rqlite/releases # if [ $# -lt 1 ]; then @@ -12,7 +12,7 @@ if [ $# -lt 1 ]; then exit 1 fi -REPO_URL="https://github.com/otoolep/rqlite" +REPO_URL="https://github.com/rqlite/rqlite" VERSION=$1 API_TOKEN=$2 @@ -31,9 +31,9 @@ commit=`git rev-parse HEAD` kernel=`uname -s` buildtime=`date +%Y-%m-%dT%T%z` -mkdir -p $tmp_build/src/github.com/otoolep +mkdir -p $tmp_build/src/github.com/rqlite export GOPATH=$tmp_build -cd $tmp_build/src/github.com/otoolep +cd $tmp_build/src/github.com/rqlite git clone $REPO_URL cd rqlite go get -d ./... @@ -51,5 +51,5 @@ if [ -z "$API_TOKEN" ]; then exit 0 fi -upload_url="https://uploads.github.com/repos/otoolep/rqlite/releases/$RELEASE_ID/assets" +upload_url="https://uploads.github.com/repos/rqlite/rqlite/releases/$RELEASE_ID/assets" curl -v -H "Content-type: application/octet-stream" -H "Authorization: token $API_TOKEN" -XPOST $upload_url?name=$release_pkg --data-binary @$release_pkg diff --git a/store/store.go b/store/store.go index 9c0be82a..e0813dc8 100644 --- a/store/store.go +++ b/store/store.go @@ -20,8 +20,8 @@ import ( "github.com/hashicorp/raft" "github.com/hashicorp/raft-boltdb" - sql "github.com/otoolep/rqlite/db" - mux "github.com/otoolep/rqlite/tcp" + sql "github.com/rqlite/rqlite/db" + mux "github.com/rqlite/rqlite/tcp" ) var ( diff --git a/system_test/helpers.go b/system_test/helpers.go index 6237f3d5..1b0792e9 100644 --- a/system_test/helpers.go +++ b/system_test/helpers.go @@ -11,8 +11,8 @@ import ( "strings" "time" - httpd "github.com/otoolep/rqlite/http" - "github.com/otoolep/rqlite/store" + httpd "github.com/rqlite/rqlite/http" + "github.com/rqlite/rqlite/store" ) // Node represents a node under test. diff --git a/vagrant_setup.sh b/vagrant_setup.sh index da1e6b24..6dc17801 100755 --- a/vagrant_setup.sh +++ b/vagrant_setup.sh @@ -16,5 +16,5 @@ gvm use go1.4 mkdir -p rqlite cd rqlite export GOPATH=$PWD -go get github.com/otoolep/rqlite/... +go get github.com/rqlite/rqlite/... ln -s $GOPATH/bin/rqlited /usr/local/bin/rqlited