From ee874fc55ce367c8010bd07c69fc43640400415f Mon Sep 17 00:00:00 2001 From: licihua Date: Fri, 24 Mar 2023 10:40:25 +0800 Subject: [PATCH] fix ca-certificates.yaml --- advisors/check_upstream.py | 4 ++-- upstream-info/ca-certificates.yaml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/advisors/check_upstream.py b/advisors/check_upstream.py index 74238a71..6560e64e 100755 --- a/advisors/check_upstream.py +++ b/advisors/check_upstream.py @@ -452,11 +452,11 @@ def check_git(info, clean_tag=True): resp = load_last_query_result(info) if resp == "": url = yaml2url.yaml2url(info) - tag_date = __check_git_helper(url) + tag_data = __check_git_helper(url) last_query = {"time_stamp": datetime.now(), "raw_data": tag_data} info["last_query"] = last_query - if tag_date: + if tag_data: tags = clean_tags(tag_data, info) return tags diff --git a/upstream-info/ca-certificates.yaml b/upstream-info/ca-certificates.yaml index 22d61501..f000784e 100644 --- a/upstream-info/ca-certificates.yaml +++ b/upstream-info/ca-certificates.yaml @@ -1,6 +1,5 @@ --- -version_control: git -src_repo: https://src.fedoraproject.org/rpms/ca-certificates.git -tag_prefix: ca-certificates- -separator: "_" -git_url: https://src.fedoraproject.org/rpms/ca-certificates.git +version_control: NA +src_repo: NA +tag_prefix: NA +separator: NA -- Gitee