From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 178AA559C for ; Thu, 1 Dec 2016 17:59:07 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id t79so253646949wmt.0 for ; Thu, 01 Dec 2016 08:59:07 -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=+6h9vpMoRUC4jcpD+Bs6960GWvIT7iQ+Pwy0xQnlI3c=; b=w62WUMgy/sqwJeZ3uMsLJs2vt2Q7BcEHyHWqmwrMT4XfIUQk8zGs+jSmNvJ/E8P97v rSqEVui1ypDnbFJo7w1IdEZqPqz5TuN392WTHW6WdidP/5Yi8cGw2RXF5LYN8+L8ke06 JY9wGdhmUUem755W9CikL96Hg5QnjY3uQARVxGgGfh4JwEraaFm6IF8p/1UF+6Vx55BY Z3CWkji7W/EUIHA21Zl4ApYH8SP6Co9PiaWOOkWkdvJLpBn07a+xklVPaFgBwzoJFHV6 NUjqrr2va8J8hxSx3Buu2Ao62urrOCspEdMHdCjv4DPQkpQL8nIb6KraJSdahrlBv81C GTtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+6h9vpMoRUC4jcpD+Bs6960GWvIT7iQ+Pwy0xQnlI3c=; b=FafVi486vfGbGtwf24vrGBiFuC1CI5nf0J2JUdp1cWpPY3bGFEzYwavKByhYtIAC39 R2dfZmC212xAlqrsybJk0Q2Lq6oX2GnSHT5pb9M/mHLw/Ajp/AvzX32Qoi9GBNKeWrSk 8MJapaVjW8a7pvwv4OJqtnpE9nzq/AaJojYFAG0+smYvIk1tfwNYq7M+fb7JHb/3n0Hf ChHBUuNJbrXTeHnKbHDwAAZ8awmBCxPchLrlgAYjAlyyt5jngjp9GpG+umXg4s7xVvgI PwxSnjRjIez2xKYSMl9bx/oIwiXbWi9Z6x7uSBLTkb1liJ1K9VtYs9jkPBRXSd3CHU+f nmIw== X-Gm-Message-State: AKaTC00fjqGvxIcWRA9k6QjkyK2nN+3C97/rEKg7sbOHZz0oZP8cbJ7fEIZLc06ZoadKpnGa X-Received: by 10.28.234.201 with SMTP id g70mr32344302wmi.104.1480611546537; Thu, 01 Dec 2016 08:59:06 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id v202sm14107979wmv.8.2016.12.01.08.59.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 08:59:04 -0800 (PST) From: Thomas Monjalon To: ci@dpdk.org Date: Thu, 1 Dec 2016 17:58:54 +0100 Message-Id: <1480611541-17439-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1480599892-14190-1-git-send-email-thomas.monjalon@6wind.com> References: <1480599892-14190-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-ci] [PATCH v3 0/7] 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: Thu, 01 Dec 2016 16:59:07 -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 v3: - BSD licensing changes in v2: - fix mail parsing (bug with quotes in From:) - fix public success report (no CC:) --- Thomas Monjalon (7): tools: add mail filter tools: add mail parser config: add loader and template tools: add patchwork client tools: add per-patch report mailer tools: add patchwork integration tests: add checkpatch config/ci.config | 10 + config/pwclientrc | 9 + tests/checkpatch.sh | 70 ++++ tools/filter-patch-email.sh | 104 ++++++ tools/load-ci-config.sh | 14 + tools/parse-email.sh | 72 ++++ tools/pwclient | 808 ++++++++++++++++++++++++++++++++++++++++++++ tools/send-patch-report.sh | 128 +++++++ tools/update-pw.sh | 85 +++++ 9 files changed, 1300 insertions(+) create mode 100644 config/ci.config create mode 100644 config/pwclientrc create mode 100755 tests/checkpatch.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