Hi, Review Board's diff viewer is modular (well, in theory, but we've only used it in Review Board). It should be usable in another project, though it requires other pieces of the Review Board codebase (like the SCMTools, admin settings, and accounts code). If you required Review Board as a dependency, and based some of your logic and profiles on ours, then you might be able to use it.
There are no plans to take the diff viewer and fully separate it out as an independent, reusable component, as it's a lot of work and increases our maintenance burden. However, I would take patches that reduce its requirement on other parts of our codebase, if they make sense and don't complicate things too much. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Sat, Jan 9, 2010 at 9:52 AM, Anirudh <anir...@anirudhsanjeev.org> wrote: > Hi, > > I'm writing an open-source project in django. It's like pastebin for > patches where each patch gets it's own review thread. Think > reviewboard, but where each patch gets it's own url for review, and it > is project-agnostic. A user can upload/paste a patch and get a link. > This is primarily being done as a learning exercise. > > I looked at different diff/patch libraries to parse and view the > patches. None seem as good as the Reviewboard's unified diff parsing > system. My current requirement is only something that parses unified > diffs provided as text and outputs HTML for the side-by-side diffs. > > Any help/feedback/suggestions will be greatly appreciated. > > Thank you, > Anirudh > > -- > Senior Undergraduate student, Indian Institute of Technology, > Kharagpur > http://anirudhsanjeev.org > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en >
-- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en