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 --type flag to backup-info command. #5

Merged
merged 25 commits into from
Jan 23, 2024
Merged

Add --type flag to backup-info command. #5

merged 25 commits into from
Jan 23, 2024

Conversation

woblerr
Copy link
Owner

@woblerr woblerr commented Jan 22, 2024

This flag allows to filter the output of the backup-info command. Sometimes it is useful to display only backups of a specific type.

woblerr added 24 commits January 4, 2024 00:07
Set all flag names as general constants. Remove in  report-info, backup-info and root commands specific  variables for flag names and switch to use general.
Remove specific variables for flag names and switch to use general.

Refactoring for returning errors. Now the functions throw errors up, checking with which code to terminate the program occurs one time.

Prepare all functions in backup-delete command te execute from backup-clean command.
Also some refactoring for functions for work with sqlite  history db.
The functions for the backup-delete command have been refactored so that they can be reused in the backup-clean command.
And update necessary code and tests.
Update error text.
Add tests.
Vendoring.
Switch to use checkBackupCanBeUsed func.
Update short description for other commands.
Also use cache on compose run for building test image.
This flag allows to filter the output of the backup-info command. Sometimes it is useful to display only backups of a specific type.
@woblerr woblerr added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 22, 2024
@woblerr woblerr self-assigned this Jan 22, 2024
@woblerr woblerr merged commit c0d4427 into master Jan 23, 2024
6 checks passed
@woblerr woblerr deleted the info_backup-type branch January 23, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant