142 Commits

Author SHA1 Message Date
Eric Torres
f20f77836f Explain what happens to snapshot_symlink when snapshot is deleted 2019-04-22 10:43:26 -07:00
Eric Torres
3f8c3b5ae9 Move config module to config/config_files 2019-04-19 23:57:13 -07:00
Eric Torres
991d0977aa Move project config files out of rbackup package 2019-04-19 09:45:49 -07:00
Eric Torres
d6d77690fc Add comment explaining colon erasure on datetime 2019-04-19 07:49:14 -07:00
Eric Torres
194dc7a0ff Delete rbackup.plugins.pacman module 2019-04-19 07:48:48 -07:00
Eric Torres
73246c3ccc Revert regex string 2019-04-18 22:06:10 -07:00
Eric Torres
afef3ee711 Log at the exception level, not at the library level for rsync 2019-04-18 21:46:33 -07:00
Eric Torres
3fb3cbede8 Update fallback option and ensure list is returned 2019-04-18 21:44:38 -07:00
Eric Torres
d6ecc6bbc3 Run black code formatter 2019-04-17 20:23:53 -07:00
Eric Torres
a7d30cf91d Use try..finally blocks to ensure calls within context manager 2019-04-17 20:22:28 -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
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
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
c410f4c115 Implement __str__ 2019-04-16 22:11:18 -07:00
Eric Torres
529a3b830d Add snapshot_symlink property 2019-04-16 17:13:29 -07:00
Eric Torres
39ca6de46e Add symlinking functionality in create_snapshot 2019-04-16 13:49:23 -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
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
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
077df3cd17 Add [main] section 2019-04-14 22:16:57 -07:00
Eric Torres
1cc53f1178 Add function for parsing a list from a config option 2019-04-14 22:15:58 -07:00
Eric Torres
0df6eafeaf Add function for parsing a list from a config option 2019-04-14 22:11:07 -07:00
Eric Torres
c51f8e3402 Add default rsync options list 2019-04-14 22:09:48 -07:00
Eric Torres
2b464b45f7 Update docstring 2019-04-14 22:09:06 -07:00
Eric Torres
83217f6205 Update docstrings 2019-04-14 21:11:18 -07:00
Eric Torres
b9abafc76a Remove doctest code 2019-04-14 21:09:53 -07:00
Eric Torres
9372f158c2 Docstring changes 2019-04-14 21:01:18 -07:00
Eric Torres
200962ac29 Rearrange code and add method for symlinking snapshots 2019-04-14 21:00:30 -07:00
Eric Torres
386b200e9d Docstring cleanups for documentation 2019-04-14 14:56:09 -07:00
Eric Torres
53c7f4c7fb Implement Repository.gen_metadata() 2019-04-14 12:28:52 -07:00
Eric Torres
7bff0f806c Don't calculate private attributes each time the Hierarchy's properties
are called
2019-04-14 09:29:31 -07:00
Eric Torres
147d29a633 Include /root in default paths 2019-04-14 08:45:42 -07:00
Eric Torres
fcef68008e Docstring cleanups 2019-04-14 08:45:28 -07:00
Eric Torres
fe799d867c Fix incorrect exception docstrings 2019-04-14 08:45:17 -07:00
Eric Torres
2f94b6821c General cleanup 2019-04-12 13:32:28 -07:00
Eric Torres
53b4fb69b3 Doctest cleanup 2019-04-12 12:31:08 -07:00