diff --git a/docs/usage.rst b/docs/usage.rst index 8ea8dc1..e4e8957 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -570,8 +570,9 @@ repo subrepo Check the version in this subrepo. This field is optional. - When ommited all subrepos are queried and first entry - (not the highest version) is returned. + When ommited all subrepos are queried. + +This source supports :ref:`list options`. Check Anitya ~~~~~~~~~~~~ diff --git a/nvchecker_source/repology.py b/nvchecker_source/repology.py index a8a6e8f..3e61a93 100644 --- a/nvchecker_source/repology.py +++ b/nvchecker_source/repology.py @@ -26,4 +26,4 @@ async def get_version(name, conf, *, cache, **kwargs): repo=repo, subrepo=subrepo) versions = [pkg['version'] for pkg in pkgs] - return versions[0] + return versions