Commit graph

458 commits

Author SHA1 Message Date
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
lilydjwg
75873b5281 update test_aur 2017-11-05 16:41:06 +08:00
Yen Chi Hsuan
8a17ccfd6b Use asyncio locks to ensure cache are always used 2017-11-05 01:38:51 +08:00
Yen Chi Hsuan
5df11f7b1a Improve android_sdk version extractor
* Add README
* Update author info
* Cache repo manifests
2017-11-05 01:29:12 +08:00
Yen Chi Hsuan
bb3fa58481 Add tests for Android SDK packages 2017-10-29 22:57:59 +08:00
Yen Chi Hsuan
02601c0b58 Support checking versoins from Android SDK 2017-10-13 00:19:57 +08:00
依云
3083ef6a1f Merge pull request #61 from yan12125/substitute-versions
Add support for substitutions of version strings
2017-10-13 00:15:10 +08:00
Yen Chi Hsuan
a1222a0820 Catch exceptions with version substitutions and log them 2017-10-12 22:56:24 +08:00
Yen Chi Hsuan
05b604530c Refine docs of substitution options and add a test for option priority 2017-10-12 22:48:06 +08:00
Yen Chi Hsuan
78fef9d34d Fix README 2017-10-11 01:58:21 +08:00
Yen Chi Hsuan
b834f9a81c Add a link for the new section 2017-10-11 01:57:35 +08:00