nextcloud / nextcloud/recognize

Make temporary image cache configurable

Open
#1,144 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
699
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Describe the feature you'd like to request

The instructions speak of using /tmp for temporary files and in docker environment its advised to volume mount /tmp.

Would it be possible in addition to using /tmp, maybe use a (configurable) dedicated directory? /tmp/recognize? /var/cache/recognize? This way, we could volume mount the specific path that is needed instead of a broad directory that has much more users.

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 temporary image handling and the existing configuration entry points in the repository. Determine where the cache directory is selected and how its setting is documented; done means the image cache can use a dedicated configurable directory rather than only /tmp, with the relevant behavior covered by tests if existing tests are found.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.