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
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
3691fa9a51
feat: add richer results
2024-03-04 13:10:13 +01:00
David Arnold
e3e8415251
feat: add netrc support
...
backwards compatible
2024-03-02 10:46:46 +01: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
lilydjwg
d35fb3b5bc
bump version to 2.13
2023-12-15 15:58:19 +08:00
lilydjwg
eaac776a90
nvtake: clean up old records from oldver file on saving
2023-12-04 17:49:14 +08:00
Andreas Schleifer
0ba8cd41de
feat(tools): handle symlinks correctly for take command ( #240 )
2023-11-29 00:20:59 +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
Daniel Peukert
a04d6b0fc6
implement rich result support for list-based sources
2023-10-18 01:59:30 +02:00
lilydjwg
d00203d103
fix: Python < 3.10 doesn't have kw_only for dataclass
2023-10-14 14:54:56 +08:00
lilydjwg
bdd025d995
implement url results for AUR and PyPI
...
see https://github.com/lilydjwg/nvchecker/issues/238 .
2023-10-14 14:52:10 +08:00
lilydjwg
cc4a0cd301
support url in results
2023-10-14 14:52:10 +08:00
lilydjwg
0fd35f4458
minor fix of a docstring
2023-10-14 14:52:10 +08:00
lilydjwg
5a972cd0d0
alpm: community repo is gone
2023-06-29 14:03:03 +08:00
lilydjwg
82dc93ceff
bump version to 2.12
2023-06-17 18:52:00 +08:00
lilydjwg
af77af34f3
fight mypy[1]
...
The following error will be reported without if:
error: Name "tomllib" already defined (by an import)
While this can be silenced by a "# type: ignore", in some case[2] mypy
will report the following error:
error: Unused "type: ignore" comment
[1]: https://github.com/python/mypy/issues/1153
[2]: https://github.com/lilydjwg/nvchecker/actions/runs/4916840821/jobs/8793454970
2023-05-09 13:31:11 +08:00
lilydjwg
62a3f336b8
bump to dev version
2023-05-08 23:28:52 +08:00
lilydjwg
e9ecbd514b
silence mypy for new module
2023-05-08 23:28:20 +08:00
Felix Yan
34e87db8f9
Use tomllib on Python 3.11+
...
Fallback to tomli for compatibility with older Python.
2023-05-08 10:52:27 +03:00
lilydjwg
80343945a1
bump version to 2.11
2023-04-06 21:00:56 +08:00
Alexandru Fikl
8366e519d6
port from deprecated appdirs to platformdirs
2023-02-01 17:15:15 +02:00
lilydjwg
add6951eae
new dev version starts
2022-11-20 13:35:54 +08:00
lilydjwg
324f2f5f59
bump version to 2.10
2022-10-30 13:57:00 +08:00
lilydjwg
9ee53041b6
catch exceptions from Worker.run
2022-08-12 13:40:33 +08:00
lilydjwg
268bd9125e
begin a new version
2022-07-16 15:47:52 +08:00
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