-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WinGetUtilInterop project (#4045)
This PR fulfills my lifelong dream of updating the `WinGetUtilInterop` to include most of the APIs from `WinGetUtil`. Internally we have a project with all this code, so I just copy them here with some minor changes. Because of that, some of them are not included. The idea would be that any new APIs added into WinGetUtil should have their corresponding C# interop implementation in the same PR. APIs included: - WinGetLoggingInit - WinGetLoggingTerm - WinGetSQLiteIndexCreate - WinGetSQLiteIndexOpen - WinGetSQLiteIndexClose - WinGetSQLiteIndexAddManifest - WinGetSQLiteIndexUpdateManifest - WinGetSQLiteIndexRemoveManifest - WinGetSQLiteIndexPrepareForPackaging - WinGetSQLiteIndexCheckConsistency - WinGetCreateManifest - WinGetCloseManifest - WinGetValidateManifestV3 - WinGetDownload - WinGetCompareVersions - WinGetBeginInstallerMetadataCollection - WinGetCompleteInstallerMetadataCollection Missing ones: - WinGetValidateManifest - WinGetValidateManifestV2 - WinGetValidateManifestDependencies - WinGetMergeInstallerMetadata In that project we just have SQLite tests, so I port them too. I also added the same stylecops convention so you will see some header changes.
- Loading branch information
1 parent
6cd7b86
commit b4d8c96
Showing
55 changed files
with
2,072 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b4d8c96
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.
@check-spelling-bot Report
🔴 Please review
See the 📜action log for details.
See ❌ Event descriptions for more information.
Previously acknowledged words that are now absent
bitspace Mta PFM testdata :arrow_right:To accept ✔️ these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:microsoft/winget-cli.git repository
on the
master
branch (ℹ️ how do I use this?):If the flagged items are 🤯 false positives
If items relate to a ...
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using).well-formed pattern.
If you can write a pattern that would match it,
try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.