Websoft9/mgithub

根据设置url组织获取 repolist

Closed this issue · 2 comments

Steps to reproduce the bug

[root@VM-81-187-centos mgithub-dev]# mgithub copy template/test .
[[copy]] function is running
src_path: template/test
des_path: .
url: https://github.com/cloud-install

Print Screen of the bug

image

实际该组织下3个repo,清单里面变成了6个

Context information (for bug reports)

Output error of shell

未完成清单内容如下:
testproject
Apache License 2.0
ansible-lcmp
Other
ansible-awx
Other

在config中添加repogrep属性
默认为空,可能会出现类似的project name识别错误问题,建议使用--skip-broken跳过
repogrep = ansible,test
仅对当前组织或个人的以ansible或test开头的仓库进行操作