aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/manpages/gbp-import-orig.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/gbp-import-orig.xml')
-rw-r--r--docs/manpages/gbp-import-orig.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/manpages/gbp-import-orig.xml b/docs/manpages/gbp-import-orig.xml
index b3ca7027..7b040a14 100644
--- a/docs/manpages/gbp-import-orig.xml
+++ b/docs/manpages/gbp-import-orig.xml
@@ -36,6 +36,7 @@
<arg><option>--[no-]filter-pristine-tar</option></arg>
<arg><option>--[no-]symlink-orig</option></arg>
<arg><option>--postimport=cmd</option></arg>
+ <arg><option>--postunpack=cmd</option></arg>
<arg><option>--[no-]interactive</option></arg>
<arg><option>--[no-]rollback</option></arg>
<group choice="plain">
@@ -331,6 +332,31 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--postunpack=<replaceable>cmd</replaceable></option></term>
+ <listitem>
+ <para>
+ Run <replaceable>cmd</replaceable> after the import. This can be useful
+ to e.g. convert or remove certain files prior to the import.
+ The hook gets passed the following environment variables:
+ <variablelist>
+ <varlistentry>
+ <term><envar>GBP_TMP_DIR</envar></term>
+ <listitem><para>
+ The temporary directory the tarballs are unapcked into.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><envar>GBP_GIT_DIR</envar></term>
+ <listitem><para>
+ The directory of the git repository where the tarball
+ will be imported into.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--uscan</option></term>
<listitem>
<para>