Commit graph

347 commits

Author SHA1 Message Date
lilydjwg
2325d2ac74 bump version to 2.9 2022-06-27 20:33:39 +08:00
lilydjwg
e683476fb2 avoid the whole process taken down by a single _process_result 2022-06-12 12:22:07 +08:00
lilydjwg
88cbdd925c fix mypy 2022-06-05 14:41:57 +08:00
lilydjwg
ffe84cae08 add support for using awesomeversion to compare versions 2022-06-05 14:31:54 +08:00
lilydjwg
f2aa4cad20 fix typos 2022-04-21 17:16:34 +08:00
lilydjwg
48f82e819b bump version to 2.9dev 2022-04-21 17:16:23 +08:00
lilydjwg
257b0f63fe packaging issue fixed
It was setuptools-scm that caused a lot of unintended files to be
packaged. That package was required by twine but it's no longer needed
now.
2022-04-11 19:17:39 +08:00
lilydjwg
5605f62269 bump version to 2.8 2022-04-11 18:40:15 +08:00
lilydjwg
2e042d7576 fix httpx and aiohttp issues
It seems that we no longer need to close the sessions.
2022-04-07 13:44:38 +08:00
lilydjwg
2ea44d3694 make mypy happy 2022-04-02 12:07:20 +08:00
lilydjwg
c6ed37ada1 nvcmp: optionally exit with 4 if there are differences
closes #196.
2022-02-28 14:09:12 +08:00
lilydjwg
ff1c980456 bump to version 2.8dev 2022-02-23 11:11:29 +08:00
lilydjwg
3dff0466d1 bump version to 2.7 2022-02-18 19:36:44 +08:00
lilydjwg
d8c26fa666 minor update 2022-02-13 14:36:13 +08:00
Tom Rathborne
ea01b6d9ee
Add all option to cmp (#209)
Add --all option to nvcmp to get all packages, even with no version change
2022-02-13 14:34:32 +08:00
Tom Rathborne
6d8f00036d Handle sort=none better 2022-02-10 09:45:43 +01:00
Tom Rathborne
9ea6f37712
Merge branch 'lilydjwg:master' into Add-JSON-output-to-cmp 2022-02-09 16:11:41 +01:00
Tom Rathborne
3e88d74043 Split comparison process from output and provide JSON output for automated tooling 2022-02-09 13:27:20 +01:00
lilydjwg
da1d204307 bump version to 2.7dev 2022-02-08 14:42:04 +08:00
lilydjwg
31492c4eb0 bump to version 2.6.1 2022-02-04 16:57:42 +08:00
lilydjwg
ac1aafc9f1 use asyncio.get_event_loop() for Python < 3.10
fixes #207.
2022-02-04 16:53:56 +08:00
lilydjwg
2f61336ce3 bump version to 2.6 2022-02-02 11:20:52 +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
f3be1c585f regex: make sure we don't have more than one group in the regex 2021-11-06 10:44:10 +08:00
lilydjwg
3ef83b0a95 bump version to 2.5 2021-10-03 16:48:44 +08: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
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
ddd99bd59f tweaks for mypy 2021-07-18 17:24:03 +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
f8dd1a4212 docs: add an inline sample config
also fix the code block display
2021-07-01 19:38:17 +08:00
lilydjwg
ffaca8c949 option to not verify HTTPS certificate
fixes #190.
2021-06-23 16:08:47 +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
1b7736a549 bump version to 2.4dev and fix docs/*.py being included in dist tarball 2021-03-19 13:51:48 +08:00
lilydjwg
46da41147f version 2.3
update docs for gitlab source.
2021-03-19 13:41:26 +08:00
Chih-Hsuan Yen
bf8a4c9298
Use pytest for sortversion tests 2021-02-21 15:24:01 +08:00
lilydjwg
9c2d2a39d7 httpclient: add follow_redirects argument 2021-01-28 17:56:18 +08:00
lilydjwg
2e069fe1c7 add headers to HTTP Response objects and support for HTTP HEAD method 2021-01-28 17:43:09 +08:00
Felix Yan
e6c0ce38e5
Add a command line option to run nvchecker only on a specific entry
This is useful for debugging purpose, when your nvchecker.toml is very
large.
2020-11-17 06:34:53 +08:00
lilydjwg
e5a28b0fb1 bump version to 2.3dev 2020-11-10 23:27:55 +08:00
lilydjwg
64994e4a74 version 2.2 2020-11-03 14:29:45 +08:00
lilydjwg
b83f92cc67 give better error messages when failing to load file 2020-10-24 16:31:18 +08:00
Chih-Hsuan Yen
8d83d7ac66
Add exception HTTPError for HTTP 4xx errors 2020-10-06 22:21:56 +08:00
lilydjwg
926e75c075 fix versions sorting 2020-10-06 10:18:21 +08:00