nextcloud / nextcloud/previewgenerator
Feature Request: also watch postScanFile
Open
Nobody has claimed this yet.
1. to develop
enhancement
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Currently only files uploaded via NextCloud/OwnCloud itself are being watched. If an external storage is scanned via occ scan this seem to to trigger the postWrite hook but the hook postScanFile and therefore is not observed by the previewgenerator.
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
Start by locating the previewgenerator handling for the postWrite hook and the Nextcloud postScanFile hook. Confirm how an external-storage occ scan is reported, then make scanned files trigger preview generation like uploaded files and verify that behavior with the relevant tests or a scan-based reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100