Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754520AbdLOAMi (ORCPT ); Thu, 14 Dec 2017 19:12:38 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:53402 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754424AbdLOAMh (ORCPT ); Thu, 14 Dec 2017 19:12:37 -0500 Subject: Re: [PATCH 1/2][RFC]Ktest: Add email support To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, dhaval.giani@oracle.com, "John 'Warthog9' Hawley" References: <20171120173738.34823-2-tianyang.chen@oracle.com> <20171214183914.7d911500@gandalf.local.home> From: Tim Tianyang Chen Organization: Oracle Corporation Message-ID: <7def72e8-d30d-b9c0-bb31-1263cfcadfd0@oracle.com> Date: Thu, 14 Dec 2017 16:11:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171214183914.7d911500@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8745 signatures=668648 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712150001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 20 Thanks for the review Steven! > First comment is that the numbered patches need to be a reply to the > cover patch (that is patches 1/2 and 2/2 need to be replies of 0/2). > Otherwise, my mailer loses them, because I always have my email sorted > by threads, and a reply to 0/2 will move it away from the other patches > if the other patches are not replies. Not sure what happened. I used --thread option for git send-email, and in thunderbird I can see all the patches in one thread replying to 0/2. > Hmm, I'm thinking it doesn't get sent when we hit Ctrl-C. Or at last > have these as options to when to send them. > > I think by default, it should only send when finished, or failed. But > have options like: > > EMAIL_WHEN_STARTED, EMAIL_WHEN_CANCELED (both default false) > EMAIL_WHEN_FINIHSED and EMAIL_ON_ERROR (both default true). Yeah. It's a good idea to add them as options. Thanks, Tim