danger / danger/danger-js

Stabilization of structuredDiffForFile API

Open
#773 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.5k
Forks
381
Avg merge
2h 8m
Merged PRs (30d)
6

Description

At the moment `structuredDiffForFile` for LocalGit return `chunks` with `ln`, `ln1`, `ln2` and for Bitbucket Server with `destinationLine` and `sourceLine`. Maybe for GitHub another too, I didn't check.

Maybe need to stabilize this API?

Contributor guide

Open the contributing guide

Research direction

Start by locating the structuredDiffForFile implementations for LocalGit and Bitbucket Server, then compare the chunk fields they return. Check the GitHub implementation as well, if present; done means the API contract and consistent chunk field names are defined and applied across supported providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.