WeblateOrg / WeblateOrg/weblate
Add a housekeeping function to purge old history
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 1.4k
- Avg merge
- 9h 53m
- Merged PRs (30d)
- 395
Description
### Describe the problem
As asked and answered in discussion #13324, there is right now no command/function to clear up old history.

In this example Weblate shows close to 40.000 pages of history, most of which are obsolete, since they date back several years.
### Describe the solution you would like
I would like to be able to define a time span (xxx days/weeks/months/years) after which older history entries will automatically be purged. Add a meaningful default (e.g. one year).
I'm not sure whether this should be configurable from the admin page via the web UI or only inside the installation folder, unreachable via the web UI. Something similar is already available for the notifications which are sent on behalf of inactive projects. I can't find a UI page for it, so it is probably done on the installation configuration level.
### Describe alternatives you have considered
_No response_
### Screenshots
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.