mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-10 16:29:30 +00:00
add 'manual' source to specify versions by hand
This commit is contained in:
parent
819a2c69d3
commit
b5ff67fa67
@ -4,7 +4,7 @@ from importlib import import_module
|
||||
logger = logging.getLogger(__name__)
|
||||
handler_precedence = (
|
||||
'github', 'aur', 'pypi', 'archpkg', 'pacman',
|
||||
'cmd', 'gcode_hg', 'regex',
|
||||
'cmd', 'gcode_hg', 'regex', 'manual',
|
||||
)
|
||||
|
||||
def get_version(name, conf, callback):
|
||||
|
2
nvchecker/source/manual.py
Normal file
2
nvchecker/source/manual.py
Normal file
@ -0,0 +1,2 @@
|
||||
def get_version(name, conf, callback):
|
||||
callback(name, conf.get('manual'))
|
Loading…
Reference in New Issue
Block a user