Commit Graph

318 Commits

Author SHA1 Message Date
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
lilydjwg 9f1f769738 fix throttling
The old implementation will wait for all of the last max_concurrent ones
to complete.
2018-04-11 16:40:33 +08:00
lilydjwg 79c36641a2 switch from logging to structlog 2018-04-11 16:18:41 +08:00
lilydjwg ac1e248aac update tests 2018-04-09 14:07:19 +08:00
lilydjwg e8235ee2a2 Merge remote-tracking branch 'origin/pr/68' 2018-04-09 14:05:56 +08:00
Felix Yan fd6abcaeee
Fix a typo in nvchecker/get_version.py 2018-04-09 13:58:52 +08:00
lilydjwg b24f4ae5fe try five times for AUR tests 2018-02-07 22:05:14 +08:00
lilydjwg 6cf7867428 travis: update 2018-02-07 21:58:30 +08:00
lilydjwg 1be7b57ea0 update ubuntupkg test 2018-02-07 21:56:45 +08:00
lilydjwg ee1b8267d0 fix github tests 2018-02-07 21:42:10 +08:00
lilydjwg c150b77b61 github: don't use master as default branch 2018-02-07 18:54:09 +08:00
lilydjwg 7133ffc1a0 [test] yield_fixture is deprecated 2018-01-23 15:39:59 +08:00
依云 96b3d83849
Merge pull request #66 from felixonmars/fix-typo
Fix a typo in README
2018-01-15 09:40:38 +08:00
Felix Yan e1ca67442f
Fix a typo in README 2018-01-15 00:47:16 +08:00
依云 48c394b693
Merge pull request #65 from felixonmars/handle-exception
Handle exception for no-tag situation
2018-01-09 14:23:16 +08:00
Felix Yan 9ad63287eb
Handle exception for no-tag situation
Before:
```
[E 01-09 11:26:03.736 core:132] unexpected error happened with dnscrypt-proxy
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/nvchecker/core.py", line 128, in future_done
        version = fu.result()
      File "/usr/lib/python3.6/site-packages/nvchecker/get_version.py", line 43, in get_version
        version = await func(name, conf)
      File "/usr/lib/python3.6/site-packages/nvchecker/source/github.py", line 43, in get_version
        version = data[-1]
    IndexError: list index out of range
```

After:
```
[E 01-09 11:32:35.308 github:50] dnscrypt-proxy: No tag found in upstream repository.
```
2018-01-09 11:32:50 +08:00
lilydjwg 1693d82fd4 declare to be stable 2017-12-08 15:45:53 +08:00
lilydjwg e3d7a6c29a v1.0, yay! 2017-12-08 15:32:21 +08:00
lilydjwg 0ef27aaffd debianpkg: use sources.debian.org 2017-12-05 21:58:26 +08:00
lilydjwg 1021d5f7e4 manual: no empty values 2017-12-01 18:14:04 +08:00
lilydjwg 587203d9ec catch CURLE_UNSUPPORTED_PROTOCOL errors
fixes #63
2017-11-22 18:23:41 +08:00