bump reva, change decomposeds3 drivername

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-02-20 11:07:31 +01:00
parent 34619ae3c1
commit 74b6078158
25 changed files with 124 additions and 124 deletions
@@ -16,21 +16,21 @@
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
package decomposed_s3
package decomposeds3
import (
"fmt"
"github.com/opencloud-eu/reva/v2/pkg/events"
"github.com/opencloud-eu/reva/v2/pkg/storage"
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed_s3/blobstore"
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposeds3/blobstore"
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/registry"
"github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs"
"github.com/rs/zerolog"
)
func init() {
registry.Register("decomposed_s3", New)
registry.Register("decomposeds3", New)
}
// New returns an implementation to of the storage.FS interface that talk to
@@ -16,7 +16,7 @@
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
package decomposed_s3
package decomposeds3
import (
"github.com/mitchellh/mapstructure"
+1 -1
View File
@@ -23,7 +23,7 @@ import (
_ "github.com/opencloud-eu/reva/v2/pkg/ocm/storage/received"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/cephfs"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed_s3"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposeds3"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eos"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eosgrpc"
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eosgrpchome"
@@ -807,7 +807,7 @@ func (fs *Decomposedfs) DeleteStorageSpace(ctx context.Context, req *provider.De
}
// the value of `target` depends on the implementation:
// - for decomposedfs/s3ng it is the relative link to the space root
// - for decomposedfs/decomposeds3 it is the relative link to the space root
// - for the posixfs it is the node id
func (fs *Decomposedfs) updateIndexes(ctx context.Context, grantee *provider.Grantee, spaceType, spaceID, nodeID string) error {
target := fs.tp.BuildSpaceIDIndexEntry(spaceID, nodeID)
@@ -195,7 +195,7 @@ func (tp *Tree) DownloadRevision(ctx context.Context, ref *provider.Reference, r
BaseNode: node.BaseNode{SpaceID: spaceID},
BlobID: blobid,
Blobsize: blobsize,
} // blobsize is needed for the s3ng blobstore
} // blobsize is needed for the decomposeds3 blobstore
ri, err := n.AsResourceInfo(ctx, rp, nil, []string{"size", "mimetype", "etag"}, true)
if err != nil {