samrocketman / gitlab-mirrors

A set of scripts adding the ability of managing remote mirrors to GitLab.
MIT License
818 stars 169 forks source link

no-create option for interesting mirrors #19

Closed samrocketman closed 10 years ago

samrocketman commented 10 years ago

Add a --no-create option which doesn't create a remote project or try to resolve a gitlab remote. It will require a git repository as an argument which already exists. This will be useful for using gitlab-mirrors for non-gitlab projects. It will also need a --no-delete option which will not attempt to delete the remote project. Perhaps creating a gitlab-mirrors setting in the git configuration would be good so that projects which were created with --no-create will not allow remote deletion of the project so --no-delete would be enabled by default for those projects.

I think this would be an awesome and useful feature to make it more versatile. It would also mean that gitlab wikis can be mirrored since the wikis are not the same as projects in regards to gitlab repositories.

samrocketman commented 10 years ago

This will be out in the next release.