Commit Graph

  • cc453a9fb8 Update PKGBUILD Eric Torres 2019-04-12 07:54:37 -07:00
  • e6d86bec20 Add example directory tree for repository Eric Torres 2019-04-12 07:54:24 -07:00
  • ad651cd804 Run black code formatter Eric Torres 2019-04-12 07:53:23 -07:00
  • d2e52694f5 Update project-level settings Eric Torres 2019-04-12 07:52:10 -07:00
  • 2691000d0c Update project-level dictionary Eric Torres 2019-04-12 07:51:45 -07:00
  • 9a2935b4da Test all parts of Repository.cleanup() Eric Torres 2019-04-12 07:51:08 -07:00
  • aee9848c80 Fix potential bug with removing repository directory Eric Torres 2019-04-12 07:50:31 -07:00
  • 2db8f55a79 Update README Eric Torres 2019-04-11 22:20:50 -07:00
  • ceadeed216 Update input data parameters and restructure test methods Eric Torres 2019-04-11 22:18:42 -07:00
  • 2b1caf459c Skip metadata tests Eric Torres 2019-04-11 22:17:45 -07:00
  • 1cc6ed50e3 Add Repository.cleanup() Eric Torres 2019-04-11 22:13:14 -07:00
  • 8a407292c9 Use regex to parse user snapshot name input Eric Torres 2019-04-11 22:12:08 -07:00
  • 51bc28e62b Change execution of rsync to text mode Eric Torres 2019-04-10 20:48:22 -07:00
  • 8b6b1da7a6 Change file paths Eric Torres 2019-04-10 20:41:56 -07:00
  • d27ac9cdb2 Remove duplicated include path file Eric Torres 2019-04-10 20:38:49 -07:00
  • 4571e8ba75 Merge config files Eric Torres 2019-04-10 20:38:33 -07:00
  • c066cd3421 Rename config file Eric Torres 2019-04-10 20:38:13 -07:00
  • 085a73167b Update config file Eric Torres 2019-04-10 20:30:26 -07:00
  • c08d39807e Update config file Eric Torres 2019-04-10 20:23:25 -07:00
  • b151d84a25 Fix incorrect command Eric Torres 2019-04-10 20:20:50 -07:00
  • 6cd970711f Fix incorrect command Eric Torres 2019-04-10 19:39:01 -07:00
  • 1ae1acb062 Fix incorrect command Eric Torres 2019-04-10 19:30:16 -07:00
  • 4651edecbf Update packages Eric Torres 2019-04-10 19:28:53 -07:00
  • c9a6e8c61e Update packages Eric Torres 2019-04-10 19:28:25 -07:00
  • fe46ed9612 Update README name Eric Torres 2019-04-10 19:25:09 -07:00
  • f98e3397ce Imports and docstring cleanups Eric Torres 2019-04-10 19:23:17 -07:00
  • 0845d6f00d Update README Eric Torres 2019-04-10 19:22:56 -07:00
  • 3772303aa7 Fix dunder methods in Repository Eric Torres 2019-04-10 19:22:31 -07:00
  • a8c13c932f Update config files Eric Torres 2019-04-10 19:21:55 -07:00
  • b00767c4a7 Remove system-exclude file Eric Torres 2019-04-10 19:21:15 -07:00
  • 4351387f68 Third prototype of backup script Eric Torres 2019-04-10 19:21:00 -07:00
  • 89c2cbe1ac Update exception message Eric Torres 2019-04-10 18:42:00 -07:00
  • 2e4d7cffa6 Add settins for pytest Eric Torres 2019-04-10 18:38:24 -07:00
  • 9fde294339 Add settings for PyCharm Eric Torres 2019-04-10 18:38:06 -07:00
  • dc1e863c64 Docstring update Eric Torres 2019-04-10 18:18:05 -07:00
  • 977865b5aa Remove type and value checking for PackageManager Eric Torres 2019-04-10 18:17:52 -07:00
  • 94c70b7b2e Update tests for struct package Eric Torres 2019-04-10 18:17:21 -07:00
  • 35167f28c6 Docstring updates for tests Eric Torres 2019-04-10 18:13:13 -07:00
  • 9354dfd303 Remove copies of backup functions in main script Eric Torres 2019-04-10 18:08:36 -07:00
  • 03af77cf92 Remove doc test run code Eric Torres 2019-04-10 18:04:36 -07:00
  • 0b52b75dbf Optimize imports in test classes Eric Torres 2019-04-10 18:03:58 -07:00
  • 666449156c Remove doctest run code Eric Torres 2019-04-10 18:00:47 -07:00
  • ec7da672f0 Add gen_metadata() for Hierarchy class Eric Torres 2019-04-10 17:57:43 -07:00
  • 7583cd2a34 Docstring updates Eric Torres 2019-04-10 17:56:50 -07:00
  • cffbc3f268 Update docstrings Eric Torres 2019-04-10 17:54:02 -07:00
  • 4c0e14182f Organize imports for repository module Eric Torres 2019-04-10 17:53:39 -07:00
  • 3bfeda1400 Split snapshot metadata, add is_valid_snapshot_name(), and remove current_snapshot Eric Torres 2019-04-10 17:53:17 -07:00
  • 4415a82da0 Change serialization backend from pickle to json Eric Torres 2019-04-10 10:23:56 -07:00
  • ea0a629fd9 Rename README and hierarchy package to decrease verbosity Eric Torres 2019-04-09 17:45:38 -07:00
  • 8dcf25920d Update main config file Eric Torres 2019-04-08 22:13:17 -07:00
  • 6fb3007696 Implement __repr__ Eric Torres 2019-04-08 22:12:33 -07:00
  • 981e7cfa58 Make a call to internal _data attribute Eric Torres 2019-04-08 22:12:17 -07:00
  • a7eef6825f Remove interactive session examples Eric Torres 2019-04-08 22:12:05 -07:00
  • 944b518837 Remove all attrs except for pkg_dir Eric Torres 2019-04-08 22:11:23 -07:00
  • f0e0a1500b Use internal _path attribute of Hierarchy object Eric Torres 2019-04-01 11:06:29 -07:00
  • 489a0cccad Run black code formatter Eric Torres 2019-04-01 11:06:18 -07:00
  • 929d803d86 Make Hierarchy a path-like object Eric Torres 2019-04-01 11:00:43 -07:00
  • e58c6b7c27 Make Hierarchy.write_metadata() an atomic operation Eric Torres 2019-04-01 10:41:01 -07:00
  • 4361ad703a Check for valid compress mode before proceeding Eric Torres 2019-03-31 22:00:48 -07:00
  • 43ccda7ae9 Create the Pacman class using a tuple instead of a list Eric Torres 2019-03-31 21:37:23 -07:00
  • 123eed83b5 Cleanup formatting Eric Torres 2019-03-31 11:22:53 -07:00
  • c713cc25d7 Do not ship test suite with actual project Eric Torres 2019-03-31 11:21:00 -07:00
  • 88faa9e953 Add pacman module Eric Torres 2019-03-31 11:17:57 -07:00
  • 4e840f675e Run black code formatter and flake8 Eric Torres 2019-03-31 11:17:40 -07:00
  • 77b810b5a6 Update PackageManager method names Eric Torres 2019-03-31 11:16:56 -07:00
  • 054f7a8a8e Implement and test PackageManager.gen_db_archive() Eric Torres 2019-03-31 11:15:46 -07:00
  • 57f484f0dd Initial implementation and tests for packagemanager module Eric Torres 2019-03-31 09:57:19 -07:00
  • dd4f55c1fe Update docstring examples Eric Torres 2019-03-30 22:42:44 -07:00
  • cfe4920df3 Log metadata read/write operations Eric Torres 2019-03-30 22:42:11 -07:00
  • edee5b4201 Minor correction to docstring Eric Torres 2019-03-30 16:49:47 -07:00
  • e41089010f Remove unused imports Eric Torres 2019-03-30 14:31:37 -07:00
  • 50c7d92f2a Raise ValueError when snapshot name contains a '/' Eric Torres 2019-03-30 14:22:46 -07:00
  • 41599058fe Add gen_snapshot_path() and add appropriate test Eric Torres 2019-03-30 14:14:41 -07:00
  • 5cca10a12b Move metadata handling to the Hierarchy class Eric Torres 2019-03-30 14:13:10 -07:00
  • 874f94c5fc Update tests for the new metadata scheme Eric Torres 2019-03-29 15:38:37 -07:00
  • bf7416a42f Add metadata_path attribute Eric Torres 2019-03-29 15:27:34 -07:00
  • da1accf609 Minor format change Eric Torres 2019-03-29 15:26:35 -07:00
  • fde99f6604 Add metadata handling capabilities and adjust attributes accordingly Eric Torres 2019-03-29 15:25:52 -07:00
  • 0254a2fa2e Revert "Add unimplemented test case" Eric Torres 2019-03-28 12:30:05 -07:00
  • 32b5ffec1a Revert "Remove all attributes except those inherited from Hierarchy" Eric Torres 2019-03-28 12:29:18 -07:00
  • a3fca71d21 Use copies of passed lists in tests Eric Torres 2019-03-28 12:22:04 -07:00
  • 2c16fe793a Rename current_snapshot attribute, return it on creation, use pickle Eric Torres 2019-03-28 12:12:35 -07:00
  • e2ed27cbe4 Ignore basedir and .hypothesis Eric Torres 2019-03-28 12:12:12 -07:00
  • bc6f6bc503 Test for a wide range of snapshot scenarios Eric Torres 2019-03-28 12:11:52 -07:00
  • c132d1c9d8 Add unimplemented test case Eric Torres 2019-03-28 12:11:23 -07:00
  • b57b82c383 Test Hierarchy object creation across a wide range of input types Eric Torres 2019-03-28 12:09:09 -07:00
  • 4236005541 Remove all attributes except those inherited from Hierarchy Eric Torres 2019-03-28 12:08:06 -07:00
  • 0ccb6764cd Throw TypeError on invalid destination, add _metadata_path attribute Eric Torres 2019-03-28 12:07:31 -07:00
  • aea24e2b6e Move tests package to rbackup.tests Eric Torres 2019-03-27 22:06:46 -07:00
  • 46aa2c44eb Cleanup tests and use class decorators in tests.test_repository Eric Torres 2019-03-20 00:23:25 -07:00
  • 6fbf6a34de Add snapshot_dir attribute to Repository Eric Torres 2019-03-20 00:22:48 -07:00
  • ccccdb6b77 Allow for means of iteration through Snapshots in a Repository Eric Torres 2019-03-18 10:36:30 -07:00
  • 6d4bc32c4e Minor update to docstring Eric Torres 2019-03-18 06:35:04 -07:00
  • a2f8646787 Remove redundant unit tests already covered in doctests Eric Torres 2019-03-18 06:31:52 -07:00
  • 66ce230f40 Add pkg_dir attribute, clean up code, and update respective tests Eric Torres 2019-03-18 05:29:35 -07:00
  • d8eb9837af Version 3 of working prototype backup script Eric Torres 2019-03-17 19:16:21 -07:00
  • ab3eed008c Prototype 2 for backup script Eric Torres 2019-03-17 18:59:02 -07:00
  • 68e063b3e2 Update gitignore Eric Torres 2019-03-17 18:39:26 -07:00
  • b48f199afc Fix broken options passing to rsync Eric Torres 2019-03-17 18:38:12 -07:00
  • 29664c2797 Add logging info when raising exception for failed rsync process Eric Torres 2019-03-17 18:37:45 -07:00