Commit Graph

774 Commits

Author SHA1 Message Date
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
2f61336ce3 bump version to 2.6 2022-02-02 11:20:52 +08:00
lilydjwg
bc2c2edfde update test_android_sdk.py 2022-01-20 17:22:24 +08:00
lilydjwg
1fb3c970cf fix types and tests 2022-01-20 16:38:10 +08:00
lilydjwg
112c916a6d add --failures cmdline flag to indicate there are errors during checking
closes #205.
2022-01-20 14:45:21 +08:00
lilydjwg
83286263d2 [mypy] remove some unusted type: ignore 2021-12-29 17:15:29 +08:00
lilydjwg
5e60a1dc86 replace the toml library with tomli 2021-12-29 16:36:23 +08:00
lilydjwg
8d4982d440 try asyncio.run again
because asyncio.get_event_loop() is deprecated.
2021-12-14 12:58:55 +08:00
lilydjwg
91cbed1f8e httpx: allow_redirects becomes follow_redirects 2021-11-06 10:59:48 +08:00
lilydjwg
b8b6e47d59 update test_apt 2021-11-06 10:57:41 +08: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
lilydjwg
f8be3e7418 doc: \ in ` ` should not be escaped
Vim syntax has an error with this.
[skip ci]
2021-11-02 11:23:03 +08:00
lilydjwg
e93f91af57 doc: remove an erroneous `
[skip ci]
2021-11-02 11:20:41 +08:00
lilydjwg
d24f64a4f0 doc: update example to use toml syntax
fixes #204.
[skip ci]
2021-11-02 11:11:55 +08:00
lilydjwg
ceb573f337 Python 3.10 2021-10-07 14:46:13 +08:00
lilydjwg
3ef83b0a95 bump version to 2.5 2021-10-03 16:48:44 +08:00
依云
750999f397
Merge pull request #201 from yuyichao/post
Support HTTP POST request in the htmlparser and regex source
2021-09-07 13:13:19 +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
Yichao Yu
c65a5343ed
httpclient: Support arbitrary request body
The body will be supplied as a string. This is the only method I can find
that is supported by all the backends as well as the config file.

Make sure all the backends have the same default content types.
2021-09-05 16:23:26 -04:00
依云
4d6e87a975
Merge pull request #200 from yan12125/fix-regex
regex: make sure regex fails if nothing is found
2021-08-31 20:18:52 +08: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
依云
f443fa8e96
Merge pull request #199 from yan12125/update-tests
Update tests
2021-08-22 23:20:31 +08:00
Chih-Hsuan Yen
b8afc43430
Update tests
* Use a seemingly never updated container for testing container
  registries other than docker.io
* Update versions for openvsx and vsmarketplace
2021-08-22 22:43:33 +08:00
依云
20183a83e5
Merge pull request #198 from yan12125/relax-test-anitya
anitya: relax the test - shutter is updated often these days
2021-08-07 15:13:18 +08:00
Chih-Hsuan Yen
44b9f1856f
anitya: relax the test - shutter is updated often these days 2021-08-07 14:37:18 +08:00
lilydjwg
02515fc82d cleanup dependencies and update setup.py
closes #197
2021-07-29 13:13:00 +08:00
lilydjwg
b70de0a628 version 2.4 2021-07-28 19:13:08 +08:00
lilydjwg
4643652eaf update keyfile.toml.enc
[skip ci]
2021-07-27 16:06:39 +08:00
lilydjwg
ad24b841cf github actions: run apt update 2021-07-25 19:49:00 +08:00
lilydjwg
494c4ddf67 alpm: make repo option optional 2021-07-25 19:38:26 +08:00
lilydjwg
11aea624e6 update docs about parse_version
[skip ci]
2021-07-18 21:20:20 +08:00
lilydjwg
ddd99bd59f tweaks for mypy 2021-07-18 17:24:03 +08:00
lilydjwg
9a42ed9503 alpm: make sure we get the repo config 2021-07-18 17:14:18 +08:00
lilydjwg
606b3f65fb vendor packaging.version for our own use
because LegacyVersion is deprecated.
closes #180.
2021-07-18 17:12:06 +08:00
lilydjwg
151b03801f update tests 2021-07-14 22:45:13 +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
f8dd1a4212 docs: add an inline sample config
also fix the code block display
2021-07-01 19:38:17 +08:00
依云
0f44759b35
Merge pull request #193 from murlakatamenka/improve-docs
Docs: add sample keyfile.toml
2021-07-01 19:27:23 +08:00
Sergey A
822eb76a1c Docs: add sample keyfile.toml 2021-07-01 10:46:14 +03:00
lilydjwg
92e422c726 add doc for the cratesio source
closes #192
[skip ci]
2021-07-01 15:04:56 +08:00
lilydjwg
6fd3ba95ba apt: handle multiple verions correctly
closes #191
2021-06-25 15:22:40 +08:00
lilydjwg
4c4b770c27 docs: clarify behavior when from_pattern is not matched
[skip ci]
2021-06-24 11:18:35 +08:00
lilydjwg
ffaca8c949 option to not verify HTTPS certificate
fixes #190.
2021-06-23 16:08:47 +08:00
lilydjwg
3eee6480ab docs: remove trailling space
[skip ci]
2021-06-11 16:19:49 +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