You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change module path to github.com/opencloud-eu/reva/v3 - #1019
The rename itself looks clean (go build ./..., gofmt -l . and go mod tidy -diff pass, no reva/v2 imports left), but two things bite:
We now link a second copy of reva. pkg/app/registry/micro/manager.go and pkg/micro/ocdav/service.go import github.com/opencloud-eu/opencloud/pkg/registry, and opencloud v1.1.0 requires reva/v2. Before the rename that was the main module, now it resolves to reva/v2 v2.28.0:
$ go mod why -m github.com/opencloud-eu/reva/v2github.com/opencloud-eu/reva/v3/pkg/app/registry/microgithub.com/opencloud-eu/opencloud/pkg/registrygithub.com/opencloud-eu/reva/v2/pkg/registry
oreg.GetRegistry() now initializes the global registry of the v2 copy, not ours. Unless cmd/revad/runtime calls registry.Init, v3's registry stays nil, e.g. for an ocdav service started via ocdav.Service(). Then Selector.Next in pkg/rgrpc/todo/pool/selector.go skips the lookup and dials eu.opencloud.api.gateway as if it were an address. IMO we should use reva's own pkg/registry.GetRegistry() (or pass the registry in as an option) instead of importing opencloud here. That kills the cycle and the reva/v2 v2.28.0 // indirect requirement. The test helpers (tests/helpers/helpers.go, tests/integration/grpc/ocm_share_test.go) also import opencloud, so they keep the cycle alive for the next bump.
v3.0.0 is already tagged at 8fb379c, which still declares module github.com/opencloud-eu/reva/v2. So go get github.com/opencloud-eu/reva/[email protected] fails with "module declares its path as ...", and the /v2 path rejects a v3 tag. The proxy has probably cached it already, so the first usable v3 will have to be v3.0.1 (and we might want to retract v3.0.0 in go.mod). CHANGELOG.md and release-config.ts still talk about 3.0.0.
related: backports to stable-2.x will conflict on every import line now, the backport tool won't rewrite reva/v3 to reva/v2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.