-
Notifications
You must be signed in to change notification settings - Fork 867
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
Custom GIT LFS Server not supported after v2.141 #2598
Comments
Git LFS Tutorial suggests to add a custom A solution could be to retrieve file I have applied necessary changes to a local compiled version of the build agent and it seemed to work. The only drawback i see is in case of not using an external lfs server, in which no
|
@jtpetty Although the used git version is now 2.24.0.windows.2, the files from lfs are not downloaded, as you can see in the logs: git.log The folder |
I apologize, I believe I linked the PR to the wrong issue. I will take a look at this issue again. |
@tmisch - Would you mind publishing your changes that you have working as a PR? |
@jtpetty |
@tmisch - you would have to create a fork and do a pull request that way. Here is some docs on how to do that: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork |
@tmisch - Thanks! We will review the PR in the next few days and see if we can get this issue fixed for you. |
@mjroghelia - This is the issue I was talking with you about offline that we need to look at regarding improving our support for Git LFS |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
@jtpetty |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
This issue is still present, the .lfsconfig is not checked out before the objects are retrieved. Which results in 404 requests. |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
Reopening this, since the issue is still actual. We have merged the related pull request: We will update the ticket once related changes will be deployed. |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
Agent Version and Platform
Version v2.142
Windows
Azure DevOps Type and Version
On Premise TFS
What's not working?
With Version 2.142 of the agent the following pull request was issued: #1901
In this request the GIT_LFS_SKIP_SMUDGE - Filter is used whenever the Option "Checkout files from lfs or the Variable $agent.source.git.lfs is not set.
This however has the following side effect. If you are NOT using the TFS built in GIT LFS and you are relying on the .lfsconfig to tell git/git-lfs where to find the source files you are not able to work with tfs anymore.
If "Checkout files from lfs or the Variable $agent.source.git.lfs is set - the agent will construct the url to the git lfs repository itself which will result in a non-existing path to an tfs git lfs repository.
The text was updated successfully, but these errors were encountered: