-
Notifications
You must be signed in to change notification settings - Fork 654
#953 Fix dynamic repositories #1073
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
Conversation
Fixes #953 |
|
||
var executeCore = new ExecuteCore(new TestFileSystem()); | ||
|
||
var versionVariables = executeCore.ExecuteGitVersion(url, dynamicDirectory, null, targetBranch, |
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.
Does this test need to hit the actual repo or could it just use a fixture like elsewhere?
@GeertvanHorrik: Now that |
I just hit "Update branch", I hope that was the right button :-) |
Not sure if this fixes the issue with dynamic repositories. As reported by others in #953 it seems an uninitialized |
This requires an update of GitTools.Core, checking the status now. |
Just verified this stuff locally on my machine, all seems to work, I think we should merge this. |
But it should be merged into 4.0.0 beta. @JakeGinnivan which branch this I merge this into? |
@GeertvanHorrik: I've restarted all failing builds since it seems like the Mono source server was down when they were run. Stuff targeting v4 should be merged into master. |
Looks like the builds are not really doing anything (or at least I cannot check the details of the AppVeyor builds). |
But since GitTools.Core was already merged, this PR only:
|
@GeertvanHorrik: True. Since Windows and OS X builds are green, this can safely be merged. It's only Linux builds that fail with:
|
@asbjornu Thanks for the fast replies, really appreciate this. Can you merge it, not sure if I should use "rebase & merge" or "squash & merge". |
0e3a5d3
to
5d9b736
Compare
@GeertvanHorrik: No problem. I've rebased 3badcd2 on top of the |
Thanks, looks like everything succeeded (at least the AppVeyor builds). I'll merge this now. |
@GeertvanHorrik just running these tests, they are pretty slow because they talk to GitHub and actually close another repo (they take about 5 seconds each..). Can you submit a PR which changes these tests to use the fixture approach. We have other tests which simulate the dynamic repo builds and run super fast. |
I also get
The second time I run the tests.. |
…the second run. See #1073
No description provided.