Skip to content

Commit a8785bb

Browse files
committed
Migrate reva dependency to reva v3
1 parent 4fc6852 commit a8785bb

File tree

21 files changed

+2002
-109
lines changed

21 files changed

+2002
-109
lines changed

cback/http/cback.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ import (
3434
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
3535
rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
3636
storage "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
37-
"github.com/cs3org/reva"
38-
"github.com/cs3org/reva/pkg/appctx"
39-
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
40-
"github.com/cs3org/reva/pkg/rhttp/global"
41-
"github.com/cs3org/reva/pkg/sharedconf"
37+
"github.com/cs3org/reva/v3"
38+
"github.com/cs3org/reva/v3/pkg/appctx"
39+
"github.com/cs3org/reva/v3/pkg/rgrpc/todo/pool"
40+
"github.com/cs3org/reva/v3/pkg/rhttp/global"
41+
"github.com/cs3org/reva/v3/pkg/sharedconf"
4242
"github.com/go-chi/chi/v5"
4343
"github.com/mitchellh/mapstructure"
4444
"github.com/pkg/errors"

cback/storage/cback.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ import (
3838
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
3939
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
4040
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
41-
"github.com/cs3org/reva"
42-
"github.com/cs3org/reva/pkg/appctx"
43-
"github.com/cs3org/reva/pkg/errtypes"
44-
"github.com/cs3org/reva/pkg/mime"
45-
"github.com/cs3org/reva/pkg/storage"
46-
"github.com/cs3org/reva/pkg/storage/fs/registry"
41+
"github.com/cs3org/reva/v3"
42+
"github.com/cs3org/reva/v3/pkg/appctx"
43+
"github.com/cs3org/reva/v3/pkg/errtypes"
44+
"github.com/cs3org/reva/v3/pkg/mime"
45+
"github.com/cs3org/reva/v3/pkg/storage"
46+
"github.com/cs3org/reva/v3/pkg/storage/fs/registry"
4747
"github.com/mitchellh/mapstructure"
4848
"github.com/pkg/errors"
4949
)

cback/utils/cback.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
"net/http"
2828
"time"
2929

30-
"github.com/cs3org/reva/pkg/errtypes"
31-
"github.com/cs3org/reva/pkg/httpclient"
30+
"github.com/cs3org/reva/v3/pkg/errtypes"
31+
"github.com/cs3org/reva/v3/pkg/httpclient"
3232
"github.com/pkg/errors"
3333
)
3434

cernboxspaces/cernboxspaces.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import (
1111
group "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1"
1212
userpb "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
1313
rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
14-
"github.com/cs3org/reva"
15-
"github.com/cs3org/reva/pkg/appctx"
16-
"github.com/cs3org/reva/pkg/errtypes"
17-
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
18-
"github.com/cs3org/reva/pkg/rhttp/global"
19-
"github.com/cs3org/reva/pkg/sharedconf"
20-
"github.com/cs3org/reva/pkg/utils/cfg"
14+
"github.com/cs3org/reva/v3"
15+
"github.com/cs3org/reva/v3/pkg/appctx"
16+
"github.com/cs3org/reva/v3/pkg/errtypes"
17+
"github.com/cs3org/reva/v3/pkg/rgrpc/todo/pool"
18+
"github.com/cs3org/reva/v3/pkg/rhttp/global"
19+
"github.com/cs3org/reva/v3/pkg/sharedconf"
20+
"github.com/cs3org/reva/v3/pkg/utils/cfg"
2121
"github.com/go-chi/chi/v5"
2222
"github.com/juliangruber/go-intersect"
2323
"github.com/pkg/errors"

eosprojects/eosprojects.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import (
1111
group "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1"
1212
userpb "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
1313
rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
14-
"github.com/cs3org/reva"
15-
"github.com/cs3org/reva/pkg/appctx"
16-
"github.com/cs3org/reva/pkg/errtypes"
17-
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
18-
"github.com/cs3org/reva/pkg/rhttp/global"
19-
"github.com/cs3org/reva/pkg/sharedconf"
20-
"github.com/cs3org/reva/pkg/utils/cfg"
14+
"github.com/cs3org/reva/v3"
15+
"github.com/cs3org/reva/v3/pkg/appctx"
16+
"github.com/cs3org/reva/v3/pkg/errtypes"
17+
"github.com/cs3org/reva/v3/pkg/rgrpc/todo/pool"
18+
"github.com/cs3org/reva/v3/pkg/rhttp/global"
19+
"github.com/cs3org/reva/v3/pkg/sharedconf"
20+
"github.com/cs3org/reva/v3/pkg/utils/cfg"
2121
"github.com/go-chi/chi/v5"
2222
"github.com/juliangruber/go-intersect"
2323
"github.com/pkg/errors"

go.mod

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/Masterminds/sprig v2.22.0+incompatible
99
github.com/bluele/gcache v0.0.2
1010
github.com/cs3org/go-cs3apis v0.0.0-20250626104136-a0b31b323c48
11-
github.com/cs3org/reva v1.27.0
11+
github.com/cs3org/reva/v3 v3.0.1
1212
github.com/disintegration/imaging v1.6.2
1313
github.com/go-chi/chi/v5 v5.2.2
1414
github.com/go-sql-driver/mysql v1.9.3
@@ -33,7 +33,8 @@ require (
3333
github.com/Masterminds/goutils v1.1.1 // indirect
3434
github.com/Masterminds/semver v1.5.0 // indirect
3535
github.com/ReneKroon/ttlcache/v2 v2.11.0 // indirect
36-
github.com/cern-eos/go-eosgrpc v0.0.0-20250205160007-5263e0105295 // indirect
36+
github.com/bmizerany/pat v0.0.0-20210406213842-e4b6760bdd6f // indirect
37+
github.com/cern-eos/go-eosgrpc v0.0.0-20250429151059-e8c6e014a629 // indirect
3738
github.com/creasty/defaults v1.8.0 // indirect
3839
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
3940
github.com/glpatcern/go-mime v0.0.0-20221026162842-2a8d71ad17a9 // indirect
@@ -46,26 +47,31 @@ require (
4647
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
4748
github.com/golang/protobuf v1.5.4 // indirect
4849
github.com/google/uuid v1.6.0 // indirect
50+
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
4951
github.com/huandu/xstrings v1.5.0 // indirect
5052
github.com/imdario/mergo v0.3.16 // indirect
5153
github.com/jinzhu/inflection v1.0.0 // indirect
5254
github.com/jinzhu/now v1.1.5 // indirect
53-
github.com/kr/text v0.2.0 // indirect
55+
github.com/klauspost/compress v1.18.0 // indirect
5456
github.com/leodido/go-urn v1.4.0 // indirect
5557
github.com/mattn/go-colorable v0.1.14 // indirect
5658
github.com/mattn/go-isatty v0.0.20 // indirect
5759
github.com/mattn/go-sqlite3 v1.14.28 // indirect
5860
github.com/mileusna/useragent v1.3.5 // indirect
5961
github.com/mitchellh/copystructure v1.2.0 // indirect
6062
github.com/mitchellh/reflectwalk v1.0.2 // indirect
63+
github.com/nats-io/nats.go v1.42.0 // indirect
64+
github.com/nats-io/nkeys v0.4.11 // indirect
65+
github.com/nats-io/nuid v1.0.1 // indirect
66+
github.com/tus/tusd v1.13.0 // indirect
6167
go.step.sm/crypto v0.66.0 // indirect
6268
golang.org/x/image v0.13.0 // indirect
6369
golang.org/x/net v0.40.0 // indirect
6470
golang.org/x/sync v0.15.0 // indirect
6571
golang.org/x/sys v0.33.0 // indirect
6672
golang.org/x/text v0.26.0 // indirect
67-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250512202823-5a2f75b736a9 // indirect
73+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect
6874
google.golang.org/protobuf v1.36.6 // indirect
6975
)
7076

71-
replace github.com/cs3org/reva => ../reva
77+
replace github.com/cs3org/reva/v3 => ../reva

0 commit comments

Comments
 (0)