gitlab-mirrors -


MIT
Linux
SHELL

软件简介

gitlab-mirrors 项目的目的是为了满足当前 Gitlab 所缺少的一个特性:远程仓库的镜像。而 gitlab-
mirrors 可以创建远程仓库的只读拷贝,提供命令行接口用来管理镜像的仓库(如添加、删除和修改)。它使用的是 python-
gitlab3
来跟 GitLab
API
交互。

特性

  • 镜像不同类型的源仓库: Bazaar, Git, Mercurial, Subversion. 镜像到 git.

  • GitLab mirror adding.

    • When adding a mirror if the project doesn’t exist in GitLab it will be auto-created.

    • Set project creation defaults (e.g. issues enabled, wiki enabled, etc.)

    • Delete mirrors both local and remote.

  • non-GitLab mirror adding.

    • Manually specify the remote and don’t attempt API communication to GitLab nor attempt to create the remote project.

    • Delete mirrors locally only without communicating to GitLab to delete the remote project.

    • This feature is for mirroring git repositories generically which can be used by any git hosting server or service. This feature was originally added with mirroring GitLab wikis in mind but allows gitlab-mirrors to be more versatile.

  • Update a single mirror.

  • Update all known mirrors.

  • List all known mirrors.