nextcloud / nextcloud/files_retention

Allow remove files that are NOT tagged with specific tag

Open
#1,029 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
JavaScript
Stars
42
Forks
24
Avg merge
2d 19h
Merged PRs (30d)
42

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: 32.0.5

Is your feature request related to a problem? Please describe.

I've would like to use nextcloud for sharing temporary data with external teams which should be automatically removed after some time, unless tagged "do not remove". Current logic requires the opposite - to remove data, it has to be tagged.

Describe the solution you'd like

Allow to specify "files which has not tag XYZ" to remove after some time

Describe alternatives you've considered

I tried to create invisible tags "to keep" and "to expire" with automated tagging feature. But this feature/flow works only on "when file changes", but doesnt work when only file is tagged or untagged anytime...

Additional context

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 from the retention rule and tag-matching entry points in this JavaScript app; the payload does not name specific files or tests. Trace how tagged files are selected for removal and how automated tagging handles tag changes. Done means a rule can remove files lacking a specified tag while preserving files that have it, including when tags change without a file change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.