nextcloud / nextcloud/sharelisting
Generating SQL statements from the listing
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 19
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to generate SQL statements for inserting the shares in another nextcloud DB?
Background: We're consolidating a few nc instances into one (or two). Migrating users/groups/files is no problem because of user:add and group:add and files:scan. But there is no share:add. Me thinks this could be extended to set shares from the commandline.
Any thoughts?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are identified in the issue. Start by examining the repository's share-listing entry point and how shares are represented, then define the SQL output needed for migration; done means the command can generate usable insert statements for shares in another Nextcloud database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- cli, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100