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 |
|
Eric Torres
|
62a80b5dbf
|
Change default query to '' in get_pkgfiles()
|
2019-01-28 21:43:08 -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
|
12cf5906a0
|
Make query parameter optional for get_pkgfiles()
|
2019-01-28 21:27:07 -08:00 |
|
Eric Torres
|
5804b1c814
|
Change packages to non-required
|
2019-01-28 21:18:19 -08:00 |
|
Eric Torres
|
4e83cad59c
|
Add addpkg to setup.py
|
2019-01-28 21:15:41 -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
|
7a482c1802
|
Update docstring
|
2019-01-28 11:01:08 -08:00 |
|
Eric Torres
|
7c00a7580c
|
Redefine signatures parameter for function
|
2019-01-28 10:59:18 -08:00 |
|
Eric Torres
|
4181d339df
|
Add query parameter to get_pkgfiles
|
2019-01-28 10:53:56 -08:00 |
|
Eric Torres
|
90026d6aa7
|
Ignore __pycache__ directories
|
2019-01-28 10:53:38 -08:00 |
|
Eric Torres
|
0953984c72
|
Delete pycache files
|
2019-01-28 10:53:28 -08:00 |
|
Eric Torres
|
722f24356b
|
Fix wrong logging formatter attribute
|
2019-01-28 10:46:27 -08:00 |
|
Eric Torres
|
5478820479
|
Add README
|
2019-01-28 10:37:05 -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
|
c2a362023e
|
Update docstring and make if statement more explicit
|
2019-01-28 08:08:23 -08:00 |
|
Eric Torres
|
2325a04990
|
Move old shell scripts to misc directory
|
2019-01-27 20:27:53 -08:00 |
|
Eric Torres
|
c534eebd07
|
Remove topdir zsh-completions
|
2019-01-27 20:27:25 -08:00 |
|
Eric Torres
|
4c578142c1
|
Initial commit
|
2019-01-27 20:26:50 -08:00 |
|