-
-
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
fix: git compatibility issue with large repository on windows #947
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #947 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 40 40
Lines 1083 1029 -54
Branches 115 103 -12
=========================================
- Hits 1083 1029 -54 ☔ View full report in Codecov by Sentry. |
Hi @kez-sophos @ALesc21 @dsweetmanusda ! Could you test on your side and help us validate this PR please ? |
c87f656
to
49cecaf
Compare
49cecaf
to
c637851
Compare
046731b
to
415c1bb
Compare
71721b7
to
07d0806
Compare
aa7a566
to
b562c3e
Compare
b562c3e
to
d37205b
Compare
4dcf568
to
e523e24
Compare
Performance testCurrent Pull request (
|
HI @scolladon, should I install the new version with the command below and provide the output? sfdx plugins:install sfdx-git-delta@dev-947 |
Yes @ALesc21 ! sfdx plugins:install sfdx-git-delta@latest |
.map(line => treatPathSep(line)) | ||
} | ||
|
||
public async getFilesPath(path: string): Promise<string[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function getFilesPath
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
hi @scolladon, after the installation of the new version I run the delta command and could build successfully a package with the latest api version.
|
2b9dfef
to
1d5e6f4
Compare
Code Climate has analyzed commit 1d5e6f4 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Thank you very much for your contribution @ALesc21 Feel free to contribute as well @kez-sophos & @dsweetmanusda ! Your feedback will be really valuable and I hope it will fix your situation as well. |
hi @scolladon, I reinstalled the version and tested it again. It is still working with your fix for me on the windows server. Below you can find the steps (install dev version, check plugin, generate the package)
|
Shipped in release $ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install [email protected] Happy incremental deployment! |
the version 5.49.3 is already installed and running smoothly on the server. |
Explain your changes
Implements Git Adapter using only
simpleGit
Remove implementation using
isomorphic-git
and simplify treatmentImplementation is now a little bit simpler
But it is also slower and more dependant of git behavior in the terminal
Does this close any currently open issues?
closes #862