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

How to change generated link #59

Open spehyr opened 6 years ago

spehyr commented 6 years ago

We have bitbucket server 5.1.0 on RHEL im tryingo to use plugin version 2.2.0 and ending up with this: 2018-01-31 11:03:07,763 ERROR [threadpool:thread-1] admin @passwd 10.x.x.x,127.0.0.1 "PUT /rest/api/latest/projects/DB/repos/reponame/settings/hooks/com.englishtown.stash-hook-mirror:mirror-repository-hook/enabled HTTP/1.1" c.e.b.hook.MirrorRepositoryHook Failed to mirror repository reponame after 5 attempts. com.atlassian.bitbucket.scm.CommandFailedException: '/usr/bin/git push --prune --atomic ssh://servername/repo/git/DB/reponame --force +refs/heads/:refs/heads/ +refs/tags/:refs/tags/ +refs/notes/:refs/notes/' exited with code 129 saying: error: unknown option `atomic'

Latest version of git aviable for RHEL6 is 2.3.5 option atomic is from git-2.4+ I need some way to edit options plugin use... I did read your documents and did not find any Is there any chance for me to use this plugin?

spehyr

adrianluisgonzalez commented 6 years ago

The latest version should have a checkbox to turn the atomic flag on or off when configuring your mirrors.

screen shot 2018-01-31 at 9 39 33 am