Commit Graph

282 Commits

Author SHA1 Message Date
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
Yen Chi Hsuan
ffa6eb7b8f Add documents and tests for substitution commands 2017-10-11 01:50:44 +08:00
Yen Chi Hsuan
3628505ea7 Support substitution of version strings 2017-10-10 00:39:24 +08:00
lilydjwg
f3653c79c8 update tests (3rd time) 2017-08-30 17:53:25 +08:00
lilydjwg
fd5879a4a2 update tests again 2017-08-30 17:36:55 +08:00
lilydjwg
fcd38b0bf7 update tests 2017-08-30 17:34:05 +08:00
lilydjwg
156e281a82 nvtake: add support for '--all'
fixes #60
2017-08-30 14:27:00 +08:00
lilydjwg
dfbc91f22e ignore when version records file does not exist 2017-08-30 14:26:25 +08:00
lilydjwg
e25f0bebce update sample_source.ini 2017-08-30 14:26:03 +08:00
lilydjwg
ac6616afd6 fix get_version returning None 2017-08-13 18:49:36 +08:00
lilydjwg
f98ef68949 replace linebreaks in version strings
linebreaks in version breaks nvchecker
2017-08-13 11:54:22 +08:00
依云
0912747416 Merge pull request #58 from felixonmars/improve-error
Improve error message for non-exist nvtake targets
2017-08-05 08:38:26 +08:00
Felix Yan
39d1895b2b
Improve error message for non-exist nvtake targets
`nvtake foo` was giving the following error:

```
Traceback (most recent call last):
  File "/usr/bin/nvtake", line 11, in <module>
    load_entry_point('nvchecker==0.5', 'console_scripts', 'nvtake')()
  File "/usr/lib/python3.6/site-packages/nvchecker/tools.py", line 34, in take
    oldvers[name] = newvers[name]
KeyError: 'foo'
```

This is unclear and too verbose. With the change it is now:

```
[C 08-05 02:51:46.767 tools:38] foo doesn't exist in 'newver' set.
```
2017-08-05 02:51:14 +08:00
lilydjwg
933df7da4c update README for anitya, change version to dev
closes #57
2017-07-25 15:36:40 +08:00
lilydjwg
2d2f7149aa add Anitya support 2017-07-25 15:27:49 +08:00
lilydjwg
c3503c34ac bump version 2017-07-11 14:08:01 +08:00
依云
0115089279 Merge pull request #56 from felixonmars/fix-typo
Fix a typo: seperated -> separated
2017-07-10 16:18:38 +08:00
Felix Yan
0202eaa404
Fix a typo: seperated -> separated 2017-07-10 15:49:36 +08:00
lilydjwg
b46cea9dda fix pkg_resources dep checking 2017-07-09 08:48:52 +08:00
lilydjwg
189847ffdc Revert "make AUR tests more flaky"
This reverts commit 61df628bd8.

It doesn't help :-(
2017-07-08 16:15:17 +08:00
lilydjwg
61df628bd8 make AUR tests more flaky 2017-07-08 16:11:16 +08:00
lilydjwg
c81a826c57 github wants the User-Agent header properly set 2017-07-08 16:06:33 +08:00
lilydjwg
1bb14397ed no need to return name now; we track this on the futures 2017-07-08 15:59:54 +08:00
lilydjwg
774c36f4fe fix bitbucket source 2017-07-08 15:52:30 +08:00
lilydjwg
f0f841db71 fix test_proxy skipping logic 2017-07-08 15:48:43 +08:00
lilydjwg
19be32164f fix that aiohttp uses 'read()' on response, but tornado doesn't 2017-07-08 15:48:03 +08:00
lilydjwg
3226a76cfe fix __config__ without oldver and newver 2017-07-08 15:18:34 +08:00