82 Commits

Author SHA1 Message Date
James Lu
9c7e088ee6 PkgInfo: add arch_fetcher to implement 'pkg arch <pkgname>' 2017-06-23 23:51:25 -07:00
James Lu
8b6ab5965d PkgInfo: reduce code duplication between guess_distro and get_distro_fetcher 2017-06-23 23:22:58 -07:00
James Lu
f6e499d85e PkgInfo: abstract 'pkg' to support multiple backend functions 2017-06-23 23:19:07 -07:00
James Lu
dc2b6af622 PkgInfo: use https on packages.ubuntu.com, as it is now available 2017-06-01 23:14:09 -07:00
James Lu
9e44bad118 PkgInfo: add Ubuntu codename artful & remove wily 2017-04-30 19:42:19 -07:00
seitzbg
40634dcdd5 PkgInfo: only match package names in 'centos --exact', instead of name + version strings
(cherry picked from 59cb273cb7)
2017-03-18 19:54:10 -07:00
James Lu
635dc2d03e PkgInfo: add Debian codename bullseye, Ubuntu codename zesty 2016-10-28 20:12:08 -07:00
James Lu
a1439120f5 PkgInfo: fix 'pkg XYZ --source --depends' 2016-09-05 20:44:00 -07:00
James Lu
7cffbee8fd PkgInfo: rewrite 'fedora' to support non-integer versions
Specifying a release is now done using 'fedora --release RELEASENAME packagename'.
Package name is now optional: if not given, the bot will show a list of release versions where package lookup is supported.
2016-09-05 20:37:04 -07:00
James Lu
7e8bf6ab17 PkgInfo: add 'filesearch' for searching contents in Debian/Ubuntu 2016-09-05 20:17:44 -07:00
James Lu
5ac44e54d4 PkgInfo: workaround unescaped "<<" in versioned depends not being parsed correctly 2016-09-05 19:44:20 -07:00
James Lu
f9ec36cfd8 PkgInfo: condense 'pkg XYZ --depends' output by showing lists of each dependency type 2016-09-05 19:38:41 -07:00
James Lu
ec0af16eaa PkgInfo: add Ubuntu codename yakkety, remove vivid 2016-07-20 12:54:32 -07:00
James Lu
413a9961d4 PkgInfo: tweaks to 'centos'
Make repository name optional, so they can be listed if only the release number is given. Fix --exact and add a --startswith filter option for packages.
2016-06-14 19:43:48 -07:00
James Lu
52c08a77b9 PkgInfo: move squeeze to debian-archive 2016-04-21 19:14:22 -07:00
James Lu
826f55f5a8 PkgInfo: simplify 'linuxmint' with new-style wrap
Also, update copyright year.
2016-02-05 20:32:05 -08:00
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