@@ -133,3 +133,31 @@ patches for these new tags.
.. option:: patch_id
a patch ID number. If not supplied, all patches will be updated.
+
+exportproject
+~~~~~~~~~~~~~
+
+.. program:: manage.py exportproject
+
+Export patchwork projects as mbox files and optionally compress the result.
+
+.. code-block:: shell
+
+ ./manage.py exportproject [-c | --compress] [-l | --level] [<project_linkname>...]
+
+This is mostly useful for importing the patch dataset of a Patchwork project
+into other programs.
+
+.. option:: -c, --compress
+
+ Bundle given projects into a gzip compressed tar archive. If --level is 0,
+ bundle the given projects into a tar archive without compression.
+
+.. option:: -l, --level
+
+ compression level. A value between 0 and 9 (default). 0 is no compression.
+ Ignored if --compression is not set.
+
+.. option:: project_link
+
+ a project linkname. If not supplied, all projects will be exported.
Signed-off-by: Mete Polat <metepolat2000@gmail.com> --- docs/deployment/management.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)