diff options
author | Guido Günther <agx@sigxcpu.org> | 2019-04-25 17:30:53 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2019-04-25 17:34:00 +0200 |
commit | 6696656742cb6c56ea476a9d82eaffb9a6bbfcb6 (patch) | |
tree | 5a6c05509f2255a4801f8b2238763a9733b9478d | |
parent | b12b85a18c4fc06d820e4aabbb2730e39fee917e (diff) |
docs: Document gbp import-orig --postunpack
-rw-r--r-- | docs/manpages/gbp-import-orig.xml | 26 |
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> |