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

DIS-395: Limit backups to 10 and move from os to pathlib #404

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

benjamin-wiffen
Copy link
Contributor

No description provided.


backup_dir = source_dir.parent / ".generated-archive"
backup_filename = f"{source_dir.name}_{clean_additional_filename_descriptor}_{current_datetime}.tgz"
backup_file = backup_dir / backup_filename
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup.

@al-jeyapal al-jeyapal merged commit b186d1d into develop Jan 8, 2024
10 checks passed
@al-jeyapal al-jeyapal deleted the feature/DIS-395-limit-backups branch January 8, 2024 00:11
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.

2 participants