Commit Graph
78 Commits
Author SHA1 Message Date
KKlochko 2874dc76ad Update the remove all backup plans command.
Refactor the commands names.
Add the service to remove all plans.
Add tests for remove all command.
2025-01-28 10:40:23 +02:00
KKlochko 76e555aefb Refactor the test steps to show stdout. 2025-01-27 12:29:14 +02:00
KKlochko c1268abc1d Add tests for CLI errors. 2025-01-27 12:27:43 +02:00
KKlochko 9729f442c2 Update the show all plans command to show if there're no plans. 2025-01-27 12:06:58 +02:00
KKlochko b999975695 Add the tests for the read query. 2025-01-26 15:36:50 +02:00
KKlochko 476a0ef8cf Add the query exception and refactor get_by_id. 2025-01-26 15:35:41 +02:00
KKlochko d652469748 Update to refactor the delete action. 2025-01-26 14:45:33 +02:00
KKlochko cae4ce50c5 Update the repository to use exception for the delete action. 2025-01-26 14:28:56 +02:00
KKlochko 769edabbd3 Add the exceptions and helpers. 2025-01-26 14:27:46 +02:00
KKlochko a4a0f32f52 Add the service's test for deleting. 2025-01-25 21:45:35 +02:00
KKlochko 5e606b0e83 Update to step to test the result of CLI execution. 2025-01-25 21:43:27 +02:00
KKlochko add3c3d59e Add test for the plan remove command. 2025-01-24 21:37:05 +02:00
KKlochko 2d1870535f Add the fixture and steps for seeds. 2025-01-24 21:36:43 +02:00
KKlochko 7094a0d866 Add the support helpers to use fake data for tests. 2025-01-24 21:32:40 +02:00
KKlochko 18eb9b4d91 Add the E2E tests for the CLI interface. 2025-01-23 19:45:14 +02:00
KKlochko 6b247fbe4e Add the TestingConfiguration to simplify the testing configuration. 2025-01-22 14:52:06 +02:00
KKlochko ecb495a22a Add the replace command to update all data about a backup plan. 2025-01-21 21:57:54 +02:00
KKlochko f9b49c69bd Update the repository and service to implement the update action. 2025-01-21 21:56:53 +02:00
KKlochko bc22e8a8bd Add command to remove backup plan's destinations. 2025-01-21 21:55:58 +02:00
KKlochko b32e5d32b0 Add the restore command. 2025-01-17 20:49:28 +02:00
KKlochko 87682a056f Add the sync command. 2025-01-16 21:53:15 +02:00
KKlochko 359dcdfca6 Add the backup sync service. 2025-01-16 21:52:23 +02:00
KKlochko 192f930f8a Update the structure of the backup component. 2025-01-16 21:50:59 +02:00
KKlochko f708cdf3d4 Add the backup commands to sync the data. 2025-01-15 21:08:16 +02:00
KKlochko 70f60ff715 Update the configuration to use queries and commands. 2025-01-11 17:52:06 +02:00
KKlochko a0846b93a1 Add the injector and configurations. 2025-01-11 17:38:35 +02:00
KKlochko eb01a26713 Fix a typo. 2025-01-11 17:27:45 +02:00
KKlochko ca350eef80 Update the email information. 2025-01-11 17:26:53 +02:00
KKlochko f3915d93a9 Add the configuration to get user data. 2025-01-10 21:58:35 +02:00
KKlochko ea0cc3dab0 Add the remove commands.
Fixed deleting to remove destinations with a backup plan.
2025-01-09 21:55:54 +02:00
KKlochko ea5d98490d Add the show commands for backup plans. 2025-01-08 15:37:58 +02:00
KKlochko b9564d75e7 Add the query to get all backup plans. 2025-01-08 15:36:38 +02:00
KKlochko 027fee47a6 Add the CLI command to add a backup plan. 2025-01-08 15:25:34 +02:00
KKlochko 4bfdcf066b Add the application service for backup plans. 2025-01-08 14:34:28 +02:00
KKlochko c8d2b84cfc Update the test to test models in a memory database.
Add fixtures in the environment.
2025-01-07 22:04:48 +02:00
KKlochko 0abefda95a Add the repository for the backup plan.
Only add, get_by_id and delete are implemented.
2025-01-07 21:58:35 +02:00
KKlochko 72f650fd64 Add the DTOs to convert the entities to theorm models. 2025-01-07 21:52:06 +02:00
KKlochko b10726796d Update to simplify the connection management. 2025-01-07 21:50:22 +02:00
KKlochko ccede52883 Update the models names and id types to uuids. 2025-01-07 21:49:16 +02:00
KKlochko 690cc7de9c Add the ORM. 2025-01-06 22:05:19 +02:00
KKlochko 2834ad8bee Update the README. 2025-01-05 19:30:39 +02:00
KKlochko f3c600bb8f Update the test to verify creating the backup plan. 2025-01-05 19:29:53 +02:00
KKlochko 594d9dea3f Update the Source to BackupPlan component and shared. 2025-01-05 19:27:24 +02:00
KKlochko 7f9a29190a Add the behave for testing. 2023-11-04 22:48:04 +02:00
KKlochko 64fa91bbc1 Update the CI/CD configuration to deploy only for the tag events. 2023-11-04 22:42:47 +02:00
KKlochko f2e70ccc85 Add the show all option for Group. 2023-07-01 11:34:58 +03:00
KKlochko 21fde3deb0 Add the show all option for Source. 2023-06-26 18:11:14 +03:00
KKlochko 8fe226b282 Add the show one option for Group. 2023-06-25 18:08:01 +03:00
KKlochko 8958e328e8 Add the show format for the Group. 2023-06-25 18:04:00 +03:00
KKlochko fceb22396a Add the prefix for Source's show_format. 2023-06-25 18:02:46 +03:00
KKlochko f4566fc6b5 Add the show one option for source. 2023-06-24 17:31:05 +03:00
KKlochko e8773c72b1 Add the show format for the Source. 2023-06-24 17:29:09 +03:00
KKlochko 18e1de7484 Add update source option for source. 2023-06-23 19:14:43 +03:00
KKlochko 3c393509eb Add the method to update a source path. 2023-06-23 19:12:51 +03:00
KKlochko be45f04af7 Add the method to add destionation to a source. 2023-06-23 19:09:45 +03:00
KKlochko b42b1e6d53 Update the CI/CD configuration to deploy only from the main branch. 2023-06-23 19:08:46 +03:00
KKlochko 60cc44c488 (Added) badge for pypi version of the package. 2023-04-01 12:13:04 +03:00
KKlochko 37319ca64c (Added) update label option for groups.
Added Drone CI/CD pipeline config.
2023-04-01 11:32:26 +03:00
KKlochko 9a40962408 (Added) update labels option for groups. 2023-03-25 17:29:58 +02:00
KKlochko 5fd1ac1277 (Updated) groups source creation. 2023-03-25 17:03:47 +02:00
KKlochko 204898d34f (Added) better label prompt for choosing labels. 2023-03-25 16:29:42 +02:00
KKlochko cb5b4fae29 (Added) update label option for source. 2023-03-24 21:42:00 +02:00
KKlochko cf88cdbc9f (Added) remove all option for groups. 2023-03-23 16:59:42 +02:00
KKlochko a1bcf572e1 (Added) remove all option for sources. 2023-03-22 15:54:02 +02:00
KKlochko 363b0b00d0 (Added) remove option for groups.
Moved groups logic to .cli.groups.
2023-03-21 15:24:24 +02:00
KKlochko 88d7a46f66 (Added) remove option for source.
Moved source logic to .cli.source.
2023-03-19 14:33:17 +02:00
KKlochko a9215fee31 (Fixed) a mistake about bug link. 2023-03-18 10:00:22 +02:00
KKlochko 02434be628 (Made) the package executable.
Updated the package information.
2023-03-18 09:57:10 +02:00
KKlochko 1dce152bbe (Added) the configuration to the application.
Moved database file to the user data directory.
2023-03-17 16:55:49 +02:00
KKlochko 353d1ec478 (Added) the dry-run flag to the sync one function. 2023-03-12 14:39:48 +02:00
KKlochko e440cc24ac (Added) path checking function. 2023-03-09 17:29:00 +02:00
KKlochko bb9851057f (Added) sync group function. 2023-03-05 18:26:59 +02:00
KKlochko e9e4162cac (Added) sync recover function.
Fixed label_prompt returning list.
2023-03-04 12:37:11 +02:00
KKlochko fc3daff6cf (Added) groups add function. 2023-03-03 19:23:30 +02:00
KKlochko c063b5a82c (Added) source update args function. 2023-03-02 17:22:14 +02:00
KKlochko b99f2a0ffa (Added) sync all function.
Added all_labels_except for choosing many labels.
Added fzf function for using all_labels_except.
2023-03-01 20:53:39 +02:00
KKlochko 467989bbd5 (Added) sync one function.
Added Rsync wrappper.
Added fzf_prompt, all_labels for choosing a label of source.
2023-02-27 16:21:10 +02:00
KKlochko b9d8131c3b First release
Added source add function.
2023-02-26 14:14:40 +02:00