172 Commits

Author SHA1 Message Date
Eric Torres
284885fc59 Add tests package and tests for pkgfiles module 2019-03-25 13:44:57 -07:00
Eric Torres
f576032dae Add --files-only flag to addpkg and delpkg 2019-03-24 22:36:06 -07:00
Eric Torres
a36ed7e2bc Update gitignore 2019-03-24 10:50:52 -07:00
Eric Torres
31c0ca72a0 Untrack PKGBUILD 2019-03-24 10:50:18 -07:00
Eric Torres
5e30fcd0e8 Make signatures_only in pkgfiles.get_pkgfiles a required kwarg 2019-03-24 10:47:18 -07:00
Eric Torres
c0039c70b4 Update help message for -c flag in delpkg 2019-03-16 06:42:24 -07:00
Eric Torres
67d43ff359 Update AppArmor profiles to include $XDG_CACHE_HOME/aurutils/sync 2019-03-16 06:39:24 -07:00
Eric Torres
3452b40b55 Update AppArmor profiles 2019-03-11 11:02:46 -07:00
Eric Torres
d5a79a00ec Add AppArmor profiles for addpkg and delpkg scripts 2019-03-10 21:27:48 -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
86f2f83e4e Minor edit, add emblem for python-black code formatter 2019-03-10 20:30:24 -07:00
Eric Torres
84af5a6777 Change project license to MIT 2019-03-10 20:30:04 -07:00
Eric Torres
9a3db9532d Add LICENSE file 2019-03-07 22:29:22 -08:00
Eric Torres
01f41472e2 Run black python linting utility on all source files 2019-03-06 23:43:37 -08:00
Eric Torres
a2ec1729b9 Do not ignore PKGBUILD 2019-02-25 10:22:18 -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
80c567b7fb Remove git version-checking code from setup.py 2019-02-22 07:54:56 -08:00
Eric Torres
3e80956bd0 Reimplement fqo script in python 2019-02-22 07:48:05 -08:00
Eric Torres
6e2e600a13 Remove redundant exception code 2019-02-22 07:35:52 -08:00
Eric Torres
c69ed345f3 General code cleanup 2019-02-22 07:34:51 -08:00
Eric Torres
41586d3de1 Don't forget to add db to cmd 2019-02-20 15:54:36 -08:00
Eric Torres
e8a47eeb83 Utilize os.path instead of pathlib 2019-02-20 15:52:33 -08:00
Eric Torres
c789f779ef Clean if statement block and globs 2019-02-20 15:49:18 -08:00
Eric Torres
6c49217b0b Make use of glob and os.path modules for filename handling 2019-02-20 15:44:37 -08:00
Eric Torres
c6bfaefff1 Fix out-of-scope call for subprocess.CompletedProcess object 2019-02-20 15:44:07 -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
bf2adbd49e Update docstring and fix ValueError on incorrect condition 2019-02-20 02:29:49 -08:00
Eric Torres
d96ed7cfde Make exception message more clear 2019-02-20 02:27:49 -08:00
Eric Torres
4b285401ed Split command-line-generating code into its own function 2019-02-02 17:10:45 -08:00
Eric Torres
0574ec032b Fix broken logging calls 2019-01-30 21:19:50 -08:00
Eric Torres
bd0c59a357 Remove old --compress option from delpkg zsh completion 2019-01-30 21:10:51 -08:00
Eric Torres
0292feb1c8 Write README 2019-01-30 21:10:36 -08:00
Eric Torres
ff090e5e05 Update zsh completions 2019-01-30 17:16:30 -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
40f5f711ff Add docstrings 2019-01-30 17:05:49 -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
a5eaa9380c Add log message for database file 2019-01-30 15:28:09 -08:00
Eric Torres
0ef2ea7ed9 addpkg, delpkg: Depend on the new repos module 2019-01-29 20:55:53 -08:00
Eric Torres
9c1b8ce7c5 Add repos module 2019-01-29 19:55:59 -08:00
Eric Torres
2ce6bdb6e4 Ignore .pkg.tar.xz{,.sig} files 2019-01-29 17:15:48 -08:00
Eric Torres
64b2e6c747 Clean up if statements for get_pkgfiles() 2019-01-29 14:33:51 -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