diff --git a/advisors/helper/version_exceptions.yaml b/advisors/helper/version_exceptions.yaml index 2a5704b9413280719939ad20327ceafc66a62ccf..0af70246b01f4b6e607126bdcf273e58d09d8b8e 100644 --- a/advisors/helper/version_exceptions.yaml +++ b/advisors/helper/version_exceptions.yaml @@ -30,3 +30,5 @@ gmp: fcoe-utils: - '3.*' - '2.6.*' +nftables: + - '099' diff --git a/advisors/match_patches.py b/advisors/match_patches.py index f2f2ae6dac1466f38990479129557e253f797783..cae427fb90bcbb484cd9c6987e5480b09f8be83c 100755 --- a/advisors/match_patches.py +++ b/advisors/match_patches.py @@ -33,7 +33,7 @@ def _clone_repo(pkg_info): Clone repo to local """ repo_url = yaml2url.yaml2url(pkg_info) - if not (repo_url and repo_url.endswith(".git")): + if not (repo_url and pkg_info["version_control"].startswith("git")): print("WARNING: Patch matching only support for git repo.") return None