gitlab-mirrors icon indicating copy to clipboard operation
gitlab-mirrors copied to clipboard

Allow mirroring on different groups

Open soullivaneuh opened this issue 9 years ago • 8 comments

Hi and thanks for this project.

If I well understand the documentation, we have to create a "Mirrors" group and set up project to mirror that will be auto added on this group.

Could be very useful to have the possibility to set group when adding a mirror.

For example:

./add_mirror.sh --git --project-group samrocketman --project-name gitlab-mirrors --mirror https://github.com/samrocketman/gitlab-mirrors.git

Thanks.

soullivaneuh avatar Apr 17 '15 06:04 soullivaneuh

Yeah, currently the work around is to have multiple copies of gitlab-mirrors. I'd say it's an easy enough feature that I can add that :)

samrocketman avatar Apr 17 '15 12:04 samrocketman

Glad to hear it, can't wait to see this feature coming to use your tool! :+1:

I'm sorry I can't work on a PR, I'm not very familiar with Python... ;)

soullivaneuh avatar Apr 17 '15 12:04 soullivaneuh

It's not python, it's all bash. The only python bits are to interact with the GitLab API.

samrocketman avatar Apr 17 '15 15:04 samrocketman

Hmm had you plan to make this feature soon ? If not, I will take a look for a PR...

soullivaneuh avatar Apr 17 '15 15:04 soullivaneuh

I work on the project whenever in my spare time.

samrocketman avatar Apr 17 '15 17:04 samrocketman

That is to say I don't want to commit to a timeline. But I will definitely get around to create it even if you don't submit a PR. Feel free to submit a PR or you can wait until I get around to it.

samrocketman avatar Apr 17 '15 17:04 samrocketman

Possibly related #102

samrocketman avatar Nov 03 '17 23:11 samrocketman

I created a repo that makes it easy to manage multiple groups. Note, my repo does clone this one for the main files but edits the python file to add automation to group creation. You can check out the repo here -> https://github.com/Facinorous-420/gitmirrors-bs

I'll try to keep it updated and working as this one gets updated.

Facinorous-420 avatar Nov 06 '20 13:11 Facinorous-420