-
Notifications
You must be signed in to change notification settings - Fork 654
Fix for #232: GitHubVersion for pull requests are not working with dynamic repositories #245
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
Conflicts: GitVersionCore/OutputVariables/VariableProvider.cs
…mic repositories
Could you rebase to remove merge commits? :) Sent from my Windows Phone From: Geert van Horrikmailto:[email protected] You can merge this Pull Request by running git pull https://github.com/GeertvanHorrik/GitVersion master Or view, comment on, or merge it at: Commit Summary
File Changes
Patch Links:
— |
Not sure if I can do that after commits. Is it a real requirement? |
Don't accept it please. I found an issue. Will fix on monday. |
If you rebase the merge commits just magically disappear :) git is clever It keeps history cleaner, so rebase before merging is preferred. Sent from my Windows Phone From: Geert van Horrikmailto:[email protected] Not sure if I can do that after commits. Is it a real requirement? Sent from my phone, so message is short From: Jake Ginnivanmailto:[email protected] Could you rebase to remove merge commits? :) Sent from my Windows Phone From: Geert van Horrikmailto:[email protected] You can merge this Pull Request by running git pull https://github.com/GeertvanHorrik/GitVersion master Or view, comment on, or merge it at: Commit Summary
File Changes
Patch Links:
— — — |
Pushed a fix and rebased. Hopefully haven't broken anything with the rebase |
Looks like the rebase didn't work and there are a few failing tests: I also noticed you are commiting to your forks master, generally I recommend never commit to master then you will be in a clean state to take another branch.
This will keep your history nice and clean and master will be free to branch at any time. If you have any issues I can rebase, but that won't fix the failing tests. |
Thanks for the info. Let me take a look. It was something with uppercase/lowercase, I thought it was a "known" issue. |
if (branchName.IsPullRequest()) | ||
{ | ||
branchName = branchName.Replace("pull-requests", "pull"); | ||
branchName = branchName.Replace("pull", "pull"); |
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.
This line isn't needed
Pull request updated. |
There is also a code analysis error. GitPreparer has foreach loops which can be converted into Linq. R# warnings/suggestions are turned up to errors in the build |
Done. |
What is required for now to get this accepted? All unit tests succeed on my machine. |
What's the status of this PR? |
build server says it is still failing
|
Working on it now. |
Found the issue. A pull upstream master went terribly wrong. It should be fixed now. |
This is frustrating, now it thinks I changed 87 files. Is there a way for you to rebase so this won't screw up any history? Otherwise I will create a new PR |
As we don't have push rights in your own fork, we can't rebase it for you. If you end up creating a new PR, I would advise you to not send it from your |
ok, will create new pr then. |
New PR created, this is corrupt. |
No description provided.