Commit Graph

691 Commits

Author SHA1 Message Date
Chih-Hsuan Yen
91daf5ad4d
Make the generated man page reproducible 2021-01-17 17:20:10 +08:00
lilydjwg
491a71add7 git source: support fetching commit hash on a branch 2020-12-24 22:01:22 +08:00
lilydjwg
a0c32ce5f0 travis: test on Python 3.9 2020-12-24 22:01:22 +08:00
依云
d053fc3ba4
Merge pull request #169 from felixonmars/limit-entry
Add a command line option to run nvchecker only on a specific entry
2020-11-17 11:44:06 +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
372454136f tests/test_alpm: add --nosign and remove an unused import 2020-11-10 23:27:09 +08:00
DDoSolitary
5622d6d0c1
add ALPM source 2020-11-09 05:07:14 +08:00
lilydjwg
630f41c19b docs: a missed - -> _ conversion
[skip ci]
2020-11-05 00:11:03 +08:00
lilydjwg
64994e4a74 version 2.2 2020-11-03 14:29:45 +08:00
lilydjwg
b4689369c8 repology: return a list of versions instead
to support list options. Returning the first isn't usually desirable.
2020-10-30 17:57:31 +08:00
Jakub Ružička
024849c242 repology: add support for subrepo
Without this, querying latest Fedora packages is impossible because they
reside in 'updates' subrepo but old 'release' versions are returned.
Same thing for openSUSE.

Example config to query Fedora 32 latest packages in updates subrepo:

[somepackage]
source = "repology"
repo = "fedora_32"
subrepo = "updates"
2020-10-30 06:06:15 +01:00
lilydjwg
b83f92cc67 give better error messages when failing to load file 2020-10-24 16:31:18 +08:00
lilydjwg
a8073e2ad5 usage.rst: mention the `git source in 2.x changes on removed vcs` one 2020-10-24 16:22:00 +08:00
lilydjwg
cddf866ef6 tests/test_archpkg: use "dbus" to test "provided"
This package provides a package and a so.
2020-10-23 17:06:44 +08:00
依云
c8b0e673ca
Merge pull request #166 from DDoSolitary/patch-archpkg-provided
fix the provided option for unversioned "provides"
2020-10-23 17:05:16 +08:00
DDoSolitary
6815b035a1
fix the provided option for non-soname "provides"
this fixes #165
2020-10-23 03:35:11 +08:00
依云
30055a9dcb
Merge pull request #164 from DDoSolitary/patch-gems-list
Add list options support for gems source
2020-10-22 00:35:59 +08:00
DDoSolitary
ab66fc0468
Add list options support for gems source 2020-10-22 00:10:45 +08:00
依云
8d1a079703
Merge pull request #163 from yan12125/android-sdk-channel
Add `channel` for Android SDK packages
2020-10-18 00:16:34 +08:00
Chih-Hsuan Yen
ea1200126b
Add channel for Android SDK packages 2020-10-10 13:19:36 +08:00
lilydjwg
d4b07d67b8 Merge branch 'master' of github.com:lilydjwg/nvchecker into master 2020-10-09 19:14:56 +08:00
lilydjwg
f8566f3f91 also install the nvchecker-notify script 2020-10-09 19:11:56 +08:00
lilydjwg
8a988ba3a3 nvchecker-notify: add the keyfile flag 2020-10-09 19:11:12 +08:00
依云
441f2a9fbd
Merge pull request #162 from yan12125/container
Add container source plugin
2020-10-07 21:14:54 +08:00
Chih-Hsuan Yen
75e72c11b3
Add container source plugin
Closes https://github.com/lilydjwg/nvchecker/issues/59
2020-10-07 19:17:48 +08:00
Chih-Hsuan Yen
8d83d7ac66
Add exception HTTPError for HTTP 4xx errors 2020-10-06 22:21:56 +08:00
Chih-Hsuan Yen
f957acc756
Use my formal English name for previous contributions 2020-10-06 22:17:47 +08:00
lilydjwg
42dfd483c7 add nvchecker-notify
which mimics `nvchecker -n` in 1.x era. See #158.

[skip ci]
2020-10-06 11:55:27 +08:00
lilydjwg
e080e32c89 remove old scripts 2020-10-06 11:54:15 +08:00
lilydjwg
926e75c075 fix versions sorting 2020-10-06 10:18:21 +08:00
lilydjwg
71612ad9b8 sort and indent version record files
See #161.
2020-10-06 10:07:20 +08:00
Felix Yan
108016aa45 Fix documentation for git source (fixes #159) 2020-10-06 10:01:25 +08:00
lilydjwg
55c4cd9868 release version 2.1 2020-10-05 23:57:30 +08:00
lilydjwg
7d4b2daa65 make make man work
[skip ci]
2020-10-05 12:26:48 +08:00
lilydjwg
ccae7d8fcf docs: add a script to convert usage.rst to a man page
[skip ci]
2020-10-04 21:18:27 +08:00
依云
c251af817a Create codeql-analysis.yml 2020-10-02 17:24:34 +08:00
lilydjwg
b3bc7ec049 exclude docs/ in setup.py
[skip ci]
2020-10-02 13:03:12 +08:00
lilydjwg
e9190df7c2 docs: try to make things clearer
[skip ci]
2020-10-02 12:54:03 +08:00
lilydjwg
494c67beb0 Merge remote-tracking branch 'origin/pr/155' into master 2020-10-02 12:38:13 +08:00
lilydjwg
54596bde3f well, let's start version 2.1 2020-10-02 12:37:57 +08:00
lilydjwg
854399a30a rename sample_source.toml to sample_config.toml
source now refers to where to get information from, e.g. "source plugins".
2020-10-02 12:35:37 +08:00
Felix Yan
071b57c580
Allow empty to_pattern
It's useful to have a partial match pattern to be replaced by an empty
string, like stripping a suffix. Let's allow it as "not to_pattern" will
reject this.
2020-10-02 04:39:57 +08:00
lilydjwg
0eca4a9b43 releasing version 2.0 2020-10-01 14:41:35 +08:00
lilydjwg
4cb63cbe65 test_gitea: remove some cases that go out of date too frequently 2020-09-28 16:12:22 +08:00
lilydjwg
4f3a900505 setup httpclient from configuration options
closes #76
2020-09-28 15:09:51 +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
依云
121b94a7eb
Merge pull request #153 from felixonmars/git
Add a git source
2020-09-24 16:44:50 +08:00
Felix Yan
3ffb34257a
Use list comprehension instead of map lambda 2020-09-24 16:13:45 +08:00