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
Felix Yan
7213d84056
Avoid using regex at all
2020-09-24 05:45:09 +08:00
Felix Yan
d7624defd7
Fix mypy and regex flag
2020-09-24 04:51:28 +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
Felix Yan
71a63f90f6
npm: Fetch only first 1KB
...
The result is still large even after specifying
"Accept: application/vnd.npm.install-v1+json". Since the content we need
are always at the beginning of the response, let's make it more violent.
2020-09-23 20:04:02 +08:00
Felix Yan
23bcbf8906
npm: Request abbreviated metadata to reduce download size
...
Ref:
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md
2020-09-23 16:51:09 +08:00
Felix Yan
82d5ebb630
apt: Parse Packages and cache it to improve performance
...
It's a very noticable 20~40s to 1s improvement here.
2020-09-21 18:49:23 +08:00
lilydjwg
ac73106e43
apt: minor update
2020-09-20 23:09:40 +08:00
lilydjwg
185a7e88a9
use asyncio.Semaphore instead of self-made queue
2020-09-20 22:15:54 +08:00
lilydjwg
f4983eaea3
apt: run decompress in an executor to give other tasks time to run
2020-09-20 22:02:18 +08:00
Felix Yan
a018f71186
Make mirror and suite mandatory
2020-09-17 12:53:03 +08:00
Felix Yan
da5b489173
Use srcpkg instead of source_pkg
2020-09-16 21:19:38 +08:00
Felix Yan
b620ed4e90
Support source package too
2020-09-16 18:57:50 +08:00
Felix Yan
819a8461a4
Use deb.debian.org instead of ftp.debian.org
2020-09-16 17:41:45 +08:00