Skip to content

[full-ci] build: bump reva to the ocm share permission fixes - #4065

Merged
butonic merged 2 commits into
mainfrom
bump-reva-wp4-batch4
Nov 19, 2026
Merged

butonic merged 2 commits into
mainfrom
bump-reva-wp4-batch4

Conversation

@butonic

@butonic butonic commented Nov 18, 2026

Copy link
Copy Markdown
Member

Bumps reva to a merge of reva main and opencloud-eu/reva#1035 (stacked on opencloud-eu/reva#1030) to run the full CI against the OCM changes:

  • remotes get notified when a federated share is removed or its permissions change, and the ocmcore service publishes OCMCoreShareCreated / OCMCoreShareDelete when an events endpoint is configured
  • OCM share creation no longer adds a grant when the share provider failed, and updating a share also updates its grant
  • received OCM shares get editor permissions that match the resource type (no ListGrants / Reshare, folder-only CreateContainer / Delete / Move)
  • the wildcard provider and invite fixes from fix(ocm): fix wildcard providers and invite error handling reva#1027 that are already on reva main

go.mod replaces reva with the butonic fork, so this must not be merged as is. Once the reva PRs are merged it becomes a regular bump to reva main.

AI assistance: Claude Code (claude-opus-5-5) merged the reva branches, bumped and vendored reva and ran the build and the ocm/userlog tests.

@codacy-production

codacy-production Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

🟢 Coverage ∅ diff coverage · 0.00% coverage variation

Metric Results
Coverage variation ✅ 0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (c97aff7) 94306 28351 30.06%
Head commit (a34dbf8) 94306 (+0) 28349 (-2) 30.06% (0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#4065) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

pbleser-oc added a commit to pbleser-oc/opencloud that referenced this pull request Nov 19, 2026
opencloud-eu/reva#895 (the revision cleanup) was merged into reva main
with 5a237e94c, so the temporary replace of its fork is no longer
needed. Along with it comes the other reva change merged since
37496dc6a, opencloud-eu/reva#1027 (OCM invite and provider fixes): an
invalid invitation token is now rejected with the actual reason, so the
acceptance test of an expired token expects "token not valid" instead of
"token has expired", as in opencloud-eu#4065.

Assisted-by: Claude Code:claude-opus-5-5
@butonic
butonic force-pushed the bump-reva-wp4-batch4 branch from 661d501 to bcf9149 Compare November 19, 2026 10:21
We bump reva to 0093d72f4c9d, the merge of
opencloud-eu/reva#1035 on reva main. This
brings in the OCM unshare and permission change notifications, the ocm
core share events and the fixes to the permissions of OCM shares, on
top of the invite and provider fixes already on reva main.

It also pulls in the revision cleanup from
opencloud-eu/reva#895. Its strategy defaults
to empty, which keeps all revisions, so nothing changes until we wire
up the option.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
A federated editor share of a folder now carries the permissions of
the Editor role, so the graph API returns a role for it instead of a
list of permission actions. Changing the role of a federated share now
notifies the remote, so the remote user can write to the file after
the sharer upgraded the share to File Editor. Accepting an expired
invitation returns the actual reason, "token not valid", instead of
always claiming the token expired.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic
butonic force-pushed the bump-reva-wp4-batch4 branch from bcf9149 to a34dbf8 Compare November 19, 2026 12:16
@butonic
butonic merged commit 90e03ba into main Nov 19, 2026
62 checks passed
@butonic
butonic deleted the bump-reva-wp4-batch4 branch November 19, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants