diff --git a/advisors/check_upstream.py b/advisors/check_upstream.py index 5b8604f7f2742bddf95ce6a5f2c05a0fa6c2631d..dc02471f44903d70944eaefdeeb27658bf41c818 100755 --- a/advisors/check_upstream.py +++ b/advisors/check_upstream.py @@ -345,7 +345,9 @@ def __check_git_helper(repo_url): else: os.mkdir("git") os.chdir("git") - git_repo = os.path.basename(repo_url).split('.')[0] + + git_repo_list = os.path.basename(repo_url).split('.')[0:-1] + git_repo = ".".join(git_repo_list) zip_file = git_repo + ".zip" if os.path.isfile(zip_file): shutil.unpack_archive(zip_file, git_repo) diff --git a/upstream-info/python-requests-kerberos.yaml b/upstream-info/python-requests-kerberos.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9ac430b71c84370d57529c287c8e3fa013eb81df --- /dev/null +++ b/upstream-info/python-requests-kerberos.yaml @@ -0,0 +1,5 @@ +version_control: github +src_repo: requests/requests-kerberos +tag_prefix: "^v" +separator: "." +git_url: https://github.com/requests/requests-kerberos.git diff --git a/upstream-info/python-rply.yaml b/upstream-info/python-rply.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2795d7c886ef4e72e4a5f17cefb392961a9aadcb --- /dev/null +++ b/upstream-info/python-rply.yaml @@ -0,0 +1,6 @@ +version_control: github +src_repo: alex/rply +tag_prefix: "^v" +separator: "." +git_url: https://github.com/alex/rply.git + diff --git a/upstream-info/swagger-core.yaml b/upstream-info/swagger-core.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5d289bb6a9c163cafa78688997e02e72f157d952 --- /dev/null +++ b/upstream-info/swagger-core.yaml @@ -0,0 +1,5 @@ +version_control: github +src_repo: swagger-api/swagger-core +tag_prefix: "^v" +separator: "." +git_url: https://github.com/swagger-api/swagger-core.git