summaryrefslogtreecommitdiff
blob: f33b2933cd9e038b5e727ee7bcbffed43ea2dd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<chapter id="writingpatchsets">
<title>Writing Patchsets</title>

<para>
This chapter will try to cover all the needed knowledge to write a new
patchset for autoepatch, as well as to maintain the ones already
present in the distribution.
</para>

<sect1 id="writingthescript">
<title>The patchset's script</title>

<para>
An autoepatch patchset consists at least of two atoms: a directory,
whose name is also the name of the patchset, and a bash script, inside
that directory, named the same way with ".sh" extension. That script
is the core of the patchset, as it will tell autoepatch where to find
the files to patch, what kind of patchset it is, and whether to fail
or not if the patching is not completed as intended.
</para>

</sect1>

</chapter>