modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value)
[project/luci.git] / documentation / SubmitPatchesHowTo:.md
1 # Checkout svn
2         
3         svn co http://svn.luci.subsignal.org/luci/trunk
4         
5 and change to that directory:
6         
7         cd trunk
8         
9 # Make your changes
10
11 Edit the files you want to change. If you add some new files you need to add them to the svn tree:
12         
13         svn add <dir/files>
14         
15 Where <dir/files> are the directories/files you have added. Its possible to specify multiple files/directories here.
16
17 # Use svn diff to generate a patch with your changes
18
19 To check if your changes look ok first do:
20         
21         svn diff <dir/files>
22         
23 and check the output. Again you can specify multiple dirs/directories here.
24
25 If everything looks like expected save the patch:
26         
27         svn diff <dir/files> > ./mypatch.patch
28         
29
30 # Submit patches
31
32 Use the [Ticket system](http://luci.subsignal.org/trac/newticket) to submit your patch.
33