nextcloud / nextcloud/previewgenerator

Limit 'preview:pre-generate' to specific paths or users

Open
#422 6 comments 0 reactions 0 assignees View on GitHub

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

I can specify --path= for the initial generate-all command. However, when I do preview:pre-generate, it scans all images. I attempted to add --path= but it states that the --path options does not exist.

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 at the preview:pre-generate command and compare its option handling with the initial generate-all command, which accepts --path=. Confirm how preview generation currently scans images. Done means the command can limit work to specified paths or users and no longer rejects the requested filtering option.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.