-
Notifications
You must be signed in to change notification settings - Fork 10
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
Refactor forwarder to use updated Options pattern from sdk-ovs #363
Refactor forwarder to use updated Options pattern from sdk-ovs #363
Conversation
1b7e3fb
to
6e1c5ec
Compare
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.
Seems good to me
@bszirtes It seems like CI is stuck. Could you rebase the branch to the latest main and re-push changes? |
6e1c5ec
to
d2f950d
Compare
@denis-tingaikin I just tried rebasing, and it indicated that everything is up to date. Even though, I did a force-push after the rebasing, but it appears that nothing has changed. Do you have any other suggestions? |
@denis-tingaikin Could you please elaborate a bit more on what I should try to open? Should I create a new branch and open a new PR with the same code? |
@bszirtes Yes, you may simply use |
@bszirtes One second. It seems like your branch just has conflicts that must be resolved. |
Could you try this? git switch refactor-chains-options-pattern
git fetch origin
git rebase -X theirs origin/main
git push $forkName refactor-chains-options-pattern -f |
d2f950d
to
885de78
Compare
@denis-tingaikin I just tried. |
OK, something changed, and it seems like we're headed in the right direction 😀 This should repair the branch. git branch -m refactor-chains-options-pattern-tmp
git checkout origin/main
git switch -c refactor-chains-options-pattern
git cherry-pick 885de7831142d881296967b75a74361d1299fb41
git push $forkName refactor-chains-options-pattern -f |
@denis-tingaikin I got the following after I executed
Should I try to resolve these manually? |
Yes, it can be fixed manually; as an alternative, you may do this. git cherry-pick --abort
git cherry-pick -X theirs 885de7831142d881296967b75a74361d1299fb41 |
885de78
to
e97725d
Compare
@denis-tingaikin I just pushed again, but it seems to me that I have even more conflicts somehow. Should I create a new PR with the same changes? |
It looks better, but the branch is still has conflicts OK, I see. You're using a fork that has a 3-year diff; that's why we face problems. This should fix the problem with the diff git remote add nsm-origin https://github.com/networkservicemesh/cmd-forwarder-ovs.git
git fetch nsm-origin
git branch -m refactor-chains-options-pattern-tmp
git checkout nsm-origin/main
git switch -c refactor-chains-options-pattern
git cherry-pick -X theirs 885de7831142d881296967b75a74361d1299fb41
git push $forkName refactor-chains-options-pattern -f |
Depends on: networkservicemesh/sdk-ovs#320 Signed-off-by: Botond Szirtes <botond.szirtes@est.tech>
e97725d
to
659e841
Compare
@denis-tingaikin Well, it looks like it passed the checks. Thank you for the assistance! |
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.
Woot! Problems are fixed 💪
LGTM.
…d-forwarder-ovs@main PR link: networkservicemesh/cmd-forwarder-ovs#363 Commit: 0d838b5 Author: Denis Tingaikin Date: 2024-04-22 15:50:52 +0300 Message: - Merge pull request #363 from Nordix/refactor-chains-options-pattern Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-forwarder-ovs@main (#11895) PR link: networkservicemesh/cmd-forwarder-ovs#363 Commit: 0d838b5 Author: Denis Tingaikin Date: 2024-04-22 15:50:52 +0300 Message: - Merge pull request #363 from Nordix/refactor-chains-options-pattern Signed-off-by: NSMBot <nsmbot@networkservicmesh.io> Co-authored-by: NSMBot <nsmbot@networkservicmesh.io>
…k-ovs@main PR link: networkservicemesh/sdk-ovs#363 Commit: b1c64b4 Author: Network Service Mesh Bot Date: 2025-02-20 06:44:39 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-sriov@main (#363) PR link: networkservicemesh/sdk-sriov#637 Commit: 790b9e8 Author: Network Service Mesh Bot Date: 2025-02-20 06:39:20 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#637) PR link: networkservicemesh/sdk-kernel#707 Commit: fb5f776 Author: Network Service Mesh Bot Date: 2025-02-20 06:35:31 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#707) PR link: networkservicemesh/sdk#1709 Commit: acd16f3 Author: dependabot[bot] Date: 2025-02-20 13:33:13 +0100 Message: - Bump golang.org/x/crypto from 0.21.0 to 0.31.0 (#1709) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0. - [Commits](golang/crypto@v0.21.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k-ovs@main (#454) PR link: networkservicemesh/sdk-ovs#363 Commit: b1c64b4 Author: Network Service Mesh Bot Date: 2025-02-20 06:44:39 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-sriov@main (#363) PR link: networkservicemesh/sdk-sriov#637 Commit: 790b9e8 Author: Network Service Mesh Bot Date: 2025-02-20 06:39:20 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#637) PR link: networkservicemesh/sdk-kernel#707 Commit: fb5f776 Author: Network Service Mesh Bot Date: 2025-02-20 06:35:31 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#707) PR link: networkservicemesh/sdk#1709 Commit: acd16f3 Author: dependabot[bot] Date: 2025-02-20 13:33:13 +0100 Message: - Bump golang.org/x/crypto from 0.21.0 to 0.31.0 (#1709) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0. - [Commits](golang/crypto@v0.21.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io> Co-authored-by: NSMBot <nsmbot@networkservicmesh.io>
Description
Refactoring forwarder-ovs to use the updated Options patterns from sdk-ovs, just as it has been implemented in the forwarder-vpp.
Depends on: networkservicemesh/sdk-ovs#320
Issue link
networkservicemesh/sdk-ovs#319
How Has This Been Tested?
Types of changes