summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/writing.docbook17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/writing.docbook b/doc/writing.docbook
index 96790fb..f33b293 100644
--- a/doc/writing.docbook
+++ b/doc/writing.docbook
@@ -2,6 +2,23 @@
<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>