[vcpkg] Add support to pull from git-lfs#22158
[vcpkg] Add support to pull from git-lfs#22158ahojnnes wants to merge 1 commit intomicrosoft:masterfrom
Conversation
|
Related to #18570. |
|
Yes, thanks @PhoebeHui. In the older PR, I mentioned that the issue was fixed but then I realized it actually isn’t, so I fixed it here. |
PhoebeHui
left a comment
There was a problem hiding this comment.
LGTM, we will ask other team member to take a look again。
|
How common is it for the git bundled with most Linux distros to include git-lfs support? Do you have any ports which fail without this change but don't fail afterwards? We shouldn't add random support here without a test case. |
|
I have a custom portfile against a Microsoft internal repository with git-lfs enabled. Without this patch here, I am unable to checkout and build the code. I don’t know about a public repository but I could setup a mock repo to reproduce the issue. If you have an alternative suggestion to solve the issue, I’d be happy to hear. Otherwise I am also happy to add test coverage for this fix, if you can give me a pointer to where I should get started with that. Thanks. |
|
Ping @BillyONeal for reply. |
Without a public user it's concerning to add since it adds a new dependency of vcpkg which ports may depend on by accident and thus blow up in users' face if lfs is not ~always installed on all the *nixes. |
|
I'm not against this; I think it's entirely reasonable, and it doesn't break anybody. My questions are:
|
+1. I just realized my replies could have been understood to mean that I was opposed to this. Like @strega-nil I'm mostly ensuring we understand the consequences more than worried about the change itself. |
|
unmarking |
|
To reply to @strega-nil-ms questions above in order:
|
|
Ping @strega-nil-ms for response. |
Is it documented this way or have you actually tried it?
I don't think you answered the question. Note: "in other words, if you install a port that requires git-lfs, will it be obvious you need to install git-lfs or will it just fail in a weird way" |
|
Ping for response. |
|
I have the same issue. Just want to confirm that this patch is solving it on my side. |
|
Convert this PR to draft since there is no response for a long time. |
|
Please temporary close this PR if you don't have spare time to finish it. |
Without this PR, checking out sources from a git repository with git-lfs enabled fails with the following error: