diff --git a/README.rst b/README.rst index 03e6eaf..79bb1eb 100644 --- a/README.rst +++ b/README.rst @@ -648,6 +648,8 @@ pagure host Hostname of alternative instance like src.fedoraproject.org. +This source returns tags and supports `list options`_. + Manually updating ----------------- :: diff --git a/nvchecker_source/pagure.py b/nvchecker_source/pagure.py index 9d725c8..2dd2bdd 100644 --- a/nvchecker_source/pagure.py +++ b/nvchecker_source/pagure.py @@ -13,10 +13,7 @@ PAGURE_URL = 'https://%s/api/0/%s/git/tags' logger = structlog.get_logger(logger_name=__name__) -async def get_version(name, conf, **kwargs): - return await get_version_real(name, conf, **kwargs) - -async def get_version_real( +async def get_version( name: str, conf: Entry, *, cache: AsyncCache, keymanager: KeyManager, **kwargs,