Commit Graph

  • 13c3526bfd Merge branch 'master' of https://github.com/etorres4/rbackup Eric Torres 2019-04-17 20:36:56 -07:00
  • a7949eed28 Update README Eric Torres 2019-04-17 20:33:09 -07:00
  • 9fc590f4c7 Update README Eric Torres 2019-04-17 20:33:09 -07:00
  • d6ecc6bbc3 Run black code formatter Eric Torres 2019-04-17 20:23:53 -07:00
  • 0b29f9eb30 Bump version to 0.5.2 Eric Torres 2019-04-17 20:22:51 -07:00
  • a7d30cf91d Use try..finally blocks to ensure calls within context manager Eric Torres 2019-04-17 20:22:28 -07:00
  • bbeebecd4f Bump version to 0.5.1 Eric Torres 2019-04-17 19:01:58 -07:00
  • c8662387b6 Fix uninitialized repo variable Eric Torres 2019-04-17 19:01:38 -07:00
  • 1d7b10454c If rsync process fails, exit by its return code Eric Torres 2019-04-17 19:00:47 -07:00
  • 677a4943e2 Bump version to 0.5 Eric Torres 2019-04-17 18:50:09 -07:00
  • b5984da8bf Add basic logic for updating symlink after snapshot removal Eric Torres 2019-04-17 18:49:33 -07:00
  • 31a66fb438 Implement snapshot deletion Eric Torres 2019-04-17 12:19:12 -07:00
  • 5d6a1e1f7d Implement deletion Eric Torres 2019-04-17 12:18:52 -07:00
  • 1b69d6aab4 Organize imports Eric Torres 2019-04-17 11:54:20 -07:00
  • dbb5c0fa8b Make use of patch.stopall() Eric Torres 2019-04-17 11:53:05 -07:00
  • 3bbd2b2793 Ensure snapshot is deleted from metadata as well Eric Torres 2019-04-17 11:50:56 -07:00
  • 22395bf00e Remove duplicated module-level constants Eric Torres 2019-04-17 10:06:09 -07:00
  • 85e19952bd Move all snapshot attribute code to _gen_metadata Eric Torres 2019-04-17 10:04:30 -07:00
  • 8c1774e9fe Skip correct tests Eric Torres 2019-04-17 10:03:07 -07:00
  • 4640f7a98f Add cleanup tests for Hierarchy Eric Torres 2019-04-17 10:02:51 -07:00
  • 920ad8b68f Implement direct str for Hierarchy object Eric Torres 2019-04-17 10:02:29 -07:00
  • 2393511b11 Implement __delitem__ Eric Torres 2019-04-17 10:02:09 -07:00
  • 6b65e831a3 Rename _gen_metadata and cleanup code Eric Torres 2019-04-17 10:01:55 -07:00
  • 17db66a85e Make path upon instantiation Eric Torres 2019-04-17 10:00:54 -07:00
  • 4d81405400 Add ctime attribute and test Eric Torres 2019-04-17 09:59:06 -07:00
  • f55b5ba8af Make use of patch.multiple to clean up mocks Eric Torres 2019-04-16 22:49:01 -07:00
  • c410f4c115 Implement __str__ Eric Torres 2019-04-16 21:45:45 -07:00
  • 93b55cda9b Account for permission errors Eric Torres 2019-04-16 21:28:17 -07:00
  • 43d4a07d26 Change test repository directory Eric Torres 2019-04-16 17:14:46 -07:00
  • e7a8719dc9 Minor mock cleanups Eric Torres 2019-04-16 17:14:27 -07:00
  • 529a3b830d Add snapshot_symlink property Eric Torres 2019-04-16 17:13:29 -07:00
  • ae08caa6be Use context manager for switching umask Eric Torres 2019-04-16 17:12:06 -07:00
  • 2587619009 Add comments to snapshot-manager script Eric Torres 2019-04-16 14:27:29 -07:00
  • 39ca6de46e Add symlinking functionality in create_snapshot Eric Torres 2019-04-16 13:48:52 -07:00
  • 5022fef5bf Patch out symlinking Eric Torres 2019-04-16 13:48:20 -07:00
  • b4b2fc99d7 Docstring updates Eric Torres 2019-04-15 23:53:21 -07:00
  • 2d050eaaf9 Check for presence of lockfile value before proceeding with context manager Eric Torres 2019-04-15 23:51:00 -07:00
  • 4523d0c79d Make attributes None if not provided Eric Torres 2019-04-15 23:50:41 -07:00
  • a465324cba Docstring updates Eric Torres 2019-04-15 23:48:47 -07:00
  • 5c93ca1115 Revert "Ignore doc directory" Eric Torres 2019-04-15 23:40:10 -07:00
  • d79db0d9d3 Ignore doc directory Eric Torres 2019-04-15 23:34:04 -07:00
  • 6f0930584d Untrack documentation Eric Torres 2019-04-15 23:33:54 -07:00
  • a5270d7c37 Rename rbackup.plugins package in build script Eric Torres 2019-04-15 23:32:57 -07:00
  • 560ddcdacf Code cleanup Eric Torres 2019-04-15 23:32:02 -07:00
  • a42901cde6 Add NotImplementedError exceptions for unimpemented operations Eric Torres 2019-04-15 23:31:49 -07:00
  • 97c3f63f54 Docstring cleanups Eric Torres 2019-04-15 23:30:20 -07:00
  • b21dbd8890 Add lockfile attribute Eric Torres 2019-04-15 23:29:26 -07:00
  • f2bf042549 Cleanup mocks Eric Torres 2019-04-15 23:27:29 -07:00
  • beb78acd55 Update documentation Eric Torres 2019-04-15 23:26:58 -07:00
  • ef639ed6f1 Add snapshot management script Eric Torres 2019-04-15 23:26:44 -07:00
  • d3f33e4d8d Add comment for list formatting Eric Torres 2019-04-15 10:52:16 -07:00
  • 46f15e2e82 Rename package_managers package to plugins Eric Torres 2019-04-15 10:40:06 -07:00
  • 28a09cf4e4 Bump version to 0.4.1 Eric Torres 2019-04-14 22:39:44 -07:00
  • dee233b25a Change umask to 0000 when running backup Eric Torres 2019-04-14 22:35:59 -07:00
  • 9b8760346e Bump version to 0.4 Eric Torres 2019-04-14 22:19:45 -07:00
  • 2af39dd480 Add documentation Eric Torres 2019-04-14 22:19:34 -07:00
  • a2fb169303 Use fallback option Eric Torres 2019-04-14 22:17:16 -07:00
  • 077df3cd17 Add [main] section Eric Torres 2019-04-14 22:16:57 -07:00
  • 1cc53f1178 Add function for parsing a list from a config option Eric Torres 2019-04-14 22:15:00 -07:00
  • 0df6eafeaf Add function for parsing a list from a config option Eric Torres 2019-04-14 22:11:07 -07:00
  • c51f8e3402 Add default rsync options list Eric Torres 2019-04-14 22:09:48 -07:00
  • 2b464b45f7 Update docstring Eric Torres 2019-04-14 22:09:06 -07:00
  • 8176d7a527 Move some options to library functions Eric Torres 2019-04-14 22:08:37 -07:00
  • 83217f6205 Update docstrings Eric Torres 2019-04-14 21:11:18 -07:00
  • b9abafc76a Remove doctest code Eric Torres 2019-04-14 21:09:53 -07:00
  • e8a7ec60ea Remove pytest config file Eric Torres 2019-04-14 21:05:03 -07:00
  • 121bf416f1 Make use of Repository.symlink_snapshot() Eric Torres 2019-04-14 21:01:29 -07:00
  • 9372f158c2 Docstring changes Eric Torres 2019-04-14 21:00:50 -07:00
  • 200962ac29 Rearrange code and add method for symlinking snapshots Eric Torres 2019-04-14 21:00:30 -07:00
  • 386b200e9d Docstring cleanups for documentation Eric Torres 2019-04-14 14:56:09 -07:00
  • 2155cc4b7a Add pytest dependency to README Eric Torres 2019-04-14 12:56:11 -07:00
  • c12436da28 Remove everything from doc Eric Torres 2019-04-14 12:55:01 -07:00
  • 14cb61311f Update tests Eric Torres 2019-04-14 12:40:10 -07:00
  • 53c7f4c7fb Implement Repository.gen_metadata() Eric Torres 2019-04-14 12:28:52 -07:00
  • 412a7f5667 Add tests for config module Eric Torres 2019-04-14 12:26:12 -07:00
  • 7bff0f806c Don't calculate private attributes each time the Hierarchy's properties are called Eric Torres 2019-04-14 09:28:41 -07:00
  • 147d29a633 Include /root in default paths Eric Torres 2019-04-14 08:45:42 -07:00
  • fcef68008e Docstring cleanups Eric Torres 2019-04-14 08:45:28 -07:00
  • fe799d867c Fix incorrect exception docstrings Eric Torres 2019-04-14 08:45:17 -07:00
  • 2f94b6821c General cleanup Eric Torres 2019-04-12 13:32:28 -07:00
  • 5dd315a447 Ignore PermissionError when creating symlink Eric Torres 2019-04-12 12:55:21 -07:00
  • 53b4fb69b3 Doctest cleanup Eric Torres 2019-04-12 12:31:08 -07:00
  • 47cf3fc7d8 Bump version to 0.3 Eric Torres 2019-04-12 12:04:16 -07:00
  • 7c183eec7d Update to-do Eric Torres 2019-04-12 12:03:46 -07:00
  • 49f5d0f276 Split configuration file handling into its own module Eric Torres 2019-04-12 12:03:16 -07:00
  • 792d641ff9 Fix escape sequence in docstring Eric Torres 2019-04-12 11:12:19 -07:00
  • 88e5aa56d4 Minor fixes to file paths and log messages Eric Torres 2019-04-12 10:48:08 -07:00
  • cebb418be5 Fix incorrect method call Eric Torres 2019-04-12 10:43:38 -07:00
  • dc31a77a2c Fix escape sequence in docstring Eric Torres 2019-04-12 10:39:00 -07:00
  • b561b2fa57 Add documentation directory Eric Torres 2019-04-12 10:32:04 -07:00
  • 7910a5f26f Bump to version 0.2 Eric Torres 2019-04-12 10:23:31 -07:00
  • 14204b1c58 General cleanup Eric Torres 2019-04-12 10:10:47 -07:00
  • 95289cbc68 Merge, filter, and sort file entries from multiple files Eric Torres 2019-04-12 10:04:18 -07:00
  • ef129cb288 Split etc-include and system-include config files Eric Torres 2019-04-12 09:59:02 -07:00
  • 9a7fd2fb83 Ignore PyCharm workspace settings Eric Torres 2019-04-12 08:13:40 -07:00
  • 7e8783bb1e PyCharm workspace settings update Eric Torres 2019-04-12 08:12:52 -07:00
  • 7e696df9c2 Backup script maintenance Eric Torres 2019-04-12 08:12:35 -07:00
  • 2a943ad32c Remove PKGBUILD from repo Eric Torres 2019-04-12 07:56:02 -07:00
  • ee0a848413 Update setup.py version Eric Torres 2019-04-12 07:54:54 -07:00
  • c558e2a55d Update .gitignore Eric Torres 2019-04-12 07:54:48 -07:00