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
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
Felix Yan
52ab39d92e
Fix f-string in github source
2020-09-03 04:38:14 +08:00
Felix Yan
30fe6e6d49
Use f-string for better readability
...
Since we are targeting 3.7+, it should be safe to use them now.
2020-09-03 00:51:46 +08:00
Felix Yan
7f64ffa12a
Fine tunes
2020-09-01 18:13:56 +08:00
Felix Yan
a7da4207ae
Add support for Pagure
2020-09-01 18:11:57 +08:00
lilydjwg
307c0db0f8
remove vcs source from here and update README
...
It's cumbersome and prevent the project to be zip_safe. Move it to where
it's used (archlinuxcn/lilac) so that it can evolve with that project.
2020-08-30 18:22:58 +08:00
lilydjwg
a2a239bdc6
nvchecker_source/manual: convert to string
...
because it's often written as an int or float, especially when
converting from YAML.
2020-08-30 17:49:39 +08:00
lilydjwg
e59766f839
add the ini2toml script
2020-08-21 17:42:31 +08:00
lilydjwg
2d0d3cfcee
bitbucket: minor cleanup
2020-08-20 15:39:21 +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