问题
Is there a tool that allows me to point to a subversion repository to browse the contents of the repository. I am thinking something similar to what trac provides with SCM. I describe some of the features here for those not familiar with trac's source integration:
- access it from a browser - it must be a webapp
- ability to view any version of a file. Preferably this feature can be invoked using a url. This means one can link to a specific version of a file.
- display on a single page all the modified files in a changeset (gravy: show the diffs of the modified files)
- ability to display (in a color coded way) the diff between two versions of a file with the ability to invoke it using a url.
- a time line of changes to the repository with modified files for each changeset.
- It would be great if it's open source but doesn't have to be.
What other features should a whizzbang web based repository viewer have?
回答1:
I use WebSVN with Cruise Control .Net integration, so every build email shows the files modified and click on them shows a diff
I like trac much better but can't get my company to switch
回答2:
We use WebSVN. It has all of the features mentioned above. The reason we don't use trac is because we use FogBugz as our issue tracker, and since websvn was purely a repository browser, it fit well with FogBugz.
回答3:
Sventon is an excellent repository browser. I've written earlier about what I like about Sventon here.
I think Sventon meets your requirements (my understanding from your question), and some other nice stuff:
- Web application and so WAR installation is a breeze.
- Easy configuration.
- Support for multiple repositories.
- Files/directories can be downloaded as compressed archives (zip).
- Diff is good, three modes — inline, side-by-side and unified diff.
- If you are using Hudson for build management Sventon is supported.
- If you are using Jira and using Subversion plugin, relatively easy configuration.
回答4:
If you want to slim down Trac, components can be enabled and disabled via trac.ini. Take a look at the components section of the TracIni documentation.
回答5:
Here at my company we use ViewVC
回答6:
I like to use WebSvn. But I haven't tried much else.
来源:https://stackoverflow.com/questions/1195322/web-based-subversion-viewer