Skip to content

feat(cli): add shares move-stuck-upload-blobs command - #4081

Open
dragonchaser wants to merge 2 commits into
opencloud-eu:mainfrom
dragonchaser:backport-wp3-783
Open

dragonchaser wants to merge 2 commits into
opencloud-eu:mainfrom
dragonchaser:backport-wp3-783

Conversation

@dragonchaser

Copy link
Copy Markdown
Member

Adds opencloud shares move-stuck-upload-blobs, which moves share-manager received.json blobs stuck in the system storage's uploads/ back into place (dry run unless --dry-run=false, base dir ~/.opencloud or --opencloud-home, default user.oc. metadata prefix only).

AI assistance: Claude Code (claude-opus-5-5) ported the commits to the cobra CLI and tested the command on a sample metadata tree.

@codacy-production

codacy-production Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 37 complexity

Metric Results
Complexity 37

View in Codacy

🟢 Coverage 0.00% diff coverage · -0.05% coverage variation

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

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (2dc0668) 94300 28339 30.05%
Head commit (66806ad) 94438 (+138) 28329 (-10) 30.00% (-0.05%)

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 (#4081) 143 0 0.00%

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.

@dragonchaser dragonchaser added the Type:Maintenance E.g. technical debt, packaging, etc. label Nov 20, 2026
@dragonchaser
dragonchaser marked this pull request as ready for review November 20, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants