Small bash script which converts all Repos from a Gitolite or any other Git Server to a new Stash instance.
Blogarticle: http://tommyziegler.com/how-to-migrate-gitolite-or-other-git-server-repos-to-stash-automatic/
Copy the repository:
$ git clone https://github.com/tommyziegler/gitolite-to-stash-converter.git
Setup the variables to your enironment in start.sh:
[email protected]
STASH_SERVER=stash.tommyziegler.com
STASH_SERVER_PORT=7999
STASH_TEAM=TOMMYZIEGLER
STASH_TEAM_LOWERCASE=tommyziegler
STASH_USER=tommyziegler
STASH_PASS=password
Run the script:
$ chmod +x start.sh
$ ./start.sh
Tested with Atlassian Stash v3.6.0