-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
feat: implement diff detection using file content comparison #511
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #511 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 31 31
Lines 816 844 +28
=========================================
+ Hits 816 844 +28
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
9227104
to
f82cdfa
Compare
f82cdfa
to
67183f4
Compare
67183f4
to
5c54cce
Compare
Code Climate has analyzed commit 5c54cce and detected 0 issues on this pull request. View more on Code Climate. |
Shipped in release $ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install [email protected] |
Explain your changes
Migrate from our line by line in house algorithm to detect change in metadata located inside files (Workflow, SharingRule, Labels, etc).
To a more robust/understandable/standard object comparison algorithm
Performance it is equivalent as the previous implementation (surprisingly)
It is more memory consuming than the previous implementation, but I don't see an impact in CI/CD (let's see)
It does not care about the indentation of the file
I have refactored a bit the code so the responsibility are more segregated and easier to unit test
Integration test are more integrated
Does this close any currently open issues?
closes #480