microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.66k stars 330 forks source link

Git command line changes for WSL #3893

Closed ssparach closed 2 months ago

ssparach commented 2 months ago

Summary of the pull request

This PR contains the last set of changes to allow file explorer integration of a WSL git repository. It does this by using WSL command line to obtain all property information from git.

References and relevant issues

https://github.com/microsoft/devhome/issues/3829

Detailed description of the pull request / Additional comments

This PR:

Note: This PR removes LibGit2Sharp usage where applicable and other unused library using statements. However, it does not completely clean usage of LibGit2Sharp library as the enum definitions from this library are being relied on such as FIleStatus etc. A separate bug has been created to track the complete removal of LibGit2Sharp from the git extension project (i.e. Create custom enum definitions for FileStatus, SubmoduleStatus to remove LibGit2Sharp dependency from git extension project · Issue #3894 · microsoft/devhome (github.com)). This improvement is not blocking to this PR.

Validation steps performed

Build of msix package Unit Testing Validation of functionality in VM

image

PR checklist

ssparach commented 2 months ago

Thanks a lot for reviewing, everyone! I went through the PR comments and did not find any blocking issues. To speed up the selfhost of this functionality, I will go ahead and wrap up this PR now. I will be sure to address the minor suggestions in a future PR.