Hosted: Bitbucket, GitLab
Self-hosted: GitLab, Gogs
None of these come close to GitHub in my experience.
On the other hand, if you don't feel like drinking the Atlassian sugary beverage with an odd taste, there's LXR[1] (and LXRng[2]), OpenGrok[3] (remember OpenGrok?), and Etsy's Hound[4], not to mention Russ Cox's standalone Go implementation of Google's code search tool[5].
0: https://www.atlassian.com/software/fisheye 1: http://lxr.sourceforge.net/ 2: Ironically enough, search Github. lxr.linux.no went down some time ago. 3: http://opengrok.github.io/OpenGrok/ 4: https://github.com/etsy/Hound 5: https://github.com/google/codesearch
http://gitsense.bitbucket.org/
If things go smoothly, Bitbucket users will be able to make search, a first class citizen.
Edit:
I should have mentioned it, but the current version of GitSense in the Chrome store doesn't support Bitbucket. I'm still testing it out but it should be updated within the next couple of days.
It was quite disappointing, especially since Gitlabs was on the table as an option but we opted for Bitbucket since we added JIRA a couple years ago.
If the smart people here have any suggestions on how to make Bitbucket look more line GitHub, I'd love to hear.
Also, the degree to which Atlassian products integrate varies a lot. FishEye and Crucible integrate closely. Both of them integrate OK with Jira. Neither of them really integrate at all with Stash, which has its own implementation of code browsing, search, and review. Jira and Stash integrate acceptably, but not very flexibly, and not to a level that surpasses any number of third-party integrations.
And there's no level of integration that would make Confluence worth using.
There is no good reason to be a full-boat Atlassian shop, period. If Jira is what you want, use it; I'm not a huge fan of it conceptually but it there's nothing wrong with it. Crucible is decent if you're willing to put the effort in to get it set up for your workflow. Nothing else of theirs I've used is worth the time it takes to set up, let alone the cost.
I honestly have to ask: have you used GitHub Enterprise? It's search functionality is horrible. Oh, it searches for things, but it won't find things. And this isn't a rare issue. And I'm not talking about anything other than searching through master branches.
It's a tool that I cannot trust.
Searching is done at the branch level and you'll have niceties like case sensitive searches and you'll be able to search across multiple branches at once to verify bug fixes and what not. It also introduces commits and diffs search, which are currently not possible with GitHub. And once again, these searches are at the branch level.
* Even has a serious business mode, for the most serious businesses. * Written in PHP so literally anyone can contribute, even if they have no idea how to program. * Even babies and dogs can contribute. * You, too, can contribute!
And then underneath: 'Companies probably using Phabricator'
We started using it due to the Arcanist pre-commit hooks. We now use it for issue tracking and may be soon migrating our "scrum" functionality from JIRA to Ph.
The only downside I see is that it is not very well documented... in fact I will say it is all the opposite. But still, the fact that we use it happily shows how good it is!
[1] https://www.visualstudio.com/products/visual-studio-team-ser...
I get free unlimited private repositories and everything works. It's blazingly fast. I absolutely love it, not a single issue so far.
Should have switched sooner.
Destroying company culture takes some time.