Commit graph

438 commits

Author SHA1 Message Date
lilydjwg
9340db2663 vcs: should return oldver than generate a new one 2018-05-16 14:10:41 +08:00
lilydjwg
c1c531d707 debian API becomes flaky recently 2018-05-15 22:37:39 +08:00
lilydjwg
5383fb30e0 get_version should always return the current version
not None when it's not updated.
2018-05-15 22:25:35 +08:00
lilydjwg
8c0f7b5680 log extra arguments to console 2018-05-13 19:07:00 +08:00
lilydjwg
ae58042a3e fix arguments mismatch for on_no_result
fixes #71.
2018-05-10 20:29:38 +08:00
lilydjwg
b3897a1235 update README on JSON logging 2018-05-09 14:34:32 +08:00
lilydjwg
79c3c934ce log no-result events 2018-05-09 14:34:20 +08:00
lilydjwg
d321beec36 travis-ci: fix allow_failures instruction 2018-05-08 20:27:41 +08:00
lilydjwg
f4ce0bdab0 travis-ci: use allow_failures instead of exclude 2018-05-08 20:19:29 +08:00
lilydjwg
6abc482c87 travis-ci: enable pip cache 2018-05-08 20:13:20 +08:00
lilydjwg
77781b3920 Merge branch 'keyfile' 2018-05-08 20:00:54 +08:00
lilydjwg
a31470df0b tests: aur: try harder 2018-05-08 19:59:57 +08:00
lilydjwg
d8536f4390 tests: aiohttp and pypy3 don't work well 2018-05-08 19:55:45 +08:00
lilydjwg
ddfc569ba3 tests: remove more f-strings 2018-05-08 19:44:48 +08:00
lilydjwg
960f76e333 tests: fix test_proxy 2018-05-08 19:41:11 +08:00
lilydjwg
ded2bcd8c5 tests: httpbin seems to be overloaded, disabled temporarily 2018-05-08 19:27:45 +08:00
lilydjwg
9273f30036 remove usage of f-strings, Python 3.5 is still supported 2018-05-08 19:27:28 +08:00
lilydjwg
3da3e356fa github: give an explicit error message when rate limited
also update tests.
2018-05-08 19:15:36 +08:00
lilydjwg
8f2d64d353 some debugging additions 2018-05-08 18:35:12 +08:00
lilydjwg
6c15ee8517 expose HTTPError, and raise it if status >= 400 for aiohttp 2018-05-08 18:34:32 +08:00
lilydjwg
c86f8820b7 fix Source.keymanager not defined when __config__ is absent 2018-05-08 18:18:17 +08:00
lilydjwg
6fcf5869ad add test_keyfile 2018-05-08 18:18:10 +08:00
lilydjwg
cf817ffe27 add Source.on_exception event hook 2018-05-08 18:17:45 +08:00
lilydjwg
de1634a587 ConfigParser.get doesn't return None on missing options 2018-05-06 12:18:28 +08:00
lilydjwg
26e7160a90 add an empty "keys" section 2018-05-06 11:52:10 +08:00
lilydjwg
54f474cfb2 not zip_safe 2018-05-06 11:48:24 +08:00
lilydjwg
3d69ad4ad6 update README for keyfile 2018-05-06 00:01:27 +08:00
lilydjwg
6bcef4e307 gitlab: tweak key logic 2018-05-06 00:00:48 +08:00
lilydjwg
b12f98ae6e gitlab: use keyfile 2018-05-05 23:52:13 +08:00
lilydjwg
39e79631fc fix configparser usage bug 2018-05-05 23:49:33 +08:00
lilydjwg
82dba4a965 github: use keyfile 2018-05-05 23:44:50 +08:00
lilydjwg
a73314dc64 make keyfile path relative to the config file 2018-05-05 23:44:35 +08:00
lilydjwg
d0a197115c support more kwargs for get_version implementations 2018-05-05 23:40:04 +08:00
lilydjwg
6c044b010e add KeyManager 2018-05-05 23:37:07 +08:00
lilydjwg
2e4f2bc424 test: test github use_max_tag with paging and include_tags_pattern 2018-05-04 11:46:40 +08:00
lilydjwg
23e9464cda github: support paging for use_max_tag 2018-05-04 11:46:26 +08:00
lilydjwg
081266e807 structlog: a rendering processor is always needed 2018-05-04 11:29:52 +08:00
lilydjwg
317ff6d97a github: implement the include_tags_pattern pattern, closes #70 2018-05-04 11:05:25 +08:00
lilydjwg
1be2f5fe80 github: add docs about new include_tags_pattern option 2018-05-04 11:01:23 +08:00
lilydjwg
7676628b57 json logging to stdout instead 2018-04-14 13:44:33 +08:00
lilydjwg
8b2c933d02 Merge branch 'structlog'
closes #67
2018-04-14 00:09:01 +08:00
lilydjwg
a8f8a41c46 update tests 2018-04-14 00:01:57 +08:00
lilydjwg
d7ce75a2fd source.cmd: fix typo 2018-04-13 23:59:18 +08:00
lilydjwg
bb629ec561 source.cmd: reject empty results
also better logging
2018-04-13 23:48:12 +08:00
lilydjwg
07fe08c639 support use both loggers 2018-04-13 23:30:05 +08:00
lilydjwg
85288583e1 rename --logger argument to indicate usage than implementation 2018-04-12 13:52:05 +08:00
lilydjwg
e9357f490d fix name info on exception 2018-04-11 17:03:50 +08:00
lilydjwg
8d2690e344 try Python 3.7 again 2018-04-11 16:50:13 +08:00
lilydjwg
cb6d38ed43 update travis config 2018-04-11 16:47:48 +08:00
lilydjwg
a5510113aa update README and setup.py 2018-04-11 16:45:19 +08:00