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
lilydjwg
870fb99182
port more sources
2020-08-17 22:04:44 +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
8520a62271
update httpclient implementations
2020-08-15 17:02:19 +08:00
lilydjwg
19553c3564
create an api for modules
2020-08-14 20:04:05 +08:00
lilydjwg
72d1d27f89
port more sources, add cache.get_json
2020-08-14 18:25:48 +08:00
lilydjwg
961c1315ef
better and simpler caching mechanism
2020-08-13 20:42:24 +08:00
lilydjwg
b76bfb5606
fixes
2020-08-13 20:03:07 +08:00
lilydjwg
435edf8589
support simpler source with only one get_version funcion
...
also caching is working now
2020-08-13 20:03:04 +08:00
lilydjwg
0232d0fb4f
aur: optimize requests
2020-08-13 20:03:00 +08:00
lilydjwg
14b3863f11
version 2: MVP
2020-08-11 17:43:03 +08:00