mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Fine tunes
This commit is contained in:
parent
a7da4207ae
commit
7f64ffa12a
2 changed files with 3 additions and 4 deletions
|
@ -648,6 +648,8 @@ pagure
|
||||||
host
|
host
|
||||||
Hostname of alternative instance like src.fedoraproject.org.
|
Hostname of alternative instance like src.fedoraproject.org.
|
||||||
|
|
||||||
|
This source returns tags and supports `list options`_.
|
||||||
|
|
||||||
Manually updating
|
Manually updating
|
||||||
-----------------
|
-----------------
|
||||||
::
|
::
|
||||||
|
|
|
@ -13,10 +13,7 @@ PAGURE_URL = 'https://%s/api/0/%s/git/tags'
|
||||||
|
|
||||||
logger = structlog.get_logger(logger_name=__name__)
|
logger = structlog.get_logger(logger_name=__name__)
|
||||||
|
|
||||||
async def get_version(name, conf, **kwargs):
|
async def get_version(
|
||||||
return await get_version_real(name, conf, **kwargs)
|
|
||||||
|
|
||||||
async def get_version_real(
|
|
||||||
name: str, conf: Entry, *,
|
name: str, conf: Entry, *,
|
||||||
cache: AsyncCache, keymanager: KeyManager,
|
cache: AsyncCache, keymanager: KeyManager,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
|
|
Loading…
Add table
Reference in a new issue