From 665599208facf0d4fa2060b68148d6204946d699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Fri, 13 Nov 2026 08:38:21 +0100 Subject: [PATCH] build: bump reva to workpackages 67131be3d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The public share listing fix is merged into reva workpackages, so we drop the replace with the butonic fork. This also pulls in the managed spaces change that was merged before it. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer --- go.mod | 4 +--- go.sum | 4 ++-- .../reva/v2/pkg/owncloud/ocs/capabilities.go | 13 +++++++------ .../storage/pkg/decomposedfs/node/permissions.go | 3 ++- vendor/modules.txt | 3 +-- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index 69bc0b8004..ac5cceb28e 100644 --- a/go.mod +++ b/go.mod @@ -68,7 +68,7 @@ require ( github.com/open-policy-agent/opa v1.21.1 github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89 github.com/opencloud-eu/libre-graph-api-go v1.0.9-0.20261016073229-17ed3d5dd346 - github.com/opencloud-eu/reva/v2 v2.52.2-0.20261111125001-fa3c9e289ad6 + github.com/opencloud-eu/reva/v2 v2.52.2-0.20261113073431-67131be3db65 github.com/opensearch-project/opensearch-go/v4 v4.7.3 github.com/orcaman/concurrent-map v1.0.0 github.com/pkg/errors v0.9.1 @@ -404,5 +404,3 @@ replace go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.4-0.202609292135 exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible replace github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/opencloud-eu/go-micro-plugins/v4/store/nats-js-kv v0.0.0-20250512152754-23325793059a - -replace github.com/opencloud-eu/reva/v2 => github.com/butonic/reva/v2 v2.0.0-20261112120609-db4a39bfcf12 diff --git a/go.sum b/go.sum index 3fdcb7d6b2..38aae85d4e 100644 --- a/go.sum +++ b/go.sum @@ -164,8 +164,6 @@ github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/ github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= github.com/butonic/go-micro/v4 v4.11.4-0.20260929213538-cd412c159a26 h1:DtJ8z75PCgVcghoDE0KoTVWc0xp1mN9xyvDebMPB688= github.com/butonic/go-micro/v4 v4.11.4-0.20260929213538-cd412c159a26/go.mod h1:Pxkj/TW2+3WWT0h0JVdMi+DUjvLWAF+tR/vymiXea2Q= -github.com/butonic/reva/v2 v2.0.0-20261112120609-db4a39bfcf12 h1:DlTw/NkZ4ZahPqUQa/fn8cVFDieywNaIyavAfsjRuI0= -github.com/butonic/reva/v2 v2.0.0-20261112120609-db4a39bfcf12/go.mod h1:nKOQFFHQZiBFiiXBqEIc99giHQ/Pe0XYf5cztJhZDYw= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= @@ -763,6 +761,8 @@ github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89 h1:W1ms+l github.com/opencloud-eu/icap-client v0.0.0-20250930132611-28a2afe62d89/go.mod h1:vigJkNss1N2QEceCuNw/ullDehncuJNFB6mEnzfq9UI= github.com/opencloud-eu/libre-graph-api-go v1.0.9-0.20261016073229-17ed3d5dd346 h1:3ptbiFhSK4fzY/rC3idcYUveiwepMoOov1sBpc7Rg3k= github.com/opencloud-eu/libre-graph-api-go v1.0.9-0.20261016073229-17ed3d5dd346/go.mod h1:lTM8JeGblNpoMySTW7Lui2+c5TTLI95mwxtdUIHHrhU= +github.com/opencloud-eu/reva/v2 v2.52.2-0.20261113073431-67131be3db65 h1:u9GVH5aM8Kv8PjKsfxTND8YtRdjuGjviIcNor1L7iV4= +github.com/opencloud-eu/reva/v2 v2.52.2-0.20261113073431-67131be3db65/go.mod h1:nKOQFFHQZiBFiiXBqEIc99giHQ/Pe0XYf5cztJhZDYw= github.com/opencloud-eu/secure v0.0.0-20260312082735-b6f5cb2244e4 h1:l2oB/RctH+t8r7QBj5p8thfEHCM/jF35aAY3WQ3hADI= github.com/opencloud-eu/secure v0.0.0-20260312082735-b6f5cb2244e4/go.mod h1:BmF5hyM6tXczk3MpQkFf1hpKSRqCyhqcbiQtiAF7+40= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= diff --git a/vendor/github.com/opencloud-eu/reva/v2/pkg/owncloud/ocs/capabilities.go b/vendor/github.com/opencloud-eu/reva/v2/pkg/owncloud/ocs/capabilities.go index ea4b73c207..3e1e00177d 100644 --- a/vendor/github.com/opencloud-eu/reva/v2/pkg/owncloud/ocs/capabilities.go +++ b/vendor/github.com/opencloud-eu/reva/v2/pkg/owncloud/ocs/capabilities.go @@ -156,12 +156,13 @@ type CapabilitiesSearchPropertyExtended struct { // Spaces lets a service configure its advertised options related to Storage Spaces. type Spaces struct { - Version string `json:"version" xml:"version" mapstructure:"version"` - Enabled bool `json:"enabled" xml:"enabled" mapstructure:"enabled"` - Projects bool `json:"projects" xml:"projects" mapstructure:"projects"` - ShareJail bool `json:"share_jail" xml:"share_jail" mapstructure:"share_jail"` - MaxQuota uint64 `json:"max_quota" xml:"max_quota" mapstructure:"max_quota"` - DefaultQuota uint64 `json:"default_quota" xml:"default_quota" mapstructure:"default_quota"` + Version string `json:"version" xml:"version" mapstructure:"version"` + Enabled bool `json:"enabled" xml:"enabled" mapstructure:"enabled"` + Projects bool `json:"projects" xml:"projects" mapstructure:"projects"` + ShareJail bool `json:"share_jail" xml:"share_jail" mapstructure:"share_jail"` + MaxQuota uint64 `json:"max_quota" xml:"max_quota" mapstructure:"max_quota"` + DefaultQuota uint64 `json:"default_quota" xml:"default_quota" mapstructure:"default_quota"` + ServerManaged bool `json:"server_managed" xml:"server_managed" mapstructure:"server_managed"` } // CapabilitiesCore holds webdav config diff --git a/vendor/github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/node/permissions.go b/vendor/github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/node/permissions.go index 1f4ea0da49..27f2b14128 100644 --- a/vendor/github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/node/permissions.go +++ b/vendor/github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs/node/permissions.go @@ -101,7 +101,8 @@ func ServiceAccountPermissions() *provider.ResourcePermissions { Delete: true, // for cli restore command with replace option CreateContainer: true, // for space provisioning AddGrant: true, // for initial project space member assignment - ListGrants: true, // for initial project space member assignment + UpdateGrant: true, // for automatic space membership management + ListGrants: true, // for initial project space member assignment and automatic space membership management } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 887e58c8e1..edc90a3a16 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1360,7 +1360,7 @@ github.com/opencloud-eu/icap-client # github.com/opencloud-eu/libre-graph-api-go v1.0.9-0.20261016073229-17ed3d5dd346 ## explicit; go 1.23 github.com/opencloud-eu/libre-graph-api-go -# github.com/opencloud-eu/reva/v2 v2.52.2-0.20261111125001-fa3c9e289ad6 => github.com/butonic/reva/v2 v2.0.0-20261112120609-db4a39bfcf12 +# github.com/opencloud-eu/reva/v2 v2.52.2-0.20261113073431-67131be3db65 ## explicit; go 1.26.0 github.com/opencloud-eu/reva/v2/cmd/revad/internal/grace github.com/opencloud-eu/reva/v2/cmd/revad/runtime @@ -2691,4 +2691,3 @@ stash.kopano.io/kgol/rndm # github.com/unrolled/secure => github.com/opencloud-eu/secure v0.0.0-20260312082735-b6f5cb2244e4 # go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.4-0.20260929213538-cd412c159a26 # github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/opencloud-eu/go-micro-plugins/v4/store/nats-js-kv v0.0.0-20250512152754-23325793059a -# github.com/opencloud-eu/reva/v2 => github.com/butonic/reva/v2 v2.0.0-20261112120609-db4a39bfcf12