142 Commits

Author SHA1 Message Date
Eric Torres
49f5d0f276 Split configuration file handling into its own module 2019-04-12 12:03:16 -07:00
Eric Torres
792d641ff9 Fix escape sequence in docstring 2019-04-12 11:12:19 -07:00
Eric Torres
dc31a77a2c Fix escape sequence in docstring 2019-04-12 10:39:00 -07:00
Eric Torres
14204b1c58 General cleanup 2019-04-12 10:17:32 -07:00
Eric Torres
ef129cb288 Split etc-include and system-include config files 2019-04-12 09:59:02 -07:00
Eric Torres
aee9848c80 Fix potential bug with removing repository directory 2019-04-12 07:50:31 -07:00
Eric Torres
1cc6ed50e3 Add Repository.cleanup() 2019-04-11 22:13:14 -07:00
Eric Torres
8a407292c9 Use regex to parse user snapshot name input 2019-04-11 22:12:08 -07:00
Eric Torres
51bc28e62b Change execution of rsync to text mode 2019-04-10 20:48:22 -07:00
Eric Torres
d27ac9cdb2 Remove duplicated include path file 2019-04-10 20:38:49 -07:00
Eric Torres
4571e8ba75 Merge config files 2019-04-10 20:38:33 -07:00
Eric Torres
c066cd3421 Rename config file 2019-04-10 20:38:13 -07:00
Eric Torres
085a73167b Update config file 2019-04-10 20:30:26 -07:00
Eric Torres
c08d39807e Update config file 2019-04-10 20:23:25 -07:00
Eric Torres
3772303aa7 Fix dunder methods in Repository 2019-04-10 19:22:31 -07:00
Eric Torres
a8c13c932f Update config files 2019-04-10 19:21:55 -07:00
Eric Torres
b00767c4a7 Remove system-exclude file 2019-04-10 19:21:15 -07:00
Eric Torres
89c2cbe1ac Update exception message 2019-04-10 18:42:00 -07:00
Eric Torres
dc1e863c64 Docstring update 2019-04-10 18:18:05 -07:00
Eric Torres
977865b5aa Remove type and value checking for PackageManager 2019-04-10 18:17:52 -07:00
Eric Torres
666449156c Remove doctest run code 2019-04-10 18:02:06 -07:00
Eric Torres
ec7da672f0 Add gen_metadata() for Hierarchy class 2019-04-10 17:57:43 -07:00
Eric Torres
7583cd2a34 Docstring updates 2019-04-10 17:56:50 -07:00
Eric Torres
cffbc3f268 Update docstrings 2019-04-10 17:54:02 -07:00
Eric Torres
4c0e14182f Organize imports for repository module 2019-04-10 17:53:39 -07:00
Eric Torres
3bfeda1400 Split snapshot metadata, add is_valid_snapshot_name(), and remove current_snapshot 2019-04-10 17:53:17 -07:00
Eric Torres
4415a82da0 Change serialization backend from pickle to json 2019-04-10 10:23:56 -07:00
Eric Torres
ea0a629fd9 Rename README and hierarchy package to decrease verbosity 2019-04-09 19:17:09 -07:00
Eric Torres
8dcf25920d Update main config file 2019-04-08 22:13:17 -07:00
Eric Torres
6fb3007696 Implement __repr__ 2019-04-08 22:12:33 -07:00
Eric Torres
981e7cfa58 Make a call to internal _data attribute 2019-04-08 22:12:17 -07:00
Eric Torres
a7eef6825f Remove interactive session examples 2019-04-08 22:12:05 -07:00
Eric Torres
944b518837 Remove all attrs except for pkg_dir 2019-04-08 22:11:23 -07:00
Eric Torres
f0e0a1500b Use internal _path attribute of Hierarchy object 2019-04-01 11:06:29 -07:00
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
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