66 Commits

Author SHA1 Message Date
James Lu
5861d5b15d PkgInfo: sort 'archlinux' output and show repo when in verbose mode 2016-02-05 20:21:25 -08:00
James Lu
2cfdb46708 PkgInfo: add "xenial" to Ubuntu codenames, drop "lucid" and "utopic" (lookup no longer available) 2015-10-31 17:09:56 -07:00
James Lu
976e273c67 PkgInfo: fix error handling in 'pkgsearch' 2015-07-29 05:35:51 -07:00
James Lu
c4c0615931 PkgInfo: allow spaces in 'freebsd' query since we search descriptions too 2015-06-29 20:42:42 -07:00
James Lu
003633f323 PkgInfo: remove unused variables and update README 2015-06-29 18:35:47 -07:00
James Lu
c1b61cb51c PkgInfo: move _getDistro and some variables outside the main class
These don't ever change, so initializing them once in every instance is pointless.
2015-06-29 15:28:01 -07:00
James Lu
48d900b6f5 PkgInfo: more consistency in pluralization and "View more at" URLs 2015-06-29 15:23:46 -07:00
James Lu
14a5e4382d PkgInfo: add command to search FreeBSD Ports
Closes #32.
2015-06-29 14:57:01 -07:00
James Lu
7aec97bc79 PkgInfo: support CentOS 5 mirror paths 2015-06-11 11:08:50 -07:00
James Lu
c4540e2c6f PkgInfo: CentOS support! Closes #31. 2015-06-10 19:23:21 -07:00
James Lu
7e363ef640 PkgInfo: add 'fedora' command (Closes #28) 2015-06-10 18:33:23 -07:00
James Lu
026fd31813 PkgInfo.vlist: quick fix for Python 2 compatibility 2015-06-10 18:32:18 -07:00
James Lu
a6f5000c9a PkgInfo: split MadisonParser into its own class 2015-05-13 20:29:54 -07:00
James Lu
c3e62391ef PkgInfo: Rename 'archpkg' command to 'archlinux' 2015-05-09 17:26:43 -07:00
James Lu
8d15c8777c PkgInfo: rename 'mintpkg' command to 'linuxmint' 2015-05-09 17:25:14 -07:00
James Lu
7bb4cdee41 PkgInfo: Add Ubuntu 15.10 codename "wily" 2015-05-09 00:03:14 -07:00
James Lu
3a40aa144e Revert "PkgInfo: in pkgsearch, make <distro> optional"
This reverts commit 3e1960a51ef48cbe02d6664dbe17a8d6309c4b45.
2015-04-26 16:07:11 -07:00
James Lu
4bd17f2b38 PkgInfo: add archive.debian.net, remove ancient Ubuntu codenames, cleanup 2015-04-26 10:12:59 -07:00
James Lu
ee62782603 copyright year updates 2015-04-25 23:22:58 -07:00
James Lu
4151d88295 PkgInfo: fix a typo 2015-04-25 23:17:07 -07:00
James Lu
2574872b9d PkgInfo: refactor 'pkg', rewrote --depends and added source lookup
* --recommends and --suggests are merged into --depends
* --source option is added, allows looking for build-dependencies too in conjunction with --depends!
* colorize --depends output based on dependency type; we now show all types of package relations in one command.
2015-04-25 23:06:54 -07:00
James Lu
2cc993ff54 PkgInfo: in 'pkg xyz --depends', preserve version/arch-specific dependencies
This prevents misleading duplicate results for packages that depend on different versions of the same package on different architectures.
2015-04-25 21:35:41 -07:00
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