Commit Graph

153 Commits

Author SHA1 Message Date
Chih-Hsuan Yen 75e72c11b3
Add container source plugin
Closes https://github.com/lilydjwg/nvchecker/issues/59
2020-10-07 19:17:48 +08:00
Chih-Hsuan Yen f957acc756
Use my formal English name for previous contributions 2020-10-06 22:17:47 +08:00
lilydjwg 494c67beb0 Merge remote-tracking branch 'origin/pr/155' into master 2020-10-02 12:38:13 +08:00
Felix Yan 071b57c580
Allow empty to_pattern
It's useful to have a partial match pattern to be replaced by an empty
string, like stripping a suffix. Let's allow it as "not to_pattern" will
reject this.
2020-10-02 04:39:57 +08:00
lilydjwg 4cb63cbe65 test_gitea: remove some cases that go out of date too frequently 2020-09-28 16:12:22 +08:00
lilydjwg 4f3a900505 setup httpclient from configuration options
closes #76
2020-09-28 15:09:51 +08:00
lilydjwg cd1cbfde30 support per source plugin configuration and support different registry for the npm source 2020-09-24 18:27:30 +08:00
Felix Yan c9b689d67b
Add a git source
It's a thin wrapper around the cmd source, and reuses its get_cmd
function.
2020-09-24 04:26:12 +08:00
lilydjwg 185a7e88a9 use asyncio.Semaphore instead of self-made queue 2020-09-20 22:15:54 +08:00
lilydjwg 450fa7de10 update test_gitea 2020-09-17 13:20:38 +08:00
Felix Yan d380e31881
Fix srcpkg test 2020-09-17 12:55:30 +08:00
Felix Yan a018f71186
Make mirror and suite mandatory 2020-09-17 12:53:03 +08:00
Felix Yan b620ed4e90
Support source package too 2020-09-16 18:57:50 +08:00
Felix Yan ae563d007f
Add an APT source
This source follows the same flow apt itself uses to check for a
package's version, so it can be used to check for any APT repository
(not necessarily Debian or Ubuntu).
2020-09-16 17:20:17 +08:00
lilydjwg 7bae8ece16 tests/test_debianpkg: update 2020-09-03 16:30:32 +08:00
Felix Yan a7da4207ae
Add support for Pagure 2020-09-01 18:11:57 +08:00
lilydjwg 2a2c67090c forgot to remove test_vcs.py 2020-08-30 18:34:51 +08:00
lilydjwg 376e5ad499 update test_android_sdk 2020-08-26 20:38:55 +08:00
lilydjwg 58a7ae05ca hackage is flaky 2020-08-20 17:07:16 +08:00
lilydjwg 04a95de7af gitea.com is slow on travis, try harder 2020-08-20 15:50:36 +08:00
lilydjwg 649799389f bitbucket no longer supports hg 2020-08-20 15:42:50 +08:00
lilydjwg f6ff697d21 dash doesn't have $RANDOM 2020-08-20 15:31:00 +08:00
lilydjwg e228e31b84 final tweak of keyfile 2020-08-20 15:18:43 +08:00
lilydjwg 95150fa8e9 port github source and tests (the last one!)
`include_tags_pattern` and `ignored_tags` removed, see #99
2020-08-20 15:18:28 +08:00
lilydjwg 61a67a4a5b port more tests 2020-08-18 16:45:20 +08:00
lilydjwg 7de923c1e1 remove ignored_tags from vcs and bitbucket sources
See #99.
2020-08-18 16:35:26 +08:00
lilydjwg 2f4629fb22 port gitlab source
also remove `ignored_tags` as per #99
2020-08-18 16:32:47 +08:00
lilydjwg 71015be582 port the gitea source 2020-08-18 16:22:14 +08:00
lilydjwg 0f9099aae5 port more tests 2020-08-17 16:31:59 +08:00
lilydjwg 4887ec66d9 port more tests 2020-08-17 16:21:02 +08:00
lilydjwg 10f6b1561e start porting tests to new version 2020-08-17 15:11:14 +08:00
lilydjwg 14b3863f11 version 2: MVP 2020-08-11 17:43:03 +08:00
Matti R a35a35a784
Support Gitea as source 2020-08-02 21:33:29 -04:00
lilydjwg 44687da8a6 update tests 2020-07-25 15:21:07 +08:00
lilydjwg 1bcd02aad2 tests: session-scoped ioloop is needed for aiohttp support 2020-07-02 16:10:39 +08:00
lilydjwg cbd7e13867 tornado: construct AsyncHTTPClient each time so that it uses the right ioloop
This is a better fix for #129.
2020-07-02 15:07:19 +08:00
lilydjwg 36c995eef6 tests: set event_loop fixture to be session scoped
fixes https://github.com/lilydjwg/nvchecker/issues/129.
2020-07-02 00:45:55 +08:00
lilydjwg 7a2d3d226b GitHub: add `use_latest_tag` 2020-06-14 13:55:51 +08:00
Guizai dd15f68033 feat: Add sparkle source 2020-05-05 12:20:36 +08:00
lilydjwg 4fc62d3588 tests: update test_archpkg 2020-04-08 18:17:32 +08:00
lilydjwg 09f65b2dc3 add a test for cmd with % 2020-02-28 16:02:16 +08:00
Chih-Hsuan Yen d9daa17a50
Fix Debian & Ubuntu tests 2019-12-07 11:23:44 +08:00
Chih-Hsuan Yen b6d26e68fb
Fix gitlab tests
The repo https://gitlab.com/gitlab-org/gitlab-test gets a new tag
v1.1.1, which is for testing a new GitLab feature [1][2].

[1] https://gitlab.com/gitlab-org/gitlab/merge_requests/17773
[2] https://gitlab.com/gitlab-org/gitlab-test/merge_requests/40
2019-11-29 22:42:08 +08:00
Chih-Hsuan Yen 7055ad555e
Update for upcoming ipw2100-fw 1.3-10
It's rebuilt during the last [core] mass rebuilds [1].

[1] https://lists.archlinux.org/pipermail/arch-dev-public/2019-November/029721.html
2019-11-18 16:58:44 +08:00
Mario Rodas d10f3fc5e1
tests: add needs_net marker to ubuntupkg tests 2019-11-04 21:00:00 -05:00
lilydjwg 2fca9e025c add repology source, close #115 2019-10-29 23:40:24 +08:00
lilydjwg be7e54404e archpkg: support provides 2019-10-29 00:19:07 +08:00
lilydjwg 7e44dd5767 travis: don't run test_aur 2019-10-15 18:59:16 +08:00
lilydjwg 6f48b774ae tests: add a needs_net mark for tests that require Internet access
use pytest-httpbin for test_regex

closes #113
2019-10-15 17:27:34 +08:00
lilydjwg 1e1f431f9b fix test_regex 2019-07-08 11:40:08 +08:00