James Lu
697ae24a09
PkgInfo: drop linuxmint fetcher (broken web scraping)
2022-02-01 22:42:08 -08:00
James Lu
c7c1153459
PkgInfo: update Ubuntu codenames & fix tests
2021-07-14 22:52:19 -07:00
James Lu
4b698d40ed
PkgInfo: update Ubuntu codenames
2020-03-29 11:19:17 -07:00
James Lu
bcf43ba48d
PkgInfo: drop CentOS fetcher
...
This has broken in CentOS 8 and isn't feasible to maintain anymore, given the lack of a proper API.
2019-12-24 14:04:27 -08:00
James Lu
8ddf4a101a
PkgInfo: show 'vlist' output in reverse by default
...
The madison API still shows EOL releases for Debian and Ubuntu, which are hardly useful at this point.
2019-12-24 14:04:27 -08:00
James Lu
bd157f74bf
PkgInfo: replace "depends" before "dep" in --depends coloring
...
Initialize MultipleReplacer with an OrderedDict so that this works consistently.
2018-10-07 13:51:15 -07:00
James Lu
703661d030
PkgInfo: add a Gentoo fetcher
2018-09-30 07:34:57 +00:00
James Lu
cd135286df
PkgInfo: update Debian, Ubuntu, Linux Mint codenames
...
Debian: +bookworm
Ubuntu: -zesty +cosmic
Mint: +tara
2018-08-18 07:48:04 +00:00
James Lu
72eee1f09c
PkgInfo: further tweaks to the Fedora fetcher
...
- Sort descendingly by version, now that doing so is supported (ref https://github.com/product-definition-center/product-definition-center/issues/439 )
- Disable 'pkgsearch' on Fedora; it's not reliable because we only look at the first page of results.
- Fix IndexError when no results are found.
2018-02-23 19:32:24 -05:00
James Lu
5e2130ddb8
Merge "WIP: reimplement the fedora fetcher using the new PDC API"
...
Conflicts:
PkgInfo/plugin.py
2018-02-23 19:19:17 -05:00
James Lu
4aeec6efa1
Revert "PkgInfo: remove the Fedora fetcher"
...
This reverts commit 2c69e99299b2708b870651241dfead53fc00362e.
2018-02-23 19:17:54 -05:00
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
11242b4064
WIP: reimplement the fedora fetcher using the new PDC API
...
PkgDB is decommissioned already according to https://fedoraproject.org/wiki/Infrastructure/WhatHappenedToPkgdb
2017-09-09 23:51:30 -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
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
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