Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dfetch diff command #24

Closed
ben-edna opened this issue Nov 12, 2020 · 2 comments · Fixed by #197
Closed

Add dfetch diff command #24

ben-edna opened this issue Nov 12, 2020 · 2 comments · Fixed by #197
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ben-edna
Copy link
Contributor

Add a diff command, that can show any local changes made to the project after the fetch.

Fetch to local temp dir and do a diff. (optionally make it possible to generate a patch file)

@ben-edna ben-edna added the enhancement New feature or request label Nov 12, 2020
@ben-edna
Copy link
Contributor Author

ben-edna commented Jun 1, 2021

Also see #166 where a procedure is described

@ben-edna
Copy link
Contributor Author

ben-edna commented Jun 1, 2021

Alternative strategy: assuming dfetch_data.yaml is never changed by user:

  • Check if you are in git or svn repo
  • Do local diff between commit dfetch_data.yaml was added to repo and HEAD
  • With optional -o, --output flag to diff to file which should be usable in patch: in manifest see Support for patch files #22

@ben-edna ben-edna added this to the 0.3.0 milestone Jun 30, 2021
@ben-edna ben-edna self-assigned this Jul 15, 2021
@ben-edna ben-edna linked a pull request Nov 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant