Commit graph

90 commits

Author SHA1 Message Date
Daniel Peukert
a04d6b0fc6
implement rich result support for list-based sources 2023-10-18 01:59:30 +02:00
lilydjwg
bdd025d995 implement url results for AUR and PyPI
see https://github.com/lilydjwg/nvchecker/issues/238.
2023-10-14 14:52:10 +08:00
Daniel Peukert
5052d82550
github: implement option to include prereleases 2023-08-25 23:23:30 +02:00
lilydjwg
5a972cd0d0 alpm: community repo is gone 2023-06-29 14:03:03 +08:00
lilydjwg
ac57d8fd15 alpmfiles: fix typing 2023-06-02 00:35:05 +08:00
Pekka Ristola
8157e08b59
Add alpmfiles source
Rewritten from the `archfiles` source in archlinuxcn/lilac
2023-05-31 21:29:17 +03:00
Alexandru Fikl
1be02fc29c
remove usage of deprecared sre_constants 2023-04-30 14:12:34 +03:00
lilydjwg
addc7d0b52 regex source: cache by url and post_data
so we can search for different regexes for the same web page.

fixes #221.
2023-03-26 17:30:08 +08:00
lilydjwg
2782205efc remove unused # type: ignore 2022-11-20 14:16:33 +08:00
lilydjwg
4c4479d4ea gitea: omit default branch if not specified, fix for blm 2022-08-25 16:46:06 +08:00
Moody Liu
7b2a464821
alpm: support searching in multiple repos 2022-08-21 14:51:06 +01:00
Vanilla
2de30c0acd vsmarketplace: use better filterType
fixes #216.
2022-06-18 16:27:17 +08:00
lilydjwg
8b32c26d1e htmlparser: handle xpath pointing to element instead of text() 2022-06-12 12:31:11 +08:00
lilydjwg
f2aa4cad20 fix typos 2022-04-21 17:16:34 +08:00
Chih-Hsuan Yen
c15e9b7576
android-sdk improvements
* Returns all matched versions to support list options
* Don't hard-code the host OS
* Document the default of `channel`
2022-04-02 11:53:27 +08:00
Pekka Ristola
e03023bd6c
add CRAN support 2022-02-22 19:06:15 +02:00
Guizai
7739f5c8c0
fix: source sparkle (#210)
fix: source sparkle
2022-02-22 20:13:18 +08:00
Alexandru Fikl
4bf2755b0e
bitbucket: use 'fields' query to restrict returned fields 2022-02-06 10:17:49 -06:00
Alexandru Fikl
a8228bb594
bitbucket: use querying and sorting for improved tag search 2022-02-04 10:31:41 -06:00
Alexandru Fikl
4f06ce7862
bitbucket: add types 2022-02-04 09:53:03 -06:00
Alexandru Fikl
dd87c0e80c
update bitbucket doc links 2022-02-02 14:27:14 -06:00
Alexandru Fikl
b6eef8a54a
bitbucket: order tags by date 2022-02-02 14:17:51 -06:00
lilydjwg
f3be1c585f regex: make sure we don't have more than one group in the regex 2021-11-06 10:44:10 +08:00
Yichao Yu
c43d4e900f
Support HTTP POST request in the htmlparser and regex source
Example:

    source = "regex"
    regex = "spcm_linux_libs_v[0-9a-zA-Z]*"
    url = "https://spectrum-instrumentation.com/spcm_downloads_downloads_ajax"
    post_data = "series%5B%5D=273&families%5B%5D=475"
2021-09-07 00:40:23 -04:00
Chih-Hsuan Yen
9acae25c0f
regex: make sure regex fails if nothing is found
This is a regression since 2019 [1].
Before that commit, max() raises ValuError if re.findall returns an
empty list. After that commit, regex fails silently if nothing is found.

[1] 7897317294 (diff-fd40f1295f9ddece86df8d2c385ddb02bd4e2a10cd20bd9a95306d3d35a9b601)
2021-08-31 20:07:06 +08:00
lilydjwg
494c4ddf67 alpm: make repo option optional 2021-07-25 19:38:26 +08:00
lilydjwg
9a42ed9503 alpm: make sure we get the repo config 2021-07-18 17:14:18 +08:00
Th3Whit3Wolf
25d7a7498d Add Visual Studio Code Marketplace 2021-07-14 22:45:13 +08:00
Th3Whit3Wolf
ad2dc19415 Add OpenVSX source 2021-07-14 13:05:45 +01:00
lilydjwg
46d724b465 update sparkle 2021-07-01 19:47:47 +08:00
lilydjwg
6fd3ba95ba apt: handle multiple verions correctly
closes #191
2021-06-25 15:22:40 +08:00
Maud LAURENT
9deb55806d
Add optional token for regex and httpheader. Add htmlparser source (#182)
add an httptoken option; add htmlparser with xpath source

Co-authored-by: Maud LAURENT <maud.laurent@eurecia.com>
Co-authored-by: lilydjwg <lilydjwg@gmail.com>
2021-06-11 16:18:39 +08:00
lilydjwg
ae506ba9cf add a combiner source and the underlying mechanism to wait for other entries' results 2021-06-08 14:55:57 +08:00
lilydjwg
d83d8d5367 aur: avoid the asyncio.wait warning 2021-06-06 12:26:53 +08:00
lilydjwg
68fcfe3924 container: add pagination
fixes #189
2021-06-06 12:13:07 +08:00
lilydjwg
f8f261c476 gitlab: omit default branch if not specified, fix for blm 2021-03-18 13:19:05 +08:00
lilydjwg
305c329e02 add a httpheader source
see #175 for use cases.
2021-01-28 18:05:58 +08:00
lilydjwg
e09750b7a2 pypi source: use packaging.version.Version directly 2021-01-15 15:40:23 +08:00
lilydjwg
491a71add7 git source: support fetching commit hash on a branch 2020-12-24 22:01:22 +08:00
DDoSolitary
5622d6d0c1
add ALPM source 2020-11-09 05:07:14 +08:00
lilydjwg
b4689369c8 repology: return a list of versions instead
to support list options. Returning the first isn't usually desirable.
2020-10-30 17:57:31 +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
DDoSolitary
6815b035a1
fix the provided option for non-soname "provides"
this fixes #165
2020-10-23 03:35:11 +08:00
DDoSolitary
ab66fc0468
Add list options support for gems source 2020-10-22 00:10:45 +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
254a229401 fix support for Python 3.7 2020-09-24 18:56:14 +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
3ffb34257a
Use list comprehension instead of map lambda 2020-09-24 16:13:45 +08:00