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
[vcpkg registries] Add git registries #15054
Conversation
f56455e
to
d8b7c76
Compare
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.
(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
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.
I didn't notice anything else in a cursory glance.
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.
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