45 Commits

Author SHA1 Message Date
Eric Torres
45b80ecab4 Raise RepoAddError from original exception 2023-01-06 21:55:07 -08:00
Eric Torres
176a3d758f Rename pacmanconf module to pacman 2022-03-17 21:15:33 -07:00
Eric Torres
9eeca9910c Minor code and comment cleanups 2019-10-24 09:36:58 -07:00
Eric Torres
821b25ceca Account for colons in package version numbers 2019-10-24 09:36:19 -07:00
Eric Torres
0c12169130 Use % formatting for log messages over f-strings 2019-05-03 12:25:55 -07:00
Eric Torres
7ec7d05f50 Fix incorrect raises docstrings 2019-04-14 08:51:38 -07:00
Eric Torres
9fea509235 Delete 'options' section from config sections directly 2019-03-30 13:19:22 -07:00
Eric Torres
75c2e0d242 Do not package tests package with main project 2019-03-30 13:18:42 -07:00
Eric Torres
3c0eefd0d3 Change how pathlib.Path is imported 2019-03-30 08:00:17 -07:00
Eric Torres
660e5870ef Incorporate hypothesis test framework into tests and streamline testing 2019-03-27 21:46:33 -07:00
Eric Torres
b69d165faf Update tests 2019-03-27 17:22:11 -07:00
Eric Torres
9cf2ce7a0b Account for duplicate elements in the iterable passed to filter() 2019-03-27 17:21:38 -07:00
Eric Torres
8d5bb749d6 Move tests to packaging_scripts package 2019-03-27 00:57:47 -07:00
Eric Torres
019cf2ecb1 Add ability to filter through iterables, pkgfile.filter(), and tests 2019-03-25 21:54:03 -07:00
Eric Torres
bc55d14bfa Update regexes and if statement 2019-03-25 16:59:49 -07:00
Eric Torres
bd0030f576 Add support for path-like objects 2019-03-25 14:45:21 -07:00
Eric Torres
92818c444e Docstring updates 2019-03-25 14:41:42 -07:00
Eric Torres
fdc5510c46 Move add and delete functionality to pkgfiles module, add tests 2019-03-25 14:20:36 -07:00
Eric Torres
9048a55c0f Refactor pkgfiles module and depend on only pathlib and re 2019-03-25 13:47:42 -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
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
6e2e600a13 Remove redundant exception code 2019-02-22 07:35:52 -08:00
Eric Torres
41586d3de1 Don't forget to add db to cmd 2019-02-20 15:54:36 -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
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
bd0c59a357 Remove old --compress option from delpkg zsh completion 2019-01-30 21:10:51 -08:00
Eric Torres
ff090e5e05 Update zsh completions 2019-01-30 17:16:30 -08:00
Eric Torres
40f5f711ff Add docstrings 2019-01-30 17:05:49 -08:00
Eric Torres
a5eaa9380c Add log message for database file 2019-01-30 15:28:09 -08:00
Eric Torres
9c1b8ce7c5 Add repos module 2019-01-29 19:55:59 -08:00
Eric Torres
64b2e6c747 Clean up if statements for get_pkgfiles() 2019-01-29 14:33:51 -08:00
Eric Torres
62a80b5dbf Change default query to '' in get_pkgfiles() 2019-01-28 21:43:08 -08:00
Eric Torres
12cf5906a0 Make query parameter optional for get_pkgfiles() 2019-01-28 21:27:07 -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
0953984c72 Delete pycache files 2019-01-28 10:53:28 -08:00
Eric Torres
c2a362023e Update docstring and make if statement more explicit 2019-01-28 08:08:23 -08:00
Eric Torres
4c578142c1 Initial commit 2019-01-27 20:26:50 -08:00