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.
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.