Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clean generated files task #4607

Merged
merged 6 commits into from
Feb 23, 2024

Conversation

WithoutPants
Copy link
Collaborator

Adds a Clean generated files task, available in the Maintenance section of the tasks page.

image

image

Deletes (or logs for a dry run) generated files for which there is no corresponding database entry. In most cases, this task should be unnecessary, but there's certain circumstances that might require it (see #4177).

@WithoutPants WithoutPants added the feature Pull requests that add a new feature label Feb 21, 2024
@WithoutPants WithoutPants added this to the Version 0.25.0 milestone Feb 21, 2024
@Maista6969
Copy link
Sponsor Contributor

Tested this against my main database (with a dry run first) and it worked flawlessly: cleaned out a bunch of files I hadn't even realized were left over from scene merges

@WithoutPants WithoutPants merged commit ba1ebba into stashapp:develop Feb 23, 2024
2 checks passed
halkeye pushed a commit to halkeye/stash that referenced this pull request Sep 1, 2024
* Add clean generate task
* Add to library tasks
* Save and read defaults
* Stop handling and logging
* Make filename parsing more robust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Clean up of stale blobs for early adopters of blob changes
2 participants