We have a private Atlassian Bitbucket Server (previously known as Stash) hosting our git repos.
How can I search across
I really want to avoid the process of checking out all repos locally, doing git pull
and then recursive grep
.
Some plugins were available in Atlassian Stash for "enterprise search" but they didn't work for us.
If you have gotten this to work, kindly share the steps to set it up :) :)
We also needed to implement a search for all our Stash projects. Looking into various options, the best implementation was to install a dedicated OpenGrok server.
The server's crontab runs a script every 10 minutes for doing the following:
It works very well for us, and was simple to implement.
I think that eventually, this should be done with a built-in add-on, but at the time, there was none to be found.
I hope this helps.