Eric Torres
|
489a0cccad
|
Run black code formatter
|
2019-04-01 11:06:18 -07:00 |
|
Eric Torres
|
929d803d86
|
Make Hierarchy a path-like object
|
2019-04-01 11:00:43 -07:00 |
|
Eric Torres
|
e58c6b7c27
|
Make Hierarchy.write_metadata() an atomic operation
|
2019-04-01 10:41:01 -07:00 |
|
Eric Torres
|
4361ad703a
|
Check for valid compress mode before proceeding
|
2019-03-31 22:00:48 -07:00 |
|
Eric Torres
|
43ccda7ae9
|
Create the Pacman class using a tuple instead of a list
|
2019-03-31 21:37:23 -07:00 |
|
Eric Torres
|
123eed83b5
|
Cleanup formatting
|
2019-03-31 11:22:53 -07:00 |
|
Eric Torres
|
c713cc25d7
|
Do not ship test suite with actual project
|
2019-03-31 11:21:00 -07:00 |
|
Eric Torres
|
88faa9e953
|
Add pacman module
|
2019-03-31 11:17:57 -07:00 |
|
Eric Torres
|
4e840f675e
|
Run black code formatter and flake8
|
2019-03-31 11:17:40 -07:00 |
|
Eric Torres
|
77b810b5a6
|
Update PackageManager method names
|
2019-03-31 11:16:56 -07:00 |
|
Eric Torres
|
054f7a8a8e
|
Implement and test PackageManager.gen_db_archive()
|
2019-03-31 11:15:46 -07:00 |
|
Eric Torres
|
57f484f0dd
|
Initial implementation and tests for packagemanager module
|
2019-03-31 09:57:19 -07:00 |
|
Eric Torres
|
dd4f55c1fe
|
Update docstring examples
|
2019-03-30 22:42:44 -07:00 |
|
Eric Torres
|
cfe4920df3
|
Log metadata read/write operations
|
2019-03-30 22:42:11 -07:00 |
|
Eric Torres
|
edee5b4201
|
Minor correction to docstring
|
2019-03-30 16:49:47 -07:00 |
|
Eric Torres
|
e41089010f
|
Remove unused imports
|
2019-03-30 14:31:37 -07:00 |
|
Eric Torres
|
50c7d92f2a
|
Raise ValueError when snapshot name contains a '/'
|
2019-03-30 14:24:58 -07:00 |
|
Eric Torres
|
41599058fe
|
Add gen_snapshot_path() and add appropriate test
|
2019-03-30 14:15:09 -07:00 |
|
Eric Torres
|
5cca10a12b
|
Move metadata handling to the Hierarchy class
|
2019-03-30 14:14:22 -07:00 |
|
Eric Torres
|
874f94c5fc
|
Update tests for the new metadata scheme
|
2019-03-29 15:38:37 -07:00 |
|
Eric Torres
|
bf7416a42f
|
Add metadata_path attribute
|
2019-03-29 15:28:09 -07:00 |
|
Eric Torres
|
da1accf609
|
Minor format change
|
2019-03-29 15:26:35 -07:00 |
|
Eric Torres
|
fde99f6604
|
Add metadata handling capabilities and adjust attributes accordingly
|
2019-03-29 15:25:52 -07:00 |
|
Eric Torres
|
0254a2fa2e
|
Revert "Add unimplemented test case"
This reverts commit c132d1c9d874ac0a43db94a2b0e0308cfa5f2bc9.
|
2019-03-28 12:30:05 -07:00 |
|
Eric Torres
|
32b5ffec1a
|
Revert "Remove all attributes except those inherited from Hierarchy"
This reverts commit 4236005541347868627faeefb372d7287cf5e791.
|
2019-03-28 12:29:18 -07:00 |
|
Eric Torres
|
a3fca71d21
|
Use copies of passed lists in tests
|
2019-03-28 12:22:04 -07:00 |
|
Eric Torres
|
2c16fe793a
|
Rename current_snapshot attribute, return it on creation, use pickle
|
2019-03-28 12:12:35 -07:00 |
|
Eric Torres
|
e2ed27cbe4
|
Ignore basedir and .hypothesis
|
2019-03-28 12:12:12 -07:00 |
|
Eric Torres
|
bc6f6bc503
|
Test for a wide range of snapshot scenarios
|
2019-03-28 12:11:52 -07:00 |
|
Eric Torres
|
c132d1c9d8
|
Add unimplemented test case
|
2019-03-28 12:11:23 -07:00 |
|
Eric Torres
|
b57b82c383
|
Test Hierarchy object creation across a wide range of input types
|
2019-03-28 12:09:09 -07:00 |
|
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 |
|