lilydjwg
29f2bad400
tests: use another url because jmeter-plugins.org one has issues with Tornado's simple HTTP client.
2021-01-29 16:11:11 +08:00
lilydjwg
305c329e02
add a httpheader source
...
see #175 for use cases.
2021-01-28 18:05:58 +08:00
lilydjwg
491a71add7
git source: support fetching commit hash on a branch
2020-12-24 22:01:22 +08:00
Felix Yan
f00c6d163f
Add a mercurial source
...
This uses the json api of mercurial repositories. Verified to work on
the following hosting sites:
www.mercurial-scm.org/repo
hg.code.sf.net
hg.nginx.org
hg.mozilla.org
2020-11-18 01:28:45 +08:00
lilydjwg
372454136f
tests/test_alpm: add --nosign and remove an unused import
2020-11-10 23:27:09 +08:00
DDoSolitary
5622d6d0c1
add ALPM source
2020-11-09 05:07:14 +08:00
Jakub Ružička
024849c242
repology: add support for subrepo
...
Without this, querying latest Fedora packages is impossible because they
reside in 'updates' subrepo but old 'release' versions are returned.
Same thing for openSUSE.
Example config to query Fedora 32 latest packages in updates subrepo:
[somepackage]
source = "repology"
repo = "fedora_32"
subrepo = "updates"
2020-10-30 06:06:15 +01:00
lilydjwg
cddf866ef6
tests/test_archpkg: use "dbus" to test "provided"
...
This package provides a package and a so.
2020-10-23 17:06:44 +08:00
Chih-Hsuan Yen
ea1200126b
Add channel
for Android SDK packages
2020-10-10 13:19:36 +08:00
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