894 Commits

Author SHA1 Message Date
James Lu
e471a02cd4 NoTrigger: cleanup readme
[skip ci]
2017-11-10 09:58:23 -08:00
James Lu
d4e75618d6 TranslateParty: clean up tests
- Remove reference to "WTE"
- Remove Python 2 check.
2017-11-09 09:20:57 -08:00
James Lu
9378aca10f Weather: rewrite 'setweather' help for clarity 2017-11-02 20:20:26 -07:00
James Lu
bdb7d70185 PkgInfo: refresh Ubuntu and Mint codenames 2017-10-24 07:24:27 -07:00
James Lu
e32223bb66 Weather: omit the Alerts line completely if none are available
This is otherwise just spam...
2017-10-23 19:46:44 -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
0955fe4c13 PkgInfo: fix IndexError when a message only contains spaces 2017-09-09 23:50:48 -07:00
James Lu
400ffd7899 Wikifetch: fix quote_plus import 2017-09-07 19:20:21 -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
767d3ac762 .travis: remove broken pypy3, nightly branches 2017-09-01 18:43:26 -07:00
James Lu
c4b858e02d .travis: remove Python 2 pypy from master as well 2017-09-01 18:42:38 -07:00
James Lu
c9bcbbb934 SedRegex: remove compatibility workaround for Python 2.7.6 and lower 2017-09-01 18:19:19 -07:00
James Lu
7579498692 PkgInfo: fix tests 2017-09-01 18:12:04 -07:00
James Lu
604da3e358 .travis.yml: remove Python 2.7 from the master branch 2017-09-01 18:09:44 -07:00
James Lu
6011742299 Wikifetch: remove Python 2 compatibility code 2017-09-01 18:09:19 -07:00
James Lu
08d8f48db5 Wikifetch: refactor text fetching, fix listing disambig results 2017-09-01 18:04:20 -07:00
James Lu
9986babd2e Wikifetch: strip inline notes in the form "text[note 1]" from IRC 2017-09-01 18:02:52 -07:00
James Lu
199da6e851 Officially drop Python 2 support in the master branch [skip ci] 2017-08-24 19:09:33 -07:00
James Lu
8574da46b1 PkgInfo: fix __bulitins__ access on Python 2.x? 2017-07-16 07:43:36 -07:00
James Lu
4452e5af4f Weather: fix last-updated time parsing on values such as "just now" 2017-07-16 06:53:11 -07:00
James Lu
ec2b16f650 Merge branch 'wip/pkginfo-next' 2017-07-16 06:52:55 -07:00
James Lu
0c82f3f4aa PkgInfo: merge Fedora and Linux Mint support into 'package' 2017-07-06 13:58:37 -07:00
James Lu
75f89cdf6e PortLookup: don't show notes fields marked as ? 2017-07-02 11:53:23 -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
a1826fbc85 README: fix a typo [skip ci] 2017-06-09 22:41:02 -07:00
James Lu
0feb7e13e3 rm Replacer.py migration stub, it has been there for a year 2017-06-09 22:39:53 -07:00
James Lu
1dbcdb746d Wikifetch: declare encoding for ancient Python support 2017-06-03 18:40:24 -07:00
James Lu
71458857f9 Wikifetch: more tests for --site and foreign Wikipedia 2017-06-03 18:35:02 -07:00
James Lu
b6231f56ef Revert "Wikifetch: intelligently filter out <p> lines with little or no content"
This broke parsing for CJK languages (e.g. Chinese and Japanese), which don't use traditional spaces...

(but I should've known that)

This reverts commit 91cfa7acb0975fd5b5bab6e6f2c760781ccd84e2.
2017-06-03 18:30:25 -07:00
James Lu
b8e04f167e Wikifetch: add tests for non-English Wikipedia & articles with symbols in their title 2017-06-03 18:11:55 -07:00
James Lu
670b41950b Wikifetch: rm broken Commons test 2017-06-03 18:11:48 -07:00
James Lu
346f72d816 Wikifetch: fix lookup of articles with symbols (e.g. "/") in their title
The normalization for the special cases was previously ignored if the query matched a "/"; why was this added in the first place?
2017-06-03 18:09:20 -07:00