ef-labs / stash-hook-mirror

An Atlassian Stash repository hook for mirroring to one or more remote git repositories.
MIT License
77 stars 58 forks source link

Setting up a git mirror destination #10

Closed orbitz closed 11 years ago

orbitz commented 11 years ago

When I try to enable the plugin for a specific repo, it asks me for some configuration options, and it requires an http(s) url, username, and password. I have a git location and am using public/private keys for the authentication, how do I add a mirror destination then? The previous version of Mirror let me do this.

orbitz commented 11 years ago

I lied, it is a different plugin I was using that didn't require this. But it would be really awesome if this did.

adrianluisgonzalez commented 11 years ago

As long as you install the ssh key for the user stash runs as, this should be fine. I should be able to get to this in the next day or so.

orbitz commented 11 years ago

How do I enable the plugin and create a mirror then? When I type in anything like git expects it says it must be an https URL.

adrianluisgonzalez commented 11 years ago

The code has not been modified yet, I will make the change in the next couple days. This issue has been added to the Release 1.4.0 milestone.

orbitz commented 11 years ago

Fantastic!

adrianluisgonzalez commented 11 years ago

Released v1.4.0 on the Atlassian marketplace