From patchwork Mon Jul 15 14:50:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mete Polat X-Patchwork-Id: 1132067 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45nRLh2TdSzB3xR for ; Tue, 16 Jul 2019 00:51:40 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uEE6UEdg"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45nRLf5NGWzDqVr for ; Tue, 16 Jul 2019 00:51:38 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=metepolat2000@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uEE6UEdg"; dkim-atps=neutral Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45nRL83TZYzDqVK for ; Tue, 16 Jul 2019 00:51:12 +1000 (AEST) Received: by mail-wm1-x343.google.com with SMTP id v15so15507739wml.0 for ; Mon, 15 Jul 2019 07:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WYiYh5iKvEPF/RGKJZuoFYi2y3mJGyDGb1+kbY/Zzx8=; b=uEE6UEdgsEwVKo0L0B+angE+/7jSkhET2dH3D1yuyDQTPp1ccM33YjZAwYqOS7swJN R8OujBiNpoVejCFowEYlDggsFseIzP2Zy3ilrEyJbvvyoS9ICAchTutQcLKl0iKFdD7K ywHzQPbCAFg3DKDUe7n+IcXyAh9u/A0GJRrWiGhyUnKo24CbO5UDjBtyhv4QZTzZRzjv iJ24FMdx1iqCG9sdGIjaH8xvsUARi7NDPO1WyvlGIsnBtx5bBLr0ydGgh6/8hDhTBWn+ 116jbzQG2qif6iKsuekEWMSnXL3S5/hLNkTN0b59r5Z3ZyNTeI7kVSXn52E8cu2kvvSU 4mhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WYiYh5iKvEPF/RGKJZuoFYi2y3mJGyDGb1+kbY/Zzx8=; b=UIwK3iAwo1kW8VNHEipPE7QJAyi4Pf2PVFMKnsTKrbwqaQbkJlMWGJP4vuhyZqXcFa mfImXNqyJVt+whWyojiQYumlwWYv0+Sjoih8AEu58IG/RWMdMpTA+9EksYvA3cdjsDAF z5kXEuWLNYfW7ajJt5ZhVU4WvVLTMSwH8JFkoCFjycdfTffSu4npAqfr8STo5/2/YvsQ pfY+EwYDXwLHP97QeDeg49NwiGjOUZoqx1UjHAg3v/OAK+B7GDg7KDVJBiEMF2J8AoE+ mcl1YSgv13z/kYpjM52qweXb8sZHfMRLx9/wAu22aUy6CyLgc3Syj1SwJc7LPaSIAWhz iIBA== X-Gm-Message-State: APjAAAXokRZ2ajlugIPNEIWOlGjCI2JU4LZhslqpw/oQtI1mt+h8oBMP IJmiuVmMxxfrjY0LWFljdcDLWhaoVdXflg== X-Google-Smtp-Source: APXvYqys+ZsinGt5jwWvhM4Un5u/UpW84c3TXbqQO06rd4XRaFH/VTiT8ZOp5qDpMcrz3e5UnEFoUg== X-Received: by 2002:a7b:cbc6:: with SMTP id n6mr25984213wmi.14.1563202265791; Mon, 15 Jul 2019 07:51:05 -0700 (PDT) Received: from localhost.localdomain ([193.23.33.53]) by smtp.gmail.com with ESMTPSA id z6sm13466262wrw.2.2019.07.15.07.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jul 2019 07:51:05 -0700 (PDT) From: Mete Polat To: patchwork@lists.ozlabs.org Subject: [PATCH 2/3] Update management documentation Date: Mon, 15 Jul 2019 16:50:29 +0200 Message-Id: <20190715145030.7877-2-metepolat2000@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190715145030.7877-1-metepolat2000@gmail.com> References: <20190715145030.7877-1-metepolat2000@gmail.com> MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ralf.ramsauer@oth-regensburg.de, wolfgang.mauerer@oth-regensburg.de Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Signed-off-by: Mete Polat --- docs/deployment/management.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/deployment/management.rst b/docs/deployment/management.rst index c50b7b6..70e926c 100644 --- a/docs/deployment/management.rst +++ b/docs/deployment/management.rst @@ -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] [...] + +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.