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

#12 add cleanup routine for old archives #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

5c077yP
Copy link

@5c077yP 5c077yP commented Oct 13, 2015

This PR is related to the issue #12

With this PR I want to add a cleanup for old archives. Every time the archive method is called to archive the current data into an archive file we could also check for outdated files. I tried to use the internal log_db_historic_contents, which returns archives (as the docstring says), but i couldn't really get them.

unfortunately now the logic how the archives are named is split into several places, if you see that as a possible error, i would update this pr and add a central function that returns archive names ... but for now i just did not want to change too much.

@5c077yP
Copy link
Author

5c077yP commented Oct 14, 2015

anyone knows why the test don't work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant