From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f178.google.com (mail-wj0-f178.google.com [209.85.210.178]) by dpdk.org (Postfix) with ESMTP id 4BF612C0A for ; Mon, 5 Dec 2016 14:26:17 +0100 (CET) Received: by mail-wj0-f178.google.com with SMTP id tg4so34921116wjb.1 for ; Mon, 05 Dec 2016 05:26:17 -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=EF2c2V4jrV7afijyVpiXCMH4vMve9Ztar4YZoZlMs78=; b=GJW7o708wcUpf3LJy2azemy3Tg4zsexGZ7fGvxGPO7ONz5JKOM49aOhBlUfq+8kMk8 wAP9jUCntFB99h1kj6upe0Ephuy+2pG/bLXngUD/rRnkD0VxYtouh7U53zL4fx9WYHbM lFs7x+yZYxum154jgXpjcIGP4q79K84X8fIz/3rzXNJ0Vv8KkUziMUvLIUhKeUK7ILbn RrHzVf4mUdfiGETROZAECDmrzCQIMMCxV4j7JV81dvjOfaP3t4Hb2kNF8v9gxOYRfSyT i9y7Ko8N0UZr7UkN+tdIRvKknhKuIFb35aw3pWl0GJqx8Ap1Dkbr79Ef/NumkMnoKseU DCDg== 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=EF2c2V4jrV7afijyVpiXCMH4vMve9Ztar4YZoZlMs78=; b=Out0nGaYoNEq+hDmD6GOW5Ju7qDqpog6sOfJHZwcCzL6u0s2DONdZ24+Rjly5GQ7vU ScwVkqIDYxpzaLaMLURIRaihGC31R4AMWiD0xTDS3BCnr6hkHGosws3+tOjWjJaF/uCr 7Gx+EP9RbCebXDqe0uFMm80RQODYiBGAmqvVUQga1NU0+2BkT5zmf45pFVYgl2bsux4s KHQRk0q7Y1cGy4FpwES6Q44CvmoZhf5aU+UQ/L4ijd0dx7yduS13IOe4WFmxr24KKlqS 098MdBRAsqNThmhySZgYjQ028viMSsz3A1hPFkVM5W+KUvdkknR0tnE2VB58r+rrB8dW hYHQ== X-Gm-Message-State: AKaTC03ZIDxW6u6efoTVEldt1vux9OPlExkXZDGb5a7mLPDAzPBhTEyYveBmPJMehqPjZMfU X-Received: by 10.194.29.161 with SMTP id l1mr49061315wjh.97.1480944376659; Mon, 05 Dec 2016 05:26:16 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id gk6sm20375434wjc.46.2016.12.05.05.26.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Dec 2016 05:26:16 -0800 (PST) From: Thomas Monjalon To: ci@dpdk.org Date: Mon, 5 Dec 2016 14:26:06 +0100 Message-Id: <1480944373-10233-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 v4 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: Mon, 05 Dec 2016 13:26:17 -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 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 (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 | 111 ++++++ 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, 1307 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