dwyl / dwyl/gogs

Feat: Git Diff should return the diff between two commits

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
discuss enhancement epic help wanted priority-1 question T1d technical
Dominant language
Elixir
Stars
10
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This is a significantly more advanced feature than what we have already built
and it's one of the _reasons_ we wanted to have this package _separate_ from the App that uses it;
it needs to be _extensively_ independently tested.

We will need to map this out carefully before diving in.
1. Diff a specific file or return a list of all the files with the diff nested?
2. Diff the current branch against the `main` (or `master`) branch?
3. Run the diff on `localhost` as there is no REST API endpoint for this.
4. Parse the result and return as plaintext so that we can visualise it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.