303 Commits

Author SHA1 Message Date
Eric Torres
4236005541 Remove all attributes except those inherited from Hierarchy 2019-03-28 12:08:06 -07:00
Eric Torres
0ccb6764cd Throw TypeError on invalid destination, add _metadata_path attribute 2019-03-28 12:07:31 -07:00
Eric Torres
aea24e2b6e Move tests package to rbackup.tests 2019-03-27 22:06:46 -07:00
Eric Torres
46aa2c44eb Cleanup tests and use class decorators in tests.test_repository 2019-03-20 00:23:25 -07:00
Eric Torres
6fbf6a34de Add snapshot_dir attribute to Repository 2019-03-20 00:22:48 -07:00
Eric Torres
ccccdb6b77 Allow for means of iteration through Snapshots in a Repository 2019-03-18 10:36:30 -07:00
Eric Torres
6d4bc32c4e Minor update to docstring 2019-03-18 06:35:04 -07:00
Eric Torres
a2f8646787 Remove redundant unit tests already covered in doctests 2019-03-18 06:31:52 -07:00
Eric Torres
66ce230f40 Add pkg_dir attribute, clean up code, and update respective tests 2019-03-18 05:29:35 -07:00
Eric Torres
d8eb9837af Version 3 of working prototype backup script 2019-03-17 19:16:21 -07:00
Eric Torres
ab3eed008c Prototype 2 for backup script 2019-03-17 19:05:26 -07:00
Eric Torres
68e063b3e2 Update gitignore 2019-03-17 18:39:26 -07:00
Eric Torres
b48f199afc Fix broken options passing to rsync 2019-03-17 18:38:12 -07:00
Eric Torres
29664c2797 Add logging info when raising exception for failed rsync process 2019-03-17 18:37:45 -07:00
Eric Torres
59e31016a8 Early prototype of backup script 2019-03-17 18:27:20 -07:00
Eric Torres
ed9b88a1ef Update README type in setup.py 2019-03-17 18:27:03 -07:00
Eric Torres
920acd26d8 Run flake8 linter and refactor accordingly 2019-03-17 18:23:21 -07:00
Eric Torres
30cb9e03a4 Utilize pathlib over os.path for internal path handling 2019-03-17 18:22:30 -07:00
Eric Torres
eab5bb108c Add logging support for rsync module 2019-03-17 09:38:32 -07:00
Eric Torres
8e30de699a Update README with advanced features 2019-03-17 09:37:40 -07:00
Eric Torres
9d226cb78d Minor install command cleanups 2019-03-17 09:37:06 -07:00
Eric Torres
1ee3d10f3e Add logging support for Repository class 2019-03-17 09:35:04 -07:00
Eric Torres
c527367d76 Update docstrings for hierarchy module 2019-03-17 09:34:51 -07:00
Eric Torres
f70a4c96a1 Initialize all properties of Snapshot object in __init__ 2019-03-17 09:34:01 -07:00
Eric Torres
6daab95f5f Minor docstring revision 2019-03-16 07:52:15 -07:00
Eric Torres
7d7b7d095c Update gitignore 2019-03-16 07:46:40 -07:00
Eric Torres
41c194faad Split test_hierarchy into 3 modules and make tests a package 2019-03-16 07:46:03 -07:00
Eric Torres
50f042b2b0 Update docstrings and add doctests 2019-03-16 07:44:28 -07:00
Eric Torres
71f725981c Remove prev_snapshot attribute and update docstrings 2019-03-15 11:40:09 -07:00
Eric Torres
16adea1a58 Split hierarchy module into its own package 2019-03-15 07:40:26 -07:00
Eric Torres
c7d465404f Run black code formatter on all source code files 2019-03-14 09:04:51 -07:00
Eric Torres
ce4a5e84e0 Add logging code and a few extra command-line flags 2019-03-13 20:43:12 -07:00
Eric Torres
f1f773bf95 Update README 2019-03-13 20:41:40 -07:00
Eric Torres
bebeb63b25 Add unit tests for all classes in rbackup.hierarchy 2019-03-13 20:38:22 -07:00
Eric Torres
afe0782187 Code and docstring cleanup 2019-03-13 20:37:49 -07:00
Eric Torres
6a8dcf1ce8 Separate Hierarchy class into Repository and Snapshot subclasses 2019-03-13 14:26:37 -07:00
Eric Torres
5b27f5c3d6 Add some unit tests for hierarchy module 2019-03-13 03:13:32 -07:00
Eric Torres
a6a670f77f Hierarchy: remove snapshot_dir attribute and add boot_dir attribute 2019-03-13 03:11:47 -07:00
Eric Torres
f23fefa4f7 Add commands to run unit tests in PKGBUILD 2019-03-13 02:45:55 -07:00
Eric Torres
cf04e3ff8a Clean up config files 2019-03-13 02:43:45 -07:00
Eric Torres
e75b73fa7d Add list of targeted paths in README 2019-03-13 02:43:28 -07:00
Eric Torres
05f509ed28 Install documentation in PKGBUILD package() step 2019-03-13 02:38:15 -07:00
Eric Torres
e65170ab57 Add package_managers package 2019-03-13 02:30:13 -07:00
Eric Torres
49655c9641 Add config folder for /etc files to rbackup project 2019-03-13 02:29:30 -07:00
Eric Torres
b09be02fab General code cleanup for hierarchy module 2019-03-13 02:29:10 -07:00
Eric Torres
827f5f0913 Add basic install commands to PKGBUILD and set version 2019-03-13 02:28:15 -07:00
Eric Torres
c9fcfcaa8a Update README 2019-03-13 02:19:33 -07:00
Eric Torres
5625987241 Basic framework for main backup script 2019-03-13 02:19:20 -07:00
Eric Torres
dde0609f3d Add gitignore 2019-03-13 01:57:44 -07:00
Eric Torres
4393e282ab Remove date module, as it has been merged into hierarchy 2019-03-13 01:55:49 -07:00