Skip to content

Commit

Permalink
feat: rename organization to arana-db (arana-db#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeffcaii authored Mar 19, 2022
1 parent a0a4853 commit 3121f80
Show file tree
Hide file tree
Showing 72 changed files with 169 additions and 169 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: echo Hello world ${{ secrets.PROXY_DING_TOKEN }} ${{ secrets.PROXY_DING_SIGN }}

# Because the contexts of push and PR are different, there are two Notify.
# Notifications are triggered only in the dubbogo/arana repository.
# Notifications are triggered only in the arana-db/arana repository.
- name: DingTalk Message Notify only Push
uses: ./.github/actions/actions-ding
# Whether job is successful or not, always () is always true.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# arana
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/dubbogo/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/dubbogo/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/dubbogo/arana)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/arana-db/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/arana-db/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/arana-db/arana)


![](./docs/pics/arana-logo.png)

## Introduction | [中文](https://github.com/dubbogo/arana/blob/master/README_CN.md)
## Introduction | [中文](https://github.com/arana-db/arana/blob/master/README_CN.md)

Arana is a db proxy. It can be deployed as a sidecar.

Expand Down Expand Up @@ -45,4 +45,4 @@ arana start -c ${configFilePath}
## Contributing

## License
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/dubbogo/arana/blob/master/LICENSE) file for details.
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/arana-db/arana/blob/master/LICENSE) file for details.
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# arana
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/dubbogo/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/dubbogo/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/dubbogo/arana)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/arana-db/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/arana-db/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/arana-db/arana)

![](./docs/pics/arana-logo.png)

## 简介 | [English](https://github.com/dubbogo/arana/blob/master/README.md)
## 简介 | [English](https://github.com/arana-db/arana/blob/master/README.md)

Arana 是一个数据库代理。可以通过 sidecar 方式部署。

Expand Down Expand Up @@ -44,4 +44,4 @@ arana start -c ${configFilePath}
## 贡献

## 开源协议
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/dubbogo/arana/blob/master/LICENSE) file for details.
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/arana-db/arana/blob/master/LICENSE) file for details.
6 changes: 3 additions & 3 deletions README_ZH.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# arana
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/dubbogo/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/dubbogo/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/dubbogo/arana)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/arana-db/arana/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/arana-db/arana/branch/master/graph/badge.svg)](https://codecov.io/gh/arana-db/arana)

![](./docs/pics/arana-logo.png)

Expand Down Expand Up @@ -44,4 +44,4 @@ arana start -c ${configFilePath}
## 贡献

## 开源协议
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/dubbogo/arana/blob/master/LICENSE) file for details.
Arana software is licenced under the Apache License Version 2.0. See the [LICENSE](https://github.com/arana-db/arana/blob/master/LICENSE) file for details.
18 changes: 9 additions & 9 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/config"
"github.com/dubbogo/arana/pkg/constants"
"github.com/dubbogo/arana/pkg/executor"
"github.com/dubbogo/arana/pkg/filters"
"github.com/dubbogo/arana/pkg/mysql"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/resource"
"github.com/dubbogo/arana/pkg/server"
"github.com/dubbogo/arana/third_party/pools"
"github.com/arana-db/arana/pkg/config"
"github.com/arana-db/arana/pkg/constants"
"github.com/arana-db/arana/pkg/executor"
"github.com/arana-db/arana/pkg/filters"
"github.com/arana-db/arana/pkg/mysql"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/resource"
"github.com/arana-db/arana/pkg/server"
"github.com/arana-db/arana/third_party/pools"
)

var (
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/dubbogo/arana
module github.com/arana-db/arana

go 1.16

Expand Down
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/util/log"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/util/log"
etcdv3 "github.com/dubbogo/gost/database/kv/etcd/v3"
)

Expand Down
16 changes: 8 additions & 8 deletions pkg/executor/redirect.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/config"
"github.com/dubbogo/arana/pkg/mysql"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/resource"
"github.com/dubbogo/arana/pkg/runtime"
"github.com/dubbogo/arana/pkg/selector"
"github.com/dubbogo/arana/pkg/util/log"
"github.com/dubbogo/arana/third_party/pools"
"github.com/arana-db/arana/pkg/config"
"github.com/arana-db/arana/pkg/mysql"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/resource"
"github.com/arana-db/arana/pkg/runtime"
"github.com/arana-db/arana/pkg/selector"
"github.com/arana-db/arana/pkg/util/log"
"github.com/arana-db/arana/third_party/pools"
)

type RedirectExecutor struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/executor/redirect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/config"
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/config"
"github.com/arana-db/arana/pkg/proto"
)

func TestNewRedirectExecutorForSingleDB(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/filters/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package filter

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/proto"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/filters/filters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/proto"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions pkg/merge/impl/group_by/group_by_stream_merge_rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/merge"
"github.com/dubbogo/arana/pkg/merge/aggregater"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/runtime/ast"
"github.com/dubbogo/arana/testdata"
"github.com/arana-db/arana/pkg/merge"
"github.com/arana-db/arana/pkg/merge/aggregater"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/runtime/ast"
"github.com/arana-db/arana/testdata"
)

// Design documents: https://dubbo-kylin.yuque.com/docs/share/ff2e78b8-df2c-4874-b26e-cb6b923033b8
Expand Down
8 changes: 4 additions & 4 deletions pkg/merge/impl/group_by/group_by_stream_merge_rows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/merge"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/runtime/ast"
"github.com/dubbogo/arana/testdata"
"github.com/arana-db/arana/pkg/merge"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/runtime/ast"
"github.com/arana-db/arana/testdata"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/merge/impl/group_by/group_by_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/proto"
)

type GroupByValue struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/merge/merge_rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package merge

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/proto"
)

type MergeRows struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/merge/merge_rows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/testdata"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/testdata"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions pkg/mysql/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
err2 "github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/dubbogo/arana/pkg/util/log"
"github.com/arana-db/arana/pkg/constants/mysql"
err2 "github.com/arana-db/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/util/log"
)

// server pub keys registry
Expand Down
10 changes: 5 additions & 5 deletions pkg/mysql/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
err2 "github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/util/log"
"github.com/dubbogo/arana/third_party/pools"
"github.com/arana-db/arana/pkg/constants/mysql"
err2 "github.com/arana-db/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/util/log"
"github.com/arana-db/arana/third_party/pools"
)

type Config struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/mysql/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/mysql/errors"
)

func TestDSNParse(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/mysql/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
err2 "github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/dubbogo/arana/third_party/bucketpool"
"github.com/arana-db/arana/pkg/constants/mysql"
err2 "github.com/arana-db/arana/pkg/mysql/errors"
"github.com/arana-db/arana/third_party/bucketpool"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/mysql/conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
errors2 "github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/constants/mysql"
errors2 "github.com/arana-db/arana/pkg/mysql/errors"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/mysql/errors/sql_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/constants/mysql"
)

// SQLError is the error structure returned from calling a db library function
Expand Down
2 changes: 1 addition & 1 deletion pkg/mysql/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/constants/mysql"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/mysql/fields_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/constants/mysql"
)

func TestTableName(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/mysql/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package mysql

import (
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/proto"
)

type Result struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/mysql/rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/proto"
)

type ResultSet struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/mysql/rows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/dubbogo/arana/pkg/proto"
"github.com/arana-db/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/proto"
)

func TestFields(t *testing.T) {
Expand Down
10 changes: 5 additions & 5 deletions pkg/mysql/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/config"
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/dubbogo/arana/pkg/proto"
"github.com/dubbogo/arana/pkg/util/log"
"github.com/arana-db/arana/pkg/config"
"github.com/arana-db/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/proto"
"github.com/arana-db/arana/pkg/util/log"
)

const initClientConnStatus = mysql.ServerStatusAutocommit
Expand Down
4 changes: 2 additions & 2 deletions pkg/mysql/statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
err2 "github.com/dubbogo/arana/pkg/mysql/errors"
"github.com/arana-db/arana/pkg/constants/mysql"
err2 "github.com/arana-db/arana/pkg/mysql/errors"
)

type BackendStatement struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/mysql/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/constants/mysql"
)

// Registry for custom tls.Configs
Expand Down
2 changes: 1 addition & 1 deletion pkg/proto/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

import (
"github.com/dubbogo/arana/pkg/constants/mysql"
"github.com/arana-db/arana/pkg/constants/mysql"
)

type (
Expand Down
Loading

0 comments on commit 3121f80

Please sign in to comment.