BMO/Splinter

From MozillaWiki
< BMO
Revision as of 06:06, 12 March 2013 by Glob (talk | contribs) (Created page with "== q1/2-2012 splinter work == === phase one - address current splinter pain-points === bugs that should be easy(ish) to fix, to be addressed before the rewrite. ==== patch par...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

q1/2-2012 splinter work

phase one - address current splinter pain-points

bugs that should be easy(ish) to fix, to be addressed before the rewrite.

patch parsing missing features

add now

patch parsing bugs

only action quick fixes, more complex issues can wait for the PatchReader work

  • bug 685645 splinter diff viewer gets confused by some diffs
  • bug 709897 splinter doesn't like hg diffs where a file was copied and then modified
  • bug 815531 splinter fails to display attachment 681995 correctly
  • bug 823448 Show exact replacement of code and not only the addition
  • bug 826214 New file with one line isn't shown

bugs

investigate and fix if easy

  • bug 652500 Splinter creates a comment with code review notes in the wrong place
  • bug 797840 Replying to a comment on Splinter always replies to the first comment

enhancements

fix now, all look easy

  • bug 760989 Splinter should not require login
  • bug 785314 splinter's routines which add review links to email need to be updated for html bugmail
  • bug 821889 Make it so that Splinter shouts loudly when a patch introduces Windows line endings

fix if there's time

  • bug 692431 Splinter doesn't clear drafts when publishing a review

phase two - rewrite splinter

rewrite to become more like a normal bugzilla perl/js extension, rather than a pure-js one. this paves the way for splinter to replace upstream's diff view

investigate using webkit's review system as a base instead of splinter

implementation notes

  • use PatchReader to parse diffs in perl
  • fix any outstanding patchreader issues, push upstream
  • output the patch content as full formed divs
  • output splinter objects as json data
  • use a new longdescs field (or extradata if possible) to indicate if a comment is a review, rather than parsing comments
  • use yui3? (may have issues upstream)

ux notes

  • rename "Splinter review" to just "Review"
  • add support for interdiff
  • add support for side-by-side and inline diffs