Revert "Export"
[framework/web/web-ui-fw.git] / libs / patch / README.txt
1 ========================================================
2 How to create your patches for the libraries under libs/
3 ========================================================
4
5         1. Run libs/patch/prepare-patch.sh
6
7 This script does followings;
8   * Create a temporary branch and move to it.
9   * Apply existing patches under libs/patch/ into the temporary branch.
10
11
12         2. Change library code in libs/
13
14 Edit code under libs/ that you want to fix.
15
16
17         3. Apply changed code into git
18
19 Run git add, git commit to remember your code.
20 Write your commit message to descrbe well about your patch. The commit message will be the name of patch file.
21
22
23         4. Run libs/patch/create-patch.sh
24
25 This script does followings;
26   * Extract your commit as a patch file, and save it into libs/patch/.
27   * Move to original branch, and delete temporary branch.
28
29 Whenever you want to cancel the patching, just run create-patch.sh with --cancel option.
30 With this option, any commits and temporary branch will be deleted.
31
32
33         5. Add your patch file into git
34
35 Now your patch file is found in libs/patch/. Add your patch file into git.
36
37 WARNING: Do not add other patch files into git! Only your new patch must be added.
38