232 Commits

Author SHA1 Message Date
Eric Torres
c8662387b6 Fix uninitialized repo variable 2019-04-17 19:01:38 -07:00
Eric Torres
1d7b10454c If rsync process fails, exit by its return code 2019-04-17 19:00:47 -07:00
Eric Torres
677a4943e2 Bump version to 0.5 2019-04-17 18:50:09 -07:00
Eric Torres
b5984da8bf Add basic logic for updating symlink after snapshot removal 2019-04-17 18:49:33 -07:00
Eric Torres
31a66fb438 Implement snapshot deletion 2019-04-17 12:22:54 -07:00
Eric Torres
5d6a1e1f7d Implement deletion 2019-04-17 12:18:52 -07:00
Eric Torres
1b69d6aab4 Organize imports 2019-04-17 11:54:20 -07:00
Eric Torres
dbb5c0fa8b Make use of patch.stopall() 2019-04-17 11:53:05 -07:00
Eric Torres
3bbd2b2793 Ensure snapshot is deleted from metadata as well 2019-04-17 11:50:56 -07:00
Eric Torres
22395bf00e Remove duplicated module-level constants 2019-04-17 10:06:09 -07:00
Eric Torres
85e19952bd Move all snapshot attribute code to _gen_metadata 2019-04-17 10:04:30 -07:00
Eric Torres
8c1774e9fe Skip correct tests 2019-04-17 10:03:07 -07:00
Eric Torres
4640f7a98f Add cleanup tests for Hierarchy 2019-04-17 10:02:51 -07:00
Eric Torres
920ad8b68f Implement direct str for Hierarchy object 2019-04-17 10:02:29 -07:00
Eric Torres
2393511b11 Implement __delitem__ 2019-04-17 10:02:09 -07:00
Eric Torres
6b65e831a3 Rename _gen_metadata and cleanup code 2019-04-17 10:01:55 -07:00
Eric Torres
17db66a85e Make path upon instantiation 2019-04-17 10:00:54 -07:00
Eric Torres
4d81405400 Add ctime attribute and test 2019-04-17 09:59:17 -07:00
Eric Torres
f55b5ba8af Make use of patch.multiple to clean up mocks 2019-04-16 22:54:45 -07:00
Eric Torres
c410f4c115 Implement __str__ 2019-04-16 22:11:18 -07:00
Eric Torres
93b55cda9b Account for permission errors 2019-04-16 21:38:18 -07:00
Eric Torres
43d4a07d26 Change test repository directory 2019-04-16 17:14:46 -07:00
Eric Torres
e7a8719dc9 Minor mock cleanups 2019-04-16 17:14:27 -07:00
Eric Torres
529a3b830d Add snapshot_symlink property 2019-04-16 17:13:29 -07:00
Eric Torres
ae08caa6be Use context manager for switching umask 2019-04-16 17:12:06 -07:00
Eric Torres
2587619009 Add comments to snapshot-manager script 2019-04-16 14:27:29 -07:00
Eric Torres
39ca6de46e Add symlinking functionality in create_snapshot 2019-04-16 13:49:23 -07:00
Eric Torres
5022fef5bf Patch out symlinking 2019-04-16 13:48:20 -07:00
Eric Torres
b4b2fc99d7 Docstring updates 2019-04-15 23:53:21 -07:00
Eric Torres
2d050eaaf9 Check for presence of lockfile value before proceeding with context manager 2019-04-15 23:51:00 -07:00
Eric Torres
4523d0c79d Make attributes None if not provided 2019-04-15 23:50:41 -07:00
Eric Torres
a465324cba Docstring updates 2019-04-15 23:49:19 -07:00
Eric Torres
5c93ca1115 Revert "Ignore doc directory"
This reverts commit d79db0d9d3368cb823476bc2a0242111dc9d621e.
2019-04-15 23:40:10 -07:00
Eric Torres
d79db0d9d3 Ignore doc directory 2019-04-15 23:34:04 -07:00
Eric Torres
6f0930584d Untrack documentation 2019-04-15 23:33:54 -07:00
Eric Torres
a5270d7c37 Rename rbackup.plugins package in build script 2019-04-15 23:32:57 -07:00
Eric Torres
560ddcdacf Code cleanup 2019-04-15 23:32:02 -07:00
Eric Torres
a42901cde6 Add NotImplementedError exceptions for unimpemented operations 2019-04-15 23:31:49 -07:00
Eric Torres
97c3f63f54 Docstring cleanups 2019-04-15 23:30:20 -07:00
Eric Torres
b21dbd8890 Add lockfile attribute 2019-04-15 23:29:26 -07:00
Eric Torres
f2bf042549 Cleanup mocks 2019-04-15 23:27:29 -07:00
Eric Torres
beb78acd55 Update documentation 2019-04-15 23:26:58 -07:00
Eric Torres
ef639ed6f1 Add snapshot management script 2019-04-15 23:26:44 -07:00
Eric Torres
d3f33e4d8d Add comment for list formatting 2019-04-15 10:52:16 -07:00
Eric Torres
46f15e2e82 Rename package_managers package to plugins 2019-04-15 10:42:28 -07:00
Eric Torres
28a09cf4e4 Bump version to 0.4.1 2019-04-14 22:39:44 -07:00
Eric Torres
dee233b25a Change umask to 0000 when running backup 2019-04-14 22:35:59 -07:00
Eric Torres
9b8760346e Bump version to 0.4 2019-04-14 22:19:45 -07:00
Eric Torres
2af39dd480 Add documentation 2019-04-14 22:19:34 -07:00
Eric Torres
a2fb169303 Use fallback option 2019-04-14 22:18:55 -07:00