-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Help Requested: git guru for sig-docs v1.15 release. #13065
Comments
Is there someone who has a clone of makoscafee:resolve-conflicts-dev1.15 or dev-1.15 before squashed? |
GitHub seems to think that this commit merged that PR to resolve conflicts, but when I clone the repo I can't see it:
|
Has the branch |
While the GitHub UI allows us to look at the commit that got orphaned from the graph, it does not allow it to be fetched:
If someone has a local copy of the work (the PR author?) we could resolve this. |
I was also able to pull down the commit object from the GitHub API, so we could apply that manually, too. Even GZipped it's 26MB so I can't upload here, going to try to add it to the SIG Testing drive. |
The diff is smaller than the patch -- you should be able to |
@stevekuznetsov thanks for looking into this! I think you're spot on about the force push (/cc @zacharysarah). Do we need @makoscafee's local copy to resolve this? How could we have avoided getting into this situation in the first place? |
I don't think you need the local copy, no. You just need a version of the repository with
That will reset the
If you require that developers create branches in their local forks and then use pull requests to update the |
In general when using Prow, if jobs are turned on for the branch and branch protection is used, branches that have presubmit jobs will not allow for direct pushes without passing tests and will not allow history overwrites, period. |
Oops, didn't mean to close this! |
The funny thing is if I merge that branch to my own fork branch |
Would this be done based off of k/website clone or a local fork? Also, if this gets us back to square one, I don't understand how this will allow us to resolve conflicts. Before the force push that Zach did, we saw similar behavior (Barnie's PR from a local fork merged in does not resolve conflicts). Does the conflict resolution have to be done out of k/website? Or, another way to ask, can a fork not resolve a remote / upstream conflict?
I thought this is how we were operating, with the exception of a couple of @zacharysarah force pushes while he was looking into the problem. |
I'd have to see the commits in question to comment. In theory you should be able to propose a commit that does not cause merge conflicts but the devil is in the details. |
I guess the conflict was not resolved because @makoscafee's PR(kubernetes/website#14950) was merged to the |
I found the location of configuration. Adding a label |
👋 looks like this was solved already and can be closed? :) |
Sorry @nikhita, I've been meaning to summarize our resolution and close. I'll close now and fill in a comment when time permits today. |
@jimangel No problem at all! Just came across this while looking through the list of open issues... |
For this issue there were 2 solutions:
@gochist provided this excellent visual to explain why the |
Hey all 👋
We're having some issues merging master into our dev branch. @zacharysarah, @zparnold, and I can't figure out why @makoscafee's PR to resolve conflicts (kubernetes/website#14950) doesn't actually resolve conflicts (kubernetes/website#14176).
I outlined what I thought was the process: https://gist.github.com/jimangel/288a1a442ba52566ff825bfd828d0a00
Can someone please help @kubernetes/sig-docs-en-owners understand what is needed to resolve the
dev-1.15
conflicts?We're also not sure how to resolve the following:
Thanks!
The text was updated successfully, but these errors were encountered: