-
Notifications
You must be signed in to change notification settings - Fork 122
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
TeamCity Repository doesn't have any commit - need to support object/info/alternates #114
Comments
STANDARD_CI variables have no effect on SourceLink. We do not have a source control provider yet that reads the information from STANDARD_CI variables instead of from the git repository itself. |
The root cause of this is that the TeamCity uses git
The solution I used was to simply mount it readonly at the same location:
Any advantages of settings the STANDARD_CI variables? Is the main benefit that it set |
I can't seem to figure out where I was expecting <ContinuousIntegrationBuild Condition="'$(ContinuousIntegrationBuild)' == '' and '$(DesignTimeBuild)' != 'true' and '$(STANDARD_CI_REPOSITORY_URL)' != ''">true</ContinuousIntegrationBuild> |
@ctaggart Let's reopen this issue to track support for object/info/alternates.
@bording Does libgit2 automatically resolve objects in |
@tmat I don't see anything in LibGit2Sharp that directly interacts with the alternates file, but I do see code in libgit2 itself related to it. @ethomson will be better qualified to answer if that means libgit2 just handles it automatically, or if that means we have an API we need to expose in LibGit2Sharp. |
Yes, libgit2 supports alternates and there shouldn't be any additional configuration necessary to make them work. (And thus, LibGit2Sharp, too.) |
|
In SourceLink we call |
@ctaggart Ok to close this issue? |
A better error message would be nice, but not high priority |
I don't know how to detect the condition. It seems indistinguishable from empty repository. |
I'm having trouble getting the latest beta to work from TeamCity ctaggart/SourceLink#359 . TeamCity is simply delegating to run the build from the official docker image. I'm create the standard CI environment variables.
I've set the Standard CI environment variables:
The sourcelink json ends up being
{"documents":{}}
, so it did not work.The text was updated successfully, but these errors were encountered: