Page MenuHomePhabricator

Add diff-matching stalk node
Closed, MigratedPublic10 Story Points

Description

  • AddedLines
  • RemovedLines

Need to retrieve and parse diffs

Event Timeline

stwalkerster triaged this task as Wishlist priority.Mar 3 2018, 11:17 PM
stwalkerster created this task.
stwalkerster renamed this task from check the diffs too to Add diff-matching stalk node.Mar 26 2018, 11:32 PM
stwalkerster set the point value for this task to 10.
stwalkerster updated the task description. (Show Details)
stwalkerster raised the priority of this task from Wishlist to Low.Apr 3 2018, 11:22 PM

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=compare&format=json&fromrev=837806815&torev=837819167

We can pull out the IDs from the diff URL of the change. We get back a text blob consisting of a set of HTML table rows.

We need to parse <td class="diff-deletedline"> and <td class="diff-addedline">

Additionally, there is <del class="diffchange diffchange-inline"> present, and a likely equivalent for added lines.

swalker lowered the priority of this task from Low to Wishlist.Aug 6 2019, 4:07 PM
stwalkerster claimed this task.