Commit Graph

937 Commits

Author SHA1 Message Date
依云 7960541a34
Merge pull request #262 from yan12125/fix-tests
tests: update Debian package versions again
2024-04-08 15:06:18 +08:00
Chih-Hsuan Yen c306b44711 tests: update Debian package versions again 2024-04-08 14:31:24 +08:00
rocka 47ce6fc2e4
feat: add jq source (#261)
feat: add jq source to parse json
2024-03-31 16:10:09 +08:00
依云 511922e6fb
Merge pull request #260 from yan12125/fix-tests
tests: update Debian package versions
2024-03-24 11:52:00 +08:00
Chih-Hsuan Yen beceadddee tests: update Debian package versions 2024-03-24 11:45:49 +08:00
lilydjwg de1a3c6fc2 record rich results in verfile and get rid of Result & VersData types
Use RichResult to replace Result; Result was RichResult plus entry name.
2024-03-14 18:30:15 +08:00
David Arnold f29bdee6a3
feat: return full results from result processing 2024-03-14 10:40:25 +01:00
David Arnold 9dd7fb1736 fix: #255
this ensures the newver file keeps untouched records
2024-03-11 21:26:04 +08:00
David Arnold 03819388e8 feat: log up-to-date when single entry 2024-03-11 21:26:04 +08:00
lilydjwg 471b66ff4c tests: use pytest-rerunfailures instead of flaky
flaky is no longer compatible with pytest 8.0 and seems unmaintained.

https://github.com/pytest-dev/pytest/issues/12066
2024-03-09 20:23:25 +08:00
lilydjwg 4ec12d30fd mercurial: tests: update asyncio mark 2024-03-09 19:59:01 +08:00
lilydjwg 1005bd5f01 mercurial: update tests 2024-03-09 19:19:06 +08:00
lilydjwg 4ad3bdb95d go: style: unify indentation etc 2024-03-09 18:48:47 +08:00
lilydjwg 35a19f30ae mercurial: minor update 2024-03-09 18:45:19 +08:00
lilydjwg 5227df6f5b Merge remote-tracking branch 'origin/pr/170' 2024-03-09 18:44:04 +08:00
lilydjwg e19f033f15 Merge remote-tracking branch 'origin/master' 2024-03-09 18:41:47 +08:00
yingziwu 0e0eb2c363
feat: add go pkg support (#259) 2024-03-09 18:41:20 +08:00
lilydjwg a7e6512e70 use LiteralString (although mypy hasn't supported it yet)
https://github.com/python/mypy/issues/12554
2024-03-09 18:37:05 +08:00
lilydjwg c53952c75c httpheader: fix GetVersionError usage 2024-03-09 18:28:44 +08:00
lilydjwg 9784e64307 still fix 2024-03-08 20:49:37 +08:00
lilydjwg 5d908b34a6 fixes 2024-03-08 20:39:13 +08:00
lilydjwg 1d19082673 Merge remote-tracking branch 'origin/pr/254' 2024-03-08 20:34:16 +08:00
lilydjwg 370711c878 fix linter warnings 2024-03-08 20:33:31 +08:00
David Arnold 03c2e25bbd
feat: implement more metadata for git{,ea,hub,lab} 2024-03-04 13:10:14 +01:00
David Arnold 3691fa9a51
feat: add richer results 2024-03-04 13:10:13 +01:00
David Arnold f8a73a5a92
docs: document changes don't mention the old keys
while the old way of declaring the keys is still available it is no longer documented

this should encourage new users to use the new, netrc-compatible way
2024-03-04 12:54:13 +01:00
David Arnold 8c82c3c289
feat: add configurable host to github 2024-03-02 10:47:50 +01:00
David Arnold e3e8415251
feat: add netrc support
backwards compatible
2024-03-02 10:46:46 +01:00
lilydjwg 6b73d8cd87 update github source to handle rate limits according to current github docs 2024-02-29 21:00:13 +08:00
lilydjwg 60d88ac5d2 update github actions 2024-02-27 15:03:38 +08:00
依云 c9017d7e07
Update codeql.yml 2024-02-27 15:03:17 +08:00
lilydjwg e5751d2894 workaround a pycurl wheel issue to fix ci
https://github.com/pycurl/pycurl/issues/834
2024-02-27 14:55:10 +08:00
lilydjwg 1e5de6cbcb support using prefix and from_pattern/to_pattern at the same time
closes #249.
2024-02-27 13:52:35 +08:00
lilydjwg c944cbcac3 bump version to 2.13.1 2023-12-25 15:43:28 +08:00
lilydjwg 28c3c7076b Revert "nvtake: clean up old records from oldver file on saving"
This reverts commit eaac776a90.

Failed ones shouldn't be removed. Need a way to indicate failures.
2023-12-25 15:43:28 +08:00
依云 07c3704641
Merge pull request #246 from bianjp/bugfix-container-tag-multiarch
Fix container test for multi-arch images
2023-12-18 16:02:16 +08:00
Bian Jiaping fac30d46d9
Fix container test for multi-arch images 2023-12-18 14:58:56 +08:00
lilydjwg d35fb3b5bc bump version to 2.13 2023-12-15 15:58:19 +08:00
lilydjwg 6c63d7991f drop support for Python 3.7
It has ended its life since 2023-06-06 and is not supported by pytest-asyncio 0.23+.
2023-12-09 20:38:23 +08:00
lilydjwg 56869a45bc tests: require pytest-asyncio version >=0.23 2023-12-09 20:38:23 +08:00
Chih-Hsuan Yen 4ca61ba11a tests: fix for pytest-asyncio 0.23 2023-12-09 20:38:00 +08:00
moui0 918457afed tests: bump example and xml2 version 2023-12-07 06:01:56 +01:00
lilydjwg eaac776a90 nvtake: clean up old records from oldver file on saving 2023-12-04 17:49:14 +08:00
Bian Jiaping 4833135f87
container source plugin supports watching update of a specified tag (#243)
container source plugin supports watching update of a specified tag. Resolve #241
2023-12-02 23:45:25 +08:00
Andreas Schleifer 0ba8cd41de
feat(tools): handle symlinks correctly for take command (#240) 2023-11-29 00:20:59 +08:00
lilydjwg c863d24695 tests: aiohttp isn't ready for 3.12 yet
See also https://github.com/aio-libs/aiohttp/issues/7739
2023-10-27 17:36:22 +08:00
lilydjwg 6da6145350 tests: include Python 3.12 2023-10-27 17:19:09 +08:00
Levente Polyak 9221a476c5
feat(core): resolve symlinks on file write (#233)
* feat(core): resolve symlinks on file write

Instead of using the passed filename as the rename target, use
Path.resolve for resolving any symlinks.

This allows to use symlinks for the nvchecker database files that point
somewhere else. Before this commit nvchecker simply replaced the symlink
with an actual file, now we resolve the targets first and only replace
the actual file that is pointed to.

---------

Signed-off-by: Levente Polyak <levente@leventepolyak.net>
Co-authored-by: Andreas 'Segaja' Schleifer <webmaster@segaja.de>
Co-authored-by: lilydjwg <lilydjwg@gmail.com>
2023-10-27 17:18:05 +08:00
依云 c401d239b2
Merge pull request #239 from dpeukert/feature/source-url-support
Implement URL result support for other sources
2023-10-23 16:18:30 +08:00
Daniel Peukert 55b3f671c8
implement second batch of URL results for sources 2023-10-18 21:58:29 +02:00