From: Derrick Stolee <stolee@gmail.com>
To: "SZEDER Gábor" <szeder.dev@gmail.com>,
"Junio C Hamano" <gitster@pobox.com>
Cc: git@vger.kernel.org, "Lars Schneider" <larsxschneider@gmail.com>,
"Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Subject: Re: [PATCH 0/2] travis-ci: fail if Coccinelle found something to transform
Date: Mon, 23 Jul 2018 09:25:11 -0400 [thread overview]
Message-ID: <583d2499-c4f2-47a1-48b0-6beb2d4d9d9f@gmail.com> (raw)
In-Reply-To: <20180723130230.22491-1-szeder.dev@gmail.com>
On 7/23/2018 9:02 AM, SZEDER Gábor wrote:
> The first patch makes the static analysis build job on Travis CI
> faster by running it with 'make -j2'.
>
> The second patch makes it more more useful by failing the build job if
> Coccinelle finds something to transform, thereby drawing our attention
> to undesired code patterns trying to enter the codebase.
>
>
> With these patches applied, the static analysis build job would fail
> on current 'pu' because of two small issues on two branches:
>
> - js/range-diff: Dscho has sent out v4 of this series over the
> weekend, which already incorporates Coccinelle's suggestion, so
> it's basically done.
>
> - pb/bisect-helper-2: this topic has not seen an update in about 9
> months, so I'll send a followup patch 3/2 to be applied on top or
> squashed in, whichever is deemed better.
>
>
> SZEDER Gábor (2):
> travis-ci: run Coccinelle static analysis with two parallel jobs
> travis-ci: fail if Coccinelle static analysis found something to
> transform
>
> ci/run-static-analysis.sh | 21 ++++++++++++++++++++-
> 1 file changed, 20 insertions(+), 1 deletion(-)
Thanks, Szeder.
I agree that we should use all possible automation as part of CI to
catch things early. I like the direction here.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
prev parent reply other threads:[~2018-07-23 13:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-23 13:02 [PATCH 0/2] travis-ci: fail if Coccinelle found something to transform SZEDER Gábor
2018-07-23 13:02 ` [PATCH 1/2] travis-ci: run Coccinelle static analysis with two parallel jobs SZEDER Gábor
2018-07-23 13:02 ` [PATCH 2/2] travis-ci: fail if Coccinelle static analysis found something to transform SZEDER Gábor
2018-07-23 13:23 ` Derrick Stolee
2018-07-26 9:08 ` SZEDER Gábor
2018-07-26 16:49 ` Junio C Hamano
2018-07-23 13:06 ` [PATCH 3/2 for pb/bisect-helper-2] squash! bisect--helper: `bisect_start` shell function partially in C SZEDER Gábor
2018-07-23 13:24 ` Derrick Stolee
2018-07-23 13:25 ` Derrick Stolee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=583d2499-c4f2-47a1-48b0-6beb2d4d9d9f@gmail.com \
--to=stolee@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=larsxschneider@gmail.com \
--cc=pclouds@gmail.com \
--cc=szeder.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).