Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

gitlab所有项目进行扫描时,配置的git地址需要升级 #1387

Open
fashion6years opened this issue Mar 16, 2020 · 2 comments
Open

Comments

@fashion6years
Copy link

fashion6years commented Mar 16, 2020

我使用的gitlab版本比较高,此版本的restapi只支持v4
image
然后执行python git_projects.py -a,会报以下错误,怎么解决
image

@fashion6years fashion6years changed the title gitlab所有项目及逆行扫描时,配置的git地址需要升级 gitlab所有项目进行扫描时,配置的git地址需要升级 Mar 16, 2020
@BlBana
Copy link
Collaborator

BlBana commented Apr 9, 2020

目前cobra支持v3版本的gitlab,使用v4版本的话需要升级下git_projects.py获取git URL的相关代码

@wwz801226
Copy link

如何升级这部分代码呢?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants