From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id F2D512A5D for ; Thu, 15 Dec 2016 00:05:28 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id g23so137126968wme.1 for ; Wed, 14 Dec 2016 15:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=+T4AEFgTlc6b6NpbkyMIMENliWCnbJJyZc+/gx08TSA=; b=uojh2utgTZWPEmVNG1vB60O/wuAmUhQGCFEU+EoRNXtUdOutAKscGw3aQbBnycgFrH nnTyH47zgR6dKB6CTpyxiqQlo8jAKvc/raghbaFHZhv9BH3SEgmMwOzTVV6c1m+QISh/ OcH0pZkFCmv1EHUu8ZqKIK5SqDCeV7aDbi9j0r3wCAYb5nt6QDW1sS/5zJFnhXVlcQFn KN1dS5Hporec0UxwxsYiGsG+9bZGWi8VzYIsQNMoG0r/CZ7UZj1Qrjc8jkRRZLDXj79B IQIULLkgyG5E/aX0i7lLPBHYKSeKReo1EzZP3EnGbWjOdCX5F4dgLlvkWyp5gC66Iqbm y0wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+T4AEFgTlc6b6NpbkyMIMENliWCnbJJyZc+/gx08TSA=; b=sG2VN8fTpAlgf+ZU81MFC4urKwavCluMeFEun48hsfPH/l//F+gOU/WGEtPWdbM4SP Iy9xYp6DIoC/RQSkTH6Gl5IiW9/JlpKPfcGjVsUvlE9ZudBPUC/BTEf1UF4zNqTthUVM 5Xx2PxIzd8ntyL+7D7H6cHk2sW/i72gHrK/ZIKQkzpd3Duy4T03Tnf5/xswrkfgm8qGc u4T1OrAE76nV19/U4A5nk53LpBeMRfjVEQsvrPzcpBABd3RFDxqH6sX6HUWXEdh1uNVJ ttScdAJ/m3ywNU+CIVntXwfN3aVu+CcNNcugqkOxOBObXe1vR2YObalLfaJcdJ02+fth e8AQ== X-Gm-Message-State: AKaTC02clMSIpjfD8YRERrYByT3I3X3vaSJhf5HkecPSgPfoQTXZrFwiPB4A+R86uCVD8ArJ X-Received: by 10.28.87.84 with SMTP id l81mr9892354wmb.48.1481756728464; Wed, 14 Dec 2016 15:05:28 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id v2sm69378887wja.41.2016.12.14.15.05.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Dec 2016 15:05:27 -0800 (PST) From: Thomas Monjalon To: ci@dpdk.org Date: Thu, 15 Dec 2016 00:05:14 +0100 Message-Id: <1481756723-4868-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1480944373-10233-1-git-send-email-thomas.monjalon@6wind.com> References: <1480944373-10233-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-ci] [PATCH v5 0/9] first scripts for CI integration X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 23:05:29 -0000 These scripts allow to check a patch received by email and send a report in order to be integrated in patchwork. The existing CI tests run by Intel could be converted to use the script send-patch-report.sh so they will be seen in patchwork. Next steps (to be implemented): - script to clean and update a git tree - script to apply a patch on the right tree - script to apply dependencies (preceding in a series) --- changes in v5: - update README - add pwid option to send-report - add pwid in report subject - fix pwclient for proxy and python 3 - allow to download patch from patchwork changes in v4: - fortify mail parsing for binary patches and long emails changes in v3: - BSD licensing changes in v2: - fix mail parsing (bug with quotes in From:) - fix public success report (no CC:) --- Thomas Monjalon (9): tools: add mail filter tools: add mail parser config: add loader and template tools: add patchwork client tools: fix pwclient for proxy and python 3 tools: add patch mail download tools: add per-patch report mailer tools: add patchwork integration tests: add checkpatch README | 27 ++ config/ci.config | 10 + config/pwclientrc | 9 + tests/checkpatch.sh | 75 ++++ tools/download-patch.sh | 67 ++++ tools/filter-patch-email.sh | 111 ++++++ tools/load-ci-config.sh | 14 + tools/parse-email.sh | 74 ++++ tools/pwclient | 819 ++++++++++++++++++++++++++++++++++++++++++++ tools/send-patch-report.sh | 131 +++++++ tools/update-pw.sh | 84 +++++ 11 files changed, 1421 insertions(+) create mode 100644 config/ci.config create mode 100644 config/pwclientrc create mode 100755 tests/checkpatch.sh create mode 100755 tools/download-patch.sh create mode 100755 tools/filter-patch-email.sh create mode 100644 tools/load-ci-config.sh create mode 100755 tools/parse-email.sh create mode 100755 tools/pwclient create mode 100755 tools/send-patch-report.sh create mode 100755 tools/update-pw.sh -- 2.7.0