Profile picture

Hey, I am Sergey Madaminov, an ordinary neurodiverse person who is into everything-computers. I contribute to open source, occasionally write software for monies, and trying to get a PhD in Computer Science at Stony Brook University. But before everything, I'm doing my best to be the best dad possible to my two beautiful and smart girls. And sometimes I post on Twitter.

My talk on new building system~ for OVS was accepted at OVSCON'21!

How to submit a patch for Open vSwitch

May 06, 2015

First, create a new branch

git checkout -b <some_branch_name>

Second, make changes and commit them within that new branch

<changes…> git add git commit -m ”

Now it is time to create a patch and there are two ways to do that: (1) with a cover letter; and (2) without a cover letter

With cover letter

git format-patch master —cover-letter

Without cover letter

git format-patch master

Then format the patch (generated files)

Right before sending the patch let’s check it using provided script

make check ./utilities/checkpatch.py <patch_file>

Now, it is time to submit patch

git send-email

Note


  • email address to send patches for OvS: dev@openvswitch.org

  • If you get an error: “git: ‘send-email’ is not a git command” then you may need to install a required package:

sudo apt install git-email

  • If you get an error: “Unable to initialize SMTP properly” then you may need to configure ‘gitconfig’.

Open the config

git config -e

and add the following lines:

[sendemail] from = sergey.madaminov@gmail.com smtpserver = smtp.gmail.com smtpserverport = 587 smtpencryption = tls smtpuser = sergey.madaminov@gmail.com


Profile picture

Hey, I am Sergey Madaminov, an ordinary neurodiverse person who is into everything-computers. I contribute to open source, occasionally write software for monies, and trying to get a PhD in Computer Science at Stony Brook University. But before everything, I'm doing my best to be the best dad possible to my two beautiful and smart girls. And sometimes I post on Twitter.