144 Commits

Author SHA1 Message Date
James Lu
bdb7d70185 PkgInfo: refresh Ubuntu and Mint codenames 2017-10-24 07:24:27 -07:00
James Lu
a66555dedf PkgInfo: update command help on most commands 2017-09-10 01:07:43 -07:00
James Lu
2c69e99299 PkgInfo: remove the Fedora fetcher
Fedora's PkgDB has been decommissioned, and the new PDC backend doesn't have a usable API yet for our purposes.
Specifically, the PDC API does not support sorting packages from oldest to newest, and we don't have a way to navigate its pages of results without making excessive API calls.

Possibly related: https://github.com/product-definition-center/product-definition-center/issues/439
2017-09-10 00:37:51 -07:00
James Lu
7f2110ee24 PkgInfo: remove old distro-specific functions, update tests (#64) 2017-09-10 00:35:53 -07:00
James Lu
fb5be74e35 PkgInfo: fix TypeError on 'pkg arch' 2017-09-10 00:34:42 -07:00
James Lu
e994064cc7 PkgInfo: general cleanup 2017-09-10 00:15:46 -07:00
James Lu
f7049ef484 PkgInfo: make private internal functions 2017-09-10 00:11:45 -07:00
James Lu
790f68e2b8 PkgInfo: clean up code for MadisonParser 2017-09-10 00:08:19 -07:00
James Lu
f45cb0d5e7 PkgInfo: add 'pkgsearch' support for FreeBSD, Linux Mint 2017-09-04 16:50:27 -07:00
James Lu
d41178dd09 PkgInfo: Implement arch, archaur support in pkgsearch (#64) 2017-09-04 16:44:49 -07:00
James Lu
a3e0b16d82 PkgInfo: abstract pkgsearch into fetcher backends (#64) 2017-09-04 16:33:58 -07:00
James Lu
a7ad22cdbc PkgInfo: verify the output type from fetcher functions 2017-09-04 15:48:52 -07:00
James Lu
31ea5ebde6 PkgInfo: add 'pkg freebsd' support (#64) 2017-09-04 14:47:27 -07:00
James Lu
771070f6c4 PkgInfo: throw an error when using 'pkg mint --depends' (not implemented) 2017-09-04 14:47:12 -07:00
James Lu
7579498692 PkgInfo: fix tests 2017-09-01 18:12:04 -07:00
James Lu
8574da46b1 PkgInfo: fix __bulitins__ access on Python 2.x? 2017-07-16 07:43:36 -07:00
James Lu
0c82f3f4aa PkgInfo: merge Fedora and Linux Mint support into 'package' 2017-07-06 13:58:37 -07:00
James Lu
bc9b1e9e58 PkgInfo: add 'pkg aur <package>' fetcher 2017-06-24 12:38:18 -07:00
James Lu
3d3855c342 PkgInfo.debian_fetcher: fix parsing OR dependencies and unavailable packages 2017-06-24 12:24:08 -07:00
James Lu
ea2c6b0030 PkgInfo: consistently drop colons from _get_dependency_color 2017-06-24 12:09:03 -07:00
James Lu
743545c41d PkgInfo: flag outdated versions in arch_fetcher as red 2017-06-24 00:27:59 -07:00
James Lu
4a1f670795 PkgInfo: implement --depends support for arch_fetcher 2017-06-24 00:13:31 -07:00
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
11a03ad9a0 Bump version to 2017.05.31 2017-05-31 13:10:47 -07:00
James Lu
2d391759ab Revert "PkgInfo: re-enable 'archlinux' and 'archaur' tests"
This reverts commit 03f47c58c7840eb3fce0e510ab54512f71cad7e2.
2017-04-30 19:51:21 -07:00
James Lu
03f47c58c7 PkgInfo: re-enable 'archlinux' and 'archaur' tests
This partially reverts commit 67c40b5974e86f978d449c61e893ffa576cf9ef2.
2017-04-30 19:43:46 -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
67c40b5974 PkgInfo: skip 'archlinux' and 'archaur' tests; the servers very often time out! 2017-02-23 18:00:32 -08:00
James Lu
22a710649e Bump version to 2017.01.16+git 2017-01-16 21:23:59 -08:00
James Lu
f97b54d709 Bump version to 2017.01.16 2017-01-16 21:16:25 -08:00
James Lu
635dc2d03e PkgInfo: add Debian codename bullseye, Ubuntu codename zesty 2016-10-28 20:12:08 -07:00
James Lu
b6f0397665 Bump version to 2016.09.26+git 2016-09-26 11:08:14 -07:00
James Lu
23989f692e Bump version to 2016.09.26 2016-09-26 11:07:28 -07:00
James Lu
a1439120f5 PkgInfo: fix 'pkg XYZ --source --depends' 2016-09-05 20:44:00 -07:00
James Lu
f784e15ed0 PkgInfo: update tests for 'fedora' 2016-09-05 20:40:18 -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
7c3c90ee37 Bump version to 2016.07.03+git 2016-07-03 12:49:10 -07:00
James Lu
1e96e5fd80 Bump version to 2016.07.03 2016-07-03 12:49:04 -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
274027c94a Bump version to 2016.05.15+git 2016-05-15 10:28:42 -07:00
James Lu
f2d9a3a3ff Bump version to 2016.05.15 2016-05-15 10:28:39 -07:00
James Lu
865b15aab1 PkgInfo: raise timeout for tests 2016-05-09 18:25:49 -07:00