33 Commits

Author SHA1 Message Date
Eric Torres
fdc5510c46 Move add and delete functionality to pkgfiles module, add tests 2019-03-25 14:20:36 -07:00
Eric Torres
f576032dae Add --files-only flag to addpkg and delpkg 2019-03-24 22:36:06 -07:00
Eric Torres
c0039c70b4 Update help message for -c flag in delpkg 2019-03-16 06:42:24 -07:00
Eric Torres
5dca985412 Minor code cleanup 2019-03-10 21:07:15 -07:00
Eric Torres
bc54dd803a Add new flags -c and -d for overriding cachedir and database filenames 2019-03-10 21:04:31 -07:00
Eric Torres
01f41472e2 Run black python linting utility on all source files 2019-03-06 23:43:37 -08:00
Eric Torres
383b6f80fe Fix incorrect reference to database file 2019-02-25 10:21:45 -08:00
Eric Torres
318127d0a6 Minor bug fix to not pass None to db_modify() 2019-02-23 14:39:39 -08:00
Eric Torres
3e80956bd0 Reimplement fqo script in python 2019-02-22 07:48:05 -08:00
Eric Torres
c69ed345f3 General code cleanup 2019-02-22 07:34:51 -08:00
Eric Torres
e8a47eeb83 Utilize os.path instead of pathlib 2019-02-20 15:52:33 -08:00
Eric Torres
387c5f7d33 Reimplement repo_add as db_modify and clean code accordingly 2019-02-20 15:22:18 -08:00
Eric Torres
99492bbb4a Include missing sys import 2019-02-20 02:50:41 -08:00
Eric Torres
cd0bac368a Split console logging between stdout and stderr 2019-02-20 02:30:17 -08:00
Eric Torres
0574ec032b Fix broken logging calls 2019-01-30 21:19:50 -08:00
Eric Torres
e130d96326 Change default level of console handlers for logging 2019-01-30 17:09:19 -08:00
Eric Torres
d97d1648b9 Logging and code cleanup 2019-01-30 17:06:25 -08:00
Eric Torres
9fc8eee572 Make use of os instead of shutil for move operations 2019-01-30 16:20:13 -08:00
Eric Torres
9e8b3da405 General code cleanup 2019-01-30 15:54:51 -08:00
Eric Torres
0ef2ea7ed9 addpkg, delpkg: Depend on the new repos module 2019-01-29 20:55:53 -08:00
Eric Torres
574415b3d8 Code cleanup for delpkg and make use of map() for del_pkgfile() 2019-01-29 14:33:12 -08:00
Eric Torres
e0f564dea6 Minor docstring cleanup 2019-01-29 14:32:45 -08:00
Eric Torres
c0e2aab5a7 Simplify add_pkgfile and general code cleanup 2019-01-29 14:20:59 -08:00
Eric Torres
89e9673132 Code cleanup for add_pkgfiles in addpkg 2019-01-28 21:28:14 -08:00
Eric Torres
31d17b910c Docstring cleanup for delpkg 2019-01-28 21:27:32 -08:00
Eric Torres
5804b1c814 Change packages to non-required 2019-01-28 21:18:19 -08:00
Eric Torres
1951efca45 General logging and code cleanups 2019-01-28 21:13:36 -08:00
Eric Torres
2201cca398 Implement addpkg script 2019-01-28 21:13:01 -08:00
Eric Torres
7153d02bac Properly call get_pkgfiles 2019-01-28 11:01:28 -08:00
Eric Torres
722f24356b Fix wrong logging formatter attribute 2019-01-28 10:46:27 -08:00
Eric Torres
07c1f5880f Change shebang to python3 2019-01-28 08:10:42 -08:00
Eric Torres
a2ba5ffe69 Remove repository check, modularize code away from script, code cleanup 2019-01-28 08:08:51 -08:00
Eric Torres
4c578142c1 Initial commit 2019-01-27 20:26:50 -08:00