44 Commits

Author SHA1 Message Date
James Lu
45249ef1e1 PkgInfo: add missing distribution debian/experimental 2015-02-20 20:39:04 -05:00
James Lu
c9d22a64bf PkgInfo: remove 'vlist --source' & update tests
This isn't the most useful feature since a normal 'vlist' lookup can also
find source packages when 'config plugins.PkgInfo.archs' is configured
correctly.
2015-01-30 20:54:06 -05:00
James Lu
3e1960a51e PkgInfo: in pkgsearch, make <distro> optional 2015-01-28 01:51:41 -05:00
James Lu
8f78bb28c0 PkgInfo: add codenames "buster" and "stretch" for Debian 2015-01-26 23:07:54 -05:00
GLolol
d0ff6c9a16 PkgInfo: add a notice for commands that only support Debian/Ubuntu lookup (pkg/pkgsearch/vlist) 2015-01-14 21:25:52 -08:00
James Lu
82b353a075 PkgInfo: Code cleanup & PEP8 compliancy
- Use supybot.utils.str.format() for correct pluralization of 'results'
- Better code readability
2014-12-28 22:45:11 -08:00
James Lu
fb00466e4c WTE/NoTrigger/OperUp/PkgInfo/Voteserv: update logging formatting 2014-12-13 11:35:12 -08:00
GLolol
0538b5600e PkgInfo: 'pkg' command dependency parsing (accessible via 'pkg <distro> <package> --depends/--recommends/--suggests) 2014-12-07 13:54:54 -08:00
James Lu
0458246385 PkgInfo: add dependency parsing feature (doesn't completely work yet) 2014-12-07 10:57:51 -08:00
James Lu
04d5573ec5 PkgInfo: remove 'vlist' --reversed option 2014-12-07 10:27:00 -08:00
James Lu
792a1a6d89 PkgInfo: further tighten dependencies on bs4 2014-12-06 11:02:57 -08:00
James Lu
073c6669cb PkgInfo: handle virtual packages correctly in 'pkg' 2014-12-05 23:22:22 -08:00
James Lu
00f353f3a9 NoTrigger/PkgInfo: be more verbose in logging output 2014-11-27 21:08:48 -08:00
James Lu
171ef055c9 PkgInfo: use supybot's utils.format() in output 2014-11-27 16:47:37 -08:00
GLolol
bbee6136ab PkgInfo: make 'archs' config variable imply 'source' and 'all' 2014-11-18 14:46:44 -08:00
GLolol
f96f3c2527 PkgInfo: add --reverse option to vlist 2014-11-15 00:18:50 -08:00
GLolol
57e2a2adc7 PkgInfo: catch unknown distributions in 'vlist' correctly 2014-11-04 11:31:38 -08:00
James Lu
afe692e8c9 Updates to PkgInfo
- In exception handling, only catch utils.web.Error instead of all possible exceptions
- Rename 'package' command to 'pkg'
- vlist/pkgsearch: guess distribution from release name as with 'pkg', so that 'vlist trusty <app>' is accepted
2014-11-02 17:31:41 -08:00
GLolol
34850f3966 PkgInfo: make tests more specific (use regexp instead of notError) 2014-10-27 09:49:55 -07:00
GLolol
2df74d071e PkgInfo: add --source option in vlist command 2014-10-27 09:37:42 -07:00
GLolol
3be49ca0a7 PkgInfo: minor fixes 2014-10-24 20:39:05 -07:00
GLolol
2010866ff0 PkgInfo: be less case sensitive 2014-10-22 17:00:49 -07:00
GLolol
07e64983ea Preparations for 1.1 release
- Remove unused imports
- Update README.md
2014-10-20 16:41:32 -07:00
James Lu
4ae19e268b PkgInfo: don't error out if error checking doesn't find the error we're looking for (fix the broken fix that tried to fix #14 but didn't actually fix it) 2014-10-19 15:59:34 -07:00
James Lu
e110bca89b PkgInfo: Handle 'too many results' errors in pkgsearch and cap archaur at 150 results (Closes #14) 2014-10-19 15:50:14 -07:00
James Lu
544b90ab7e PkgInfo: handle overflow properly in 'archaur' (Second half of #14) 2014-10-19 15:09:25 -07:00
GLolol
99ed186281 PkgInfo: pkgsearch: show an error when no results are found 2014-10-17 22:25:37 -07:00
GLolol
e237bfcfd0 PkgInfo: use HTTPS when available 2014-10-14 10:50:15 -07:00
GLolol
09fda414d4 PkgInfo: introduce 'mintpkg' properly
- Support multiple package versions (in different sections)
- Add --exact option, with glob searching used by default
- Update README to reflect this
2014-10-13 19:24:31 -07:00
James Lu
080dbc0e79 Add mintpkg command for parsing Linux Mint's repositories (still needs testing) 2014-10-13 18:24:39 -07:00
James Lu
05ddad68cc Revamp PkgInfo greatly
- Rewrite package command using Beautiful Soup 4.
- Add pkgsearch command to search Debian & Ubuntu's repositories.
- Drop re (regex parsing) and HTMLParser
- Instate Beautiful Soup 4 as optional dependency (plugin checks to see if it exists on load)
2014-10-07 20:15:29 -07:00
GLolol
6347f39952 PkgInfo: bugfix 2014-10-07 18:34:21 -07:00
James Lu
8242693446 PkgInfo: make 'archpkg' default to glob search 2014-09-25 20:13:45 -07:00
James Lu
4dc9dd9cbc RelayLink/TLDInfo: py3 compat && PkgInfo: simplify imports (ref #12) 2014-09-25 19:43:08 -07:00
James Lu
98914e1b05 PkgInfo: python3 compatibility 2014-09-20 15:42:57 -07:00
GLolol
cedd8d8284 PkgInfo: bugfixes, revert to website parsing for 'package' as it shows package desc. 2014-09-12 15:56:24 -07:00
GLolol
796a165e17 PkgInfo: add arch linux support 2014-09-03 14:20:18 -07:00
GLolol
a5eaa9c29d PkgInfo: fix bolding 2014-09-03 00:05:42 -07:00
GLolol
ea30910f60 overhaul PkgInfo using the Madison API 2014-09-02 22:28:52 -07:00
GLolol
cb95f165e6 PkgInfo: use OrderedDict for vlist 2014-08-18 22:53:31 -07:00
GLolol
bcc4e194a4 PkgInfo: sort 'vlist' output by version 2014-08-15 18:02:37 -07:00
GLolol
73c9bea4d5 PkgInfo: bugfixes 2014-08-15 17:59:00 -07:00
GLolol
ae33eaa364 PkgInfo: add vlist command 2014-08-15 13:27:52 -07:00
GLolol
df8e3e529f Add PkgInfo 2014-08-15 11:36:39 -07:00