nextcloud / nextcloud/groupfolders

Support generate-metadata functionality with groupfolders:scan

Open
#3,035 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Unlike the files in the user folder, we can't generate the files' metadata in the group folder. This functionality will be helpful in the Nextcloud restore scenario.

Describe alternatives you've considered
Move the files to the user folder, run the sudo -u www-data php ./occ groupfolders:scan --all --generate-metadata to restore the metadata and move them back to the group folder.

Additional context
NA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of the groupfolders:scan command and trace how its --generate-metadata option handles user-folder files. Determine how the same behavior should apply to group folders, then verify that running the command generates metadata for group-folder files so they can be restored without moving them.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.