Debian Codegraph @

SubmittingPatches

raw
1 # How to Submit Patches for libndp #
2 =======================================
3
4 Send changes to libndp as patches to [email protected]
5 with copy to [email protected].
6
7 Avoid using attachments because usually it doesn't work.
8 In another words, inline the patch inside the e-mail's body.
9
10 The simplest workflow to send changes is using git. The following
11 steps will guide you to do the task.
12
13 1) Clone the source code on your local machine.
14 $ git clone https://github.com/jpirko/libndp.git
15
16 2) Create a local branch for you
17 $ cd libndp
18 $ git checkout -b testbranch
19
20 3) Do your changes
21 <<do some changes>>
22
23 4) Commit them to the repository
24 $ git commit -a -s
25
26 5) Optionally, you can verify how it looks like in the repo
27 $ git show
28
29 6) Extract the patch in a standard format into /tmp directory
30 $ git format-patch origin -o /tmp --subject-prefix "patch libndp"
31
32 7) Use git send-email to send the patch*.
33 $ git send-email /tmp/0001-somepatch.patch \
34 [email protected] [email protected]
35
36 And you are done :)
37
38 * You may need to configure smtp in order to send emails, so please
39 check the "Example" section in the reference [3] below as a start.
40
41 Additional references about git:
42 [1] http://git-scm.com/docs/gittutorial
43 [2] http://git-scm.com/docs/gitworkflows.html
44 [3] http://git-scm.com/docs/git-send-email
45 [4] http://git-scm.com/book