Skip to content

Commit b53e0f2

Browse files
committed
chore: rename package
1 parent 054a5ce commit b53e0f2

File tree

149 files changed

+420
-420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+420
-420
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
A version control file system for data centric applications & teams.
33

44
<p align="left">
5-
<a href="https://codecov.io/gh/jiaozifs/jiaozifs"><img src="https://codecov.io/gh/jiaozifs/jiaozifs/branch/main/graph/badge.svg"></a>
6-
<a href="https://goreportcard.com/report/github.com/jiaozifs/jiaozifs"><img src="https://goreportcard.com/badge/github.com/jiaozifs/jiaozifs" /></a>
5+
<a href="https://codecov.io/gh/GitDataAI/jiaozifs"><img src="https://codecov.io/gh/GitDataAI/jiaozifs/branch/main/graph/badge.svg"></a>
6+
<a href="https://goreportcard.com/report/github.com/GitDataAI/jiaozifs"><img src="https://goreportcard.com/badge/github.com/GitDataAI/jiaozifs" /></a>
77
<a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.22.0-blue.svg" /></a>
88
<br>
99
</p>
1010

11-
<img src="https://github.com/jiaozifs/jiaozifs/blob/main/docs/logo/jiaozifs.png" width="100">
11+
<img src="https://github.com/GitDataAI/jiaozifs/blob/main/docs/logo/jiaozifs.png" width="100">
1212

1313
----
1414
### What is JiaoziFS?
@@ -52,7 +52,7 @@ JiaoziFS's versatility shines across different industries – making it the mult
5252

5353
1. clone and build
5454
```bash
55-
git clone https://github.com/jiaozifs/jiaozifs.git
55+
git clone https://github.com/GitDataAI/jiaozifs.git
5656
cd jiaozifs
5757
make build
5858
```
@@ -82,5 +82,5 @@ docker run -v <data>:/app -p 34913:34913 gitdatateam/jzfs:latest --db "postgres
8282
----
8383
### License
8484

85-
Dual-licensed under [MIT](https://github.com/jiaozifs/jiaozifs/blob/main/LICENSE-MIT) + [Apache 2.0](https://github.com/jiaozifs/jiaozifs/blob/main/LICENSE-APACHE)
85+
Dual-licensed under [MIT](https://github.com/GitDataAI/jiaozifs/blob/main/LICENSE-MIT) + [Apache 2.0](https://github.com/GitDataAI/jiaozifs/blob/main/LICENSE-APACHE)
8686

api/aksk_opts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"net/http"
66

7-
"github.com/jiaozifs/jiaozifs/auth/aksk"
7+
"github.com/GitDataAI/jiaozifs/auth/aksk"
88
)
99

1010
func AkSkOption(ak, sk string) ClientOption {

api/api_impl/impl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package apiimpl
22

33
import (
4-
"github.com/jiaozifs/jiaozifs/api"
5-
"github.com/jiaozifs/jiaozifs/controller"
4+
"github.com/GitDataAI/jiaozifs/api"
5+
"github.com/GitDataAI/jiaozifs/controller"
66
"go.uber.org/fx"
77
)
88

api/api_impl/server.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"net/url"
1010
"strings"
1111

12-
"github.com/jiaozifs/jiaozifs/auth/aksk"
12+
"github.com/GitDataAI/jiaozifs/auth/aksk"
1313

1414
"github.com/hellofresh/health-go/v5"
1515

@@ -23,11 +23,11 @@ import (
2323
"github.com/go-chi/chi/v5"
2424
"github.com/gorilla/sessions"
2525
logging "github.com/ipfs/go-log/v2"
26-
"github.com/jiaozifs/jiaozifs/api"
27-
"github.com/jiaozifs/jiaozifs/auth"
28-
"github.com/jiaozifs/jiaozifs/auth/crypt"
29-
"github.com/jiaozifs/jiaozifs/config"
30-
"github.com/jiaozifs/jiaozifs/models"
26+
"github.com/GitDataAI/jiaozifs/api"
27+
"github.com/GitDataAI/jiaozifs/auth"
28+
"github.com/GitDataAI/jiaozifs/auth/crypt"
29+
"github.com/GitDataAI/jiaozifs/config"
30+
"github.com/GitDataAI/jiaozifs/models"
3131
"github.com/rs/cors"
3232
"go.uber.org/fx"
3333
)

api/custom_response.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"net/http"
77

8-
"github.com/jiaozifs/jiaozifs/auth"
9-
"github.com/jiaozifs/jiaozifs/models"
8+
"github.com/GitDataAI/jiaozifs/auth"
9+
"github.com/GitDataAI/jiaozifs/models"
1010
)
1111

1212
type JiaozifsResponse struct {

api/custom_response_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/http"
66
"testing"
77

8-
"github.com/jiaozifs/jiaozifs/auth"
8+
"github.com/GitDataAI/jiaozifs/auth"
99

10-
"github.com/jiaozifs/jiaozifs/models"
10+
"github.com/GitDataAI/jiaozifs/models"
1111

1212
"go.uber.org/mock/gomock"
1313
)

auth/aksk.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package auth
33
import (
44
"context"
55

6-
"github.com/jiaozifs/jiaozifs/auth/aksk"
7-
"github.com/jiaozifs/jiaozifs/models"
6+
"github.com/GitDataAI/jiaozifs/auth/aksk"
7+
"github.com/GitDataAI/jiaozifs/models"
88
)
99

1010
var _ aksk.SkGetter = (*SkGetter)(nil)

auth/auth_middleware.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ import (
99

1010
logging "github.com/ipfs/go-log/v2"
1111

12-
"github.com/jiaozifs/jiaozifs/utils"
12+
"github.com/GitDataAI/jiaozifs/utils"
1313

14-
"github.com/jiaozifs/jiaozifs/auth/aksk"
14+
"github.com/GitDataAI/jiaozifs/auth/aksk"
1515

1616
"github.com/golang-jwt/jwt/v5"
1717

1818
"github.com/getkin/kin-openapi/openapi3"
1919
"github.com/getkin/kin-openapi/routers"
2020
"github.com/getkin/kin-openapi/routers/legacy"
2121
"github.com/gorilla/sessions"
22-
"github.com/jiaozifs/jiaozifs/auth/crypt"
23-
"github.com/jiaozifs/jiaozifs/models"
22+
"github.com/GitDataAI/jiaozifs/auth/crypt"
23+
"github.com/GitDataAI/jiaozifs/models"
2424
)
2525

2626
const (

auth/authenticator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package auth
33
import (
44
"context"
55

6-
"github.com/jiaozifs/jiaozifs/models"
6+
"github.com/GitDataAI/jiaozifs/models"
77
"golang.org/x/crypto/bcrypt"
88
)
99

auth/context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jiaozifs/jiaozifs/models"
7+
"github.com/GitDataAI/jiaozifs/models"
88
)
99

1010
var ErrUserNotFound = fmt.Errorf("UserNotFound")

auth/crypt/encryption_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"testing"
77

8-
"github.com/jiaozifs/jiaozifs/auth/crypt"
8+
"github.com/GitDataAI/jiaozifs/auth/crypt"
99
)
1010

1111
func TestSecretStore_Encrypt(t *testing.T) {

auth/rbac/arn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"strings"
66

7-
"github.com/jiaozifs/jiaozifs/auth/rbac/wildcard"
8-
"github.com/jiaozifs/jiaozifs/models/rbacmodel"
7+
"github.com/GitDataAI/jiaozifs/auth/rbac/wildcard"
8+
"github.com/GitDataAI/jiaozifs/models/rbacmodel"
99
)
1010

1111
var (

auth/rbac/arn_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package rbac_test
33
import (
44
"testing"
55

6-
"github.com/jiaozifs/jiaozifs/auth/rbac"
6+
"github.com/GitDataAI/jiaozifs/auth/rbac"
77
)
88

99
func TestParseARN(t *testing.T) {

auth/rbac/rbac.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/jiaozifs/jiaozifs/auth/rbac/wildcard"
10+
"github.com/GitDataAI/jiaozifs/auth/rbac/wildcard"
1111

1212
"github.com/google/uuid"
1313

14-
"github.com/jiaozifs/jiaozifs/models"
15-
"github.com/jiaozifs/jiaozifs/models/rbacmodel"
14+
"github.com/GitDataAI/jiaozifs/models"
15+
"github.com/GitDataAI/jiaozifs/models/rbacmodel"
1616
)
1717

1818
var ErrInsufficientPermissions = fmt.Errorf("permission not enough")

auth/rbac/rbac_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99

1010
"github.com/stretchr/testify/require"
1111

12-
"github.com/jiaozifs/jiaozifs/auth"
13-
"github.com/jiaozifs/jiaozifs/models/rbacmodel"
12+
"github.com/GitDataAI/jiaozifs/auth"
13+
"github.com/GitDataAI/jiaozifs/models/rbacmodel"
1414

15-
"github.com/jiaozifs/jiaozifs/auth/rbac"
16-
"github.com/jiaozifs/jiaozifs/models"
15+
"github.com/GitDataAI/jiaozifs/auth/rbac"
16+
"github.com/GitDataAI/jiaozifs/models"
1717

18-
"github.com/jiaozifs/jiaozifs/testhelper"
18+
"github.com/GitDataAI/jiaozifs/testhelper"
1919
)
2020

2121
func TestNewRbac(t *testing.T) {

auth/rbac/statements.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/jiaozifs/jiaozifs/models/rbacmodel"
7+
"github.com/GitDataAI/jiaozifs/models/rbacmodel"
88
)
99

1010
var (

auth/rbac/wildcard/match_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package wildcard_test
1919
import (
2020
"testing"
2121

22-
"github.com/jiaozifs/jiaozifs/auth/rbac/wildcard"
22+
"github.com/GitDataAI/jiaozifs/auth/rbac/wildcard"
2323
)
2424

2525
// TestMatch - Tests validate the logic of wild card matching.

auth/session_store.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"encoding/hex"
55

66
"github.com/gorilla/sessions"
7-
"github.com/jiaozifs/jiaozifs/auth/crypt"
8-
"github.com/jiaozifs/jiaozifs/config"
7+
"github.com/GitDataAI/jiaozifs/auth/crypt"
8+
"github.com/GitDataAI/jiaozifs/config"
99
)
1010

1111
func NewSessionStore(secretStrore crypt.SecretStore) sessions.Store {

block/azure/adapter.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror"
1616
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob"
1717
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas"
18-
"github.com/jiaozifs/jiaozifs/block"
19-
"github.com/jiaozifs/jiaozifs/block/params"
20-
"github.com/jiaozifs/jiaozifs/utils"
21-
"github.com/jiaozifs/jiaozifs/utils/hash"
18+
"github.com/GitDataAI/jiaozifs/block"
19+
"github.com/GitDataAI/jiaozifs/block/params"
20+
"github.com/GitDataAI/jiaozifs/utils"
21+
"github.com/GitDataAI/jiaozifs/utils/hash"
2222
)
2323

2424
const (

block/azure/adapter_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"regexp"
77
"testing"
88

9-
"github.com/jiaozifs/jiaozifs/block/azure"
10-
"github.com/jiaozifs/jiaozifs/block/blocktest"
11-
"github.com/jiaozifs/jiaozifs/block/params"
9+
"github.com/GitDataAI/jiaozifs/block/azure"
10+
"github.com/GitDataAI/jiaozifs/block/blocktest"
11+
"github.com/GitDataAI/jiaozifs/block/params"
1212
"github.com/stretchr/testify/require"
1313
)
1414

block/azure/client_cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas"
1414
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service"
1515
lru "github.com/hnlq715/golang-lru"
16-
"github.com/jiaozifs/jiaozifs/block/params"
16+
"github.com/GitDataAI/jiaozifs/block/params"
1717
"github.com/puzpuzpuz/xsync"
1818
)
1919

block/azure/client_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"net/url"
55
"testing"
66

7-
"github.com/jiaozifs/jiaozifs/block"
8-
"github.com/jiaozifs/jiaozifs/block/azure"
7+
"github.com/GitDataAI/jiaozifs/block"
8+
"github.com/GitDataAI/jiaozifs/block/azure"
99
"github.com/stretchr/testify/require"
1010
)
1111

block/azure/multipart_block_writer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import (
1111
"strconv"
1212
"strings"
1313

14-
"github.com/jiaozifs/jiaozifs/utils/hash"
14+
"github.com/GitDataAI/jiaozifs/utils/hash"
1515

1616
"github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming"
1717
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob"
1818
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob"
1919
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container"
2020
"github.com/google/uuid"
2121
logging "github.com/ipfs/go-log/v2"
22-
"github.com/jiaozifs/jiaozifs/block"
22+
"github.com/GitDataAI/jiaozifs/block"
2323
)
2424

2525
var log = logging.Logger("azure")

block/azure/walker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
1212
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container"
1313
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service"
14-
"github.com/jiaozifs/jiaozifs/block"
14+
"github.com/GitDataAI/jiaozifs/block"
1515
)
1616

1717
const DirectoryBlobMetadataKey = "hdi_isfolder"

block/blocktest/adapter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"testing"
1414

1515
"github.com/go-test/deep"
16-
"github.com/jiaozifs/jiaozifs/block"
16+
"github.com/GitDataAI/jiaozifs/block"
1717
"github.com/stretchr/testify/require"
1818
"github.com/thanhpk/randstr"
1919
)

block/factory/build.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jiaozifs/jiaozifs/block/ipfs"
7+
"github.com/GitDataAI/jiaozifs/block/ipfs"
88

99
"cloud.google.com/go/storage"
1010
"github.com/aws/aws-sdk-go-v2/service/s3"
1111
logging "github.com/ipfs/go-log/v2"
12-
"github.com/jiaozifs/jiaozifs/block"
13-
"github.com/jiaozifs/jiaozifs/block/azure"
14-
"github.com/jiaozifs/jiaozifs/block/gs"
15-
"github.com/jiaozifs/jiaozifs/block/local"
16-
"github.com/jiaozifs/jiaozifs/block/mem"
17-
"github.com/jiaozifs/jiaozifs/block/params"
18-
s3a "github.com/jiaozifs/jiaozifs/block/s3"
19-
"github.com/jiaozifs/jiaozifs/block/transient"
12+
"github.com/GitDataAI/jiaozifs/block"
13+
"github.com/GitDataAI/jiaozifs/block/azure"
14+
"github.com/GitDataAI/jiaozifs/block/gs"
15+
"github.com/GitDataAI/jiaozifs/block/local"
16+
"github.com/GitDataAI/jiaozifs/block/mem"
17+
"github.com/GitDataAI/jiaozifs/block/params"
18+
s3a "github.com/GitDataAI/jiaozifs/block/s3"
19+
"github.com/GitDataAI/jiaozifs/block/transient"
2020
"golang.org/x/oauth2/google"
2121
"google.golang.org/api/option"
2222
)

block/gs/adapter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"cloud.google.com/go/storage"
1515
logging "github.com/ipfs/go-log/v2"
16-
"github.com/jiaozifs/jiaozifs/block"
16+
"github.com/GitDataAI/jiaozifs/block"
1717
"google.golang.org/api/iterator"
1818
)
1919

block/gs/adapter_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"regexp"
66
"testing"
77

8-
"github.com/jiaozifs/jiaozifs/block/blocktest"
9-
"github.com/jiaozifs/jiaozifs/block/gs"
8+
"github.com/GitDataAI/jiaozifs/block/blocktest"
9+
"github.com/GitDataAI/jiaozifs/block/gs"
1010
"github.com/stretchr/testify/require"
1111
)
1212

block/gs/walker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010

1111
"cloud.google.com/go/storage"
12-
"github.com/jiaozifs/jiaozifs/block"
12+
"github.com/GitDataAI/jiaozifs/block"
1313
"google.golang.org/api/iterator"
1414
)
1515

block/ipfs/adapter.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222

2323
"github.com/google/uuid"
2424
"github.com/ipfs/kubo/client/rpc"
25-
"github.com/jiaozifs/jiaozifs/block"
26-
"github.com/jiaozifs/jiaozifs/utils/hash"
25+
"github.com/GitDataAI/jiaozifs/block"
26+
"github.com/GitDataAI/jiaozifs/utils/hash"
2727
ma "github.com/multiformats/go-multiaddr"
2828
)
2929

0 commit comments

Comments
 (0)