Skip to content
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

[v1] Advertise slack channel #2685

Closed

Conversation

github-actions[bot]
Copy link

This is an automated backport of #2684

We have a shiny new #gophercloud channel on kubernetes slack. Let's advertise it.

@EmilienM EmilienM added the semver:patch No API change label Jul 11, 2023
@mandre
Copy link
Contributor

mandre commented Jul 12, 2023

This is not a clean backport, we don't want this in v1.

@mandre mandre closed this Jul 12, 2023
@pierreprinetti
Copy link
Contributor

@mandre You seem to have identified an issue with conflict resolution in the backporting tool. Can you please explain what you have found?

CC @lampajr

@mandre
Copy link
Contributor

mandre commented Jul 12, 2023

@mandre You seem to have identified an issue with conflict resolution in the backporting tool. Can you please explain what you have found?

I haven't looked too deep into it, but you can see that this proposed backport contains a line that was not in the original commit, and removed two other lines.

Original PR: https://github.com/gophercloud/gophercloud/pull/2684/files
Proposed backport: https://github.com/gophercloud/gophercloud/pull/2685/files

I would expect that in case of conflicts, like here, the tool fails to apply the cherry-pick and report an error so that we can manually backport.

@lampajr
Copy link

lampajr commented Jul 12, 2023

@mandre I just checked and this is due to the fact that right now all cherry-picks are performed using default theirs strategy-option [1] to automatically resolve conflicts.

I just tried to remove that option locally (i.e., without theirs option) and run the tool from CLI and this is the error:

[ERROR] Error: Auto-merging README.md
CONFLICT (content): Merge conflict in README.md
error: could not apply 44eb3a19... Advertise slack channel
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

which is what you were expecting right?

Anyway I think that I could change the default strategy-option to the git default one and let users override it with the one they prefer, wdyt?

If you agree do you mind to open an issue with your example?

[1] https://github.com/kiegroup/git-backporting#how-it-works

@mandre
Copy link
Contributor

mandre commented Jul 12, 2023

I'm going to re-add the backport-v1 label, just to check that it fails applying the cherry-pick due to conflict, as we expect. Please ignore.

@mandre mandre added the backport-v1 This PR will be backported to v1 label Jul 12, 2023
@mandre
Copy link
Contributor

mandre commented Jul 12, 2023

Ah, wrong PR. Please double-ignore.

@mandre mandre removed the backport-v1 This PR will be backported to v1 label Jul 12, 2023
@pierreprinetti
Copy link
Contributor

pierreprinetti commented Jul 13, 2023

Did it create a PR? I didn’t exclude “v1” from the potential backport sources.

@mandre mandre deleted the bp-v1-cfd55f162d743c5e7eaefb8c24cf7b001108fe03 branch August 2, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch No API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants