diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-12-05 18:27:54 +0100 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2015-12-05 18:27:54 +0100 |
commit | 93d9252427e459d0a4b9434c3ef62685ee5d2d45 (patch) | |
tree | 9dcc5d6fb5285ec67014423a6d39314b7da87684 | |
parent | 5c348445478b0b022a4276eff1d625224f2dd32c (diff) | |
download | libndp-93d9252427e459d0a4b9434c3ef62685ee5d2d45.tar.gz |
Add SubmittingPatches howto
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-rw-r--r-- | SubmittingPatches | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/SubmittingPatches b/SubmittingPatches new file mode 100644 index 0000000..186045b --- /dev/null +++ b/SubmittingPatches @@ -0,0 +1,45 @@ +# How to Submit Patches for libndp # +======================================= + +Send changes to libndp as patches to libndp-list@redhat.com +with copy to jiri@resnulli.us. + +Avoid using attachments because usually it doesn't work. +In another words, inline the patch inside the e-mail's body. + +The simplest workflow to send changes is using git. The following +steps will guide you to do the task. + +1) Clone the source code on your local machine. +$ git clone https://github.com/jpirko/libndp.git + +2) Create a local branch for you +$ cd libndp +$ git checkout -b testbranch + +3) Do your changes +<<do some changes>> + +4) Commit them to the repository +$ git commit -a -s + +5) Optionally, you can verify how it looks like in the repo +$ git show + +6) Extract the patch in a standard format into /tmp directory +$ git format-patch origin -o /tmp --subject-prefix "patch libndp" + +7) Use git send-email to send the patch*. +$ git send-email /tmp/0001-somepatch.patch \ + --to=libndp-list@redhat.com --cc=jiri@resnulli.us + +And you are done :) + +* You may need to configure smtp in order to send emails, so please + check the "Example" section in the reference [3] below as a start. + +Additional references about git: +[1] http://git-scm.com/docs/gittutorial +[2] http://git-scm.com/docs/gitworkflows.html +[3] http://git-scm.com/docs/git-send-email +[4] http://git-scm.com/book |