Commit e270ee3
authored
Make sfs-client a vcpkg port (#6243)
## 📖 Description
<!-- Describe what this PR changes, why, and any limitations. -->
Removes the git-subtree for sfs-client and replaces it with a local
vcpkg port. This port is based on the [template provided by
sfs-client](https://github.com/microsoft/sfs-client/tree/main/sfs-client-vcpkg-port/sfs-client)
* Updated the script that creates a local overlay to fetch this port.
* Added a small patch to fix a build error in the port.
* Created a new folder for the custom port patches. This means
duplicating the files, but prevents losing them when re-creating the
ports.
* Added a job to the build pipeline to ensure that the ports still match
what the creation script produces, to ensure they're kept in sync.
This fixes a CG alert for c-ares triggered by having sfs-client's
cgmanifest checked in, which caused CG to consider that as the version
used despite us updating the dependency.
## 🔗 References
<!-- Link related issues, PRs, or docs. Use "Resolves #1234" to
auto-close. -->
## 🔍 Validation
<!-- How did you test? List manual steps or note automated test
coverage. -->
It builds :D
## ✅ Checklist
<!-- Place an "x" between the brackets to check an item. e.g: [x] -->
- [ ] Signed the [Contributor License
Agreement](https://cla.opensource.microsoft.com)
- [ ] Linked to an issue
- [ ] Updated [Release Notes](../doc/ReleaseNotes.md) (if applicable)
- [ ] Updated documentation (if applicable)
- [ ] Updated [Copilot instructions](.github/copilot-instructions.md)
(if build, architecture, or conventions changed)
## 📋 Issue Type
<!-- Select the type that best describes this PR -->
- [ ] Bug fix
- [ ] Feature
- [ ] Task
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/6243)1 parent ab31639 commit e270ee3
179 files changed
Lines changed: 384 additions & 15921 deletions
File tree
- src
- AppInstallerCLITests
- AppInstallerCommonCore
- SfsClient
- sfs-client
- .github
- ISSUE_TEMPLATE
- workflows
- initialize-codeql
- install-winget
- client
- include/sfsclient
- src
- details
- connection
- mock
- entity
- tests
- functional
- details
- mock
- unit
- details
- entity
- util
- cmake
- samples
- integration-do-client
- tool
- scripts
- sfs-client-vcpkg-port/sfs-client
- vcpkg-custom-triplets
- VcpkgPortOverlay
- cpprestsdk
- detours
- libyaml
- patches
- cpprestsdk
- sfs-client
- WindowsPackageManager
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
| |||
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
941 | 945 | | |
942 | 946 | | |
943 | 947 | | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | 948 | | |
966 | 949 | | |
967 | 950 | | |
| |||
1109 | 1092 | | |
1110 | 1093 | | |
1111 | 1094 | | |
1112 | | - | |
1113 | 1095 | | |
| 1096 | + | |
1114 | 1097 | | |
1115 | 1098 | | |
1116 | 1099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | 1119 | | |
1123 | 1120 | | |
1124 | 1121 | | |
| |||
0 commit comments