-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Travis: "LibGit2Sharp.NotFoundException: object not found - no match for id ({id})" #174
Comments
You need to disable shallow cloning. |
@AArnott Yup, disabling shallow cloning fixed the issue. But I'm not sure why it's required in this case? There was a clone depth of 50 and |
We walk back until we find a version.json file that changes the major.minor version number in order to establish git height. The height isn't reset simply from touching version.json -- it is only reset by a change in the major.minor version. Perhaps that's it? |
Well, Full history is here should you want to have a look:
|
Interesting. I may have forgotten what NB.GV needs to walk more of the history for, or perhaps there is an inefficiency in NB.GV that could be fixed. |
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.5.108 to 3.5.109. - [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases) - [Commits](v3.5.108...v3.5.109) --- updated-dependencies: - dependency-name: Nerdbank.GitVersioning dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I just enabled NB.GV for a repository which uses Travis, and builds started failing with:
See https://travis-ci.org/kubernetes-client/csharp/jobs/371967939 for an example.
Any idea what's going on here?
The text was updated successfully, but these errors were encountered: