Commit Graph

180 Commits

Author SHA1 Message Date
43ccda7ae9 Create the Pacman class using a tuple instead of a list 2019-03-31 21:37:23 -07:00
123eed83b5 Cleanup formatting 2019-03-31 11:22:53 -07:00
c713cc25d7 Do not ship test suite with actual project 2019-03-31 11:21:00 -07:00
88faa9e953 Add pacman module 2019-03-31 11:17:57 -07:00
4e840f675e Run black code formatter and flake8 2019-03-31 11:17:40 -07:00
77b810b5a6 Update PackageManager method names 2019-03-31 11:16:56 -07:00
054f7a8a8e Implement and test PackageManager.gen_db_archive() 2019-03-31 11:15:46 -07:00
57f484f0dd Initial implementation and tests for packagemanager module 2019-03-31 09:57:19 -07:00
dd4f55c1fe Update docstring examples 2019-03-30 22:42:44 -07:00
cfe4920df3 Log metadata read/write operations 2019-03-30 22:42:11 -07:00
edee5b4201 Minor correction to docstring 2019-03-30 16:49:47 -07:00
e41089010f Remove unused imports 2019-03-30 14:31:37 -07:00
50c7d92f2a Raise ValueError when snapshot name contains a '/' 2019-03-30 14:24:58 -07:00
41599058fe Add gen_snapshot_path() and add appropriate test 2019-03-30 14:15:09 -07:00
5cca10a12b Move metadata handling to the Hierarchy class 2019-03-30 14:14:22 -07:00
874f94c5fc Update tests for the new metadata scheme 2019-03-29 15:38:37 -07:00
bf7416a42f Add metadata_path attribute 2019-03-29 15:28:09 -07:00
da1accf609 Minor format change 2019-03-29 15:26:35 -07:00
fde99f6604 Add metadata handling capabilities and adjust attributes accordingly 2019-03-29 15:25:52 -07:00
0254a2fa2e Revert "Add unimplemented test case"
This reverts commit c132d1c9d8.
2019-03-28 12:30:05 -07:00
32b5ffec1a Revert "Remove all attributes except those inherited from Hierarchy"
This reverts commit 4236005541.
2019-03-28 12:29:18 -07:00
a3fca71d21 Use copies of passed lists in tests 2019-03-28 12:22:04 -07:00
2c16fe793a Rename current_snapshot attribute, return it on creation, use pickle 2019-03-28 12:12:35 -07:00
e2ed27cbe4 Ignore basedir and .hypothesis 2019-03-28 12:12:12 -07:00
bc6f6bc503 Test for a wide range of snapshot scenarios 2019-03-28 12:11:52 -07:00
c132d1c9d8 Add unimplemented test case 2019-03-28 12:11:23 -07:00
b57b82c383 Test Hierarchy object creation across a wide range of input types 2019-03-28 12:09:09 -07:00
4236005541 Remove all attributes except those inherited from Hierarchy 2019-03-28 12:08:06 -07:00
0ccb6764cd Throw TypeError on invalid destination, add _metadata_path attribute 2019-03-28 12:07:31 -07:00
aea24e2b6e Move tests package to rbackup.tests 2019-03-27 22:06:46 -07:00
46aa2c44eb Cleanup tests and use class decorators in tests.test_repository 2019-03-20 00:23:25 -07:00
6fbf6a34de Add snapshot_dir attribute to Repository 2019-03-20 00:22:48 -07:00
ccccdb6b77 Allow for means of iteration through Snapshots in a Repository 2019-03-18 10:36:30 -07:00
6d4bc32c4e Minor update to docstring 2019-03-18 06:35:04 -07:00
a2f8646787 Remove redundant unit tests already covered in doctests 2019-03-18 06:31:52 -07:00
66ce230f40 Add pkg_dir attribute, clean up code, and update respective tests 2019-03-18 05:29:35 -07:00
d8eb9837af Version 3 of working prototype backup script 2019-03-17 19:16:21 -07:00
ab3eed008c Prototype 2 for backup script 2019-03-17 19:05:26 -07:00
68e063b3e2 Update gitignore 2019-03-17 18:39:26 -07:00
b48f199afc Fix broken options passing to rsync 2019-03-17 18:38:12 -07:00
29664c2797 Add logging info when raising exception for failed rsync process 2019-03-17 18:37:45 -07:00
59e31016a8 Early prototype of backup script 2019-03-17 18:27:20 -07:00
ed9b88a1ef Update README type in setup.py 2019-03-17 18:27:03 -07:00
920acd26d8 Run flake8 linter and refactor accordingly 2019-03-17 18:23:21 -07:00
30cb9e03a4 Utilize pathlib over os.path for internal path handling 2019-03-17 18:22:30 -07:00
eab5bb108c Add logging support for rsync module 2019-03-17 09:38:32 -07:00
8e30de699a Update README with advanced features 2019-03-17 09:37:40 -07:00
9d226cb78d Minor install command cleanups 2019-03-17 09:37:06 -07:00
1ee3d10f3e Add logging support for Repository class 2019-03-17 09:35:04 -07:00
c527367d76 Update docstrings for hierarchy module 2019-03-17 09:34:51 -07:00