gitlab-mirrors项目的目的是为了满足当前Gitlab所缺少的一个特性:远程仓库的镜像。而gitlab-mirrors可以创建远程仓库的只读拷贝,提供命令行接口用来管理镜像的仓库(如添加、删除和修改)。它使用的是pytho-gitlab3来跟GitLabAPI交互。
特性镜像不同类型的源仓库: Bazaar,Git,Mercurial,Subversio. 镜像到git.
GitLabmirroraddig.
Wheaddigamirroriftheprojectdoes'texistiGitLabitwillbeauto-created.
Setprojectcreatiodefaults(e.g.issueseabled,wikieabled,etc.)
Deletemirrorsbothlocaladremote.
o-GitLabmirroraddig.
Mauallyspecifytheremoteaddo'tattemptAPIcommuicatiotoGitLaborattempttocreatetheremoteproject.
DeletemirrorslocallyolywithoutcommuicatigtoGitLabtodeletetheremoteproject.
Thisfeatureisformirroriggitrepositoriesgeericallywhichcabeusedbyaygithostigserverorservice. ThisfeaturewasorigiallyaddedwithmirrorigGitLabwikisimidbutallowsgitlab-mirrorstobemoreversatile.
Updateasiglemirror.
Updateallkowmirrors.
Listallkowmirrors.










评论