What is Fisheye?
Fisheye is a web based tool for viewing, browsing, searching and monitoring changes in source code. It works across multiple repository systems, including GIT, Subversion, CVS, Mercurial, and Perforce. We are looking into it as a replacement for ViewVC and Sventon, and as a source code viewer for a GIT repository if we implement one at SLAC.
Atlassian's Fisheye home page is here. On that page, they have a really good 3 minute video overview.
We have a test installation you can access on glastlnx20 if you are on the SLAC premises or using VPN.
Atlassian has a sandbox version using open source projects you can try out.
They also have a webinar video which goes over some of the features of Fisheye.
A discussion on the SLAC forum about Fisheye is here.
Useful Features
- Users can easily browse and search source code
- The ability to have People/accounts allows for customizable views and features not available in other similar tools
- Permissions can be set on individual repositories, integrating with Atlassian's Crowd for group level permissions.
- Analytics on code, such as commits, and Lines of Code committed
- The ability to monitor code in several ways:
- Monitor commits on either a single file, a single branch, or the entire repository
- Star an activity stream or a project to monitor it from your dashboard
- ...or "Watch" the activity instead to get email updates
- ...or just subscribe to an RSS feed
- Crowd and Jira integration
- Code review is optional using Crucible. We aren't sure if we want this/will use this.
- Plugins, such as a command line interface to fisheye!
- Examples of usage of the CLI plugin are here
People
- Again, Crowd integration adds Single-Sign on capability, so you don't need another account for this
- Fisheye will automatically map your commits according to your SLAC username and tell you about them all.
- If you have a remote repository or a different username, you can also map that username to your Fisheye account tie in your commits
- Having a user provides these benefits over systems like Sventon and ViewVC:
- Customizable Activity Streams on your Dashboard
- Your projects that are Favorited/Subscribed to will show up with an activity stream on your Dashboard
- Projects that you watch will send out emails when something in them has been changed, either instantly or a daily email depending on your preferences
- You can also follow/Subscribe to people to see what they have been working on
- Code Review notifications if we decide to continue on with Crucible
- Permissions over viewable projects
- Customizable Activity Streams on your Dashboard
Source Code
- Browsing Code
- Very easy. Code is filterable by Branch and Tag.
- You can link to anything and everything which allows easy sharing of code
- If tarballs are enabled, you can download a Tarball of a directory
- Searching source code
- You can search EVERYTHING
- Or you can search individual repositories, files, or only files whose names match a regex
- Of the files you search, you can choose to search only the commits, only the diffs, or the content of the file
- For even more control, you can write your own SQL script to search the code and order the results
- Again, you can watch code and receive emails immediately when someone changes something, or just once a day for busy repositories/files
- Jira integration lets you see changes in the code and how they relate to bugs
- Commit Graphs allow you to see how the code in other branches or tags relates to code in the trunk and lineage for files
- Charts and visualization gives you an idea of how much a project has changed over a given amount of time
Try it out
- Test installation is only usable at SLAC. The sandbox version is good to play around with if you're not at SLAC.
- Right now, it's not integrated with Crowd or Jira, but you can create a user account using your slac ID for the time being. Of course if you create an account your should not use the same password as your other SLAC accounts.
- FishEye also supports GIT, so if anyone at SLAC has a GIT (or mercurial) repository they don't mind others looking at it would be interesting to try setting up access to it via FishEye too.