[vcpkg registries] Add git registries#15054
Conversation
f56455e to
d8b7c76
Compare
ras0219
left a comment
There was a problem hiding this comment.
(only reviewed to registries.cpp:193)
This will need a lot of tests added before merging; it should probably pull #15081 to make that easier. I suspect it will be faster to review and merge this PR if it was split into two:
- Refactor existing Builtin+Filesystem registry into this new architecture (+tests for those)
- Adding Git registries + tests
(Remember that code review costs are super-linear with number of lines changed!)
ecf06e3 to
5907e84
Compare
a460826 to
0a9b960
Compare
strega-nil
left a comment
There was a problem hiding this comment.
I didn't notice anything else in a cursory glance.
ras0219
left a comment
There was a problem hiding this comment.
This also needs several end-to-end tests. I'd suggest having the end-to-end tests construct a local git repo with an appropriate history and then point to that temporary repo for testing.
It does, though? https://github.com/microsoft/vcpkg/pull/15054/files#diff-de6d1117ad4379767b02529167248f18bbad1b56758118cccfaa915d534be7b7R56 |
|
Oops, I managed to forget about the e2e tests by the time I got to the end of the diff 👍 |
248acec to
98f90a7
Compare
fe452d3 to
3fa0e5f
Compare
b92308f to
9e00cc6
Compare
* Add git registries support to the registries module of vcpkg. * add e2e tests for git registries * fix vcpkg.cmake for registries
b7642a1 to
0052b57
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
[vcpkg registries] Add git registries (microsoft#15054)
* [vcpkg registries] Add git registries support * Add git registries support to the registries module of vcpkg. * add e2e tests for git registries * fix vcpkg.cmake for registries * fix CRs, remove a thing * better error messages * Billy CRs * fix Robert's CR comment * I learned about `-c` today * format * fix baseline.json * failing to find baseline is technically not a bug
Add git registries support to the registries module of vcpkg.
Depends on #15583