nextcloud / nextcloud/previewgenerator
Updating preview database
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Question
Is there a way to update preview database to old files or new settings? What is the best method for this task?
One example
- Previews are generated for
widthSizes"128". widthSizesis changed to"128 256".- Missing preview files should be generated.
Another example
previewgeneratoris missing in the installation.- A few images are uploaded.
previewgeneratoris installed and enabled.- Missing preview files should be generated.
Background
The momentary application is the inclusion of the previewgenerator for NextCloudPi, cf. nextcloud/NextCloudPi#662.
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, tests, or entry points are named in the issue. Start by tracing how previewgenerator handles changed widthSizes and newly installed generators, then determine the intended way to generate missing preview files for both examples; done requires an agreed implementation and documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100