Changing Fisheye repository from Github to Stash - how?

We're trying to transition from Github to Stash at the moment, and of course one side-effect of this is that our Fisheye / Crucible instance that tracked all of our Github repos is now tracking the wrong code.

Given that our Github repo was mirrored to Stash as per the online docs, I would hope that there is a simple way to just re-point the repo in Fisheye and have everything just magically keep working. But alas, this is what happened when I tried to do that:

http://cl.ly/image/2f303p2O1S2C

Is there any way to achieve this transition without dropping the repo from Fisheye and adding a new one? I can only assume that dropping the repo will be extremely destructive to our existing (long) history of Crucible reviews that link to that code.

2 answers

1 accepted

1 vote

Glen,

You should be able to update the repository location, then reclone and reindex which will recreate the FishEye index without disrupting the Crucible data.

First step would be to make a backup :-)

Thanks Conor - that did the trick.

0 vote

Hi Glenn,

There is currently no way to automatically import Stash repositories into FishEye. However, we have an open issue to address this which can be tracked, commented or voted on here: https://jira.atlassian.com/browse/STASH-2589

As suggested in the above link, if you're using FishEye 2.10.0 - 2.10.7 you can try to use this plugin:

https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync

I hope this helps!

Hi Felipe,

Thanks for the response, but that's not really what I'm after. The solutions you're talking about are for automatically adding Stash repos to Fisheye. We only have a handful of repos so I'm not concerned with the manual effort of adding Stash repos to Fisheye.

What I am concerned with is preserving the history of reviews that we have (that stretches back years) based on the commits in our Github repo on Fisheye. What I want to do is remove the Github repo from Fisheye and add the Stash repo to Fisheye, and have all the Crucible reviews that reference commits from the old Github Fisheye repo now point to the Stash Fisheye repo.

Put another way:

- If I delete the Github repo from Fisheye, then add the Stash repo, will Crucible be smart enough to link up all the commits for the old reviews with the new Stash-based repo?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

454 views 6 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you