Return-Path: X-Original-To: apmail-spark-dev-archive@minotaur.apache.org Delivered-To: apmail-spark-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6C7F18D9D for ; Sat, 12 Mar 2016 00:31:58 +0000 (UTC) Received: (qmail 39626 invoked by uid 500); 12 Mar 2016 00:31:56 -0000 Delivered-To: apmail-spark-dev-archive@spark.apache.org Received: (qmail 39517 invoked by uid 500); 12 Mar 2016 00:31:56 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 39506 invoked by uid 99); 12 Mar 2016 00:31:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Mar 2016 00:31:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3B65E1A062F for ; Sat, 12 Mar 2016 00:31:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_RED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ilLa9Z8az_ev for ; Sat, 12 Mar 2016 00:31:53 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 406415FB0D for ; Sat, 12 Mar 2016 00:31:52 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id nk17so1045049igb.1 for ; Fri, 11 Mar 2016 16:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-transfer-encoding; bh=oAWtZGHNV07Uv5lzCaEwDuhoRibHNU2RZKsUhFtYc84=; b=XVNUPk5GUaXXOvwmOm+4v5G2uwxqEVa46i+awUO6lKBy1dAOkP+1k20DbiOGtF2Pxr gZ666eRzoOPRdEUblSX4NeSRAw9dxO3N7oj1fV0Q7O1xE/9fqOtoeNeL9Y4CuHZHkg32 UoxQ6siyM7DDX4P97YY0NRcchcKErS+yQG7RsVYZFBBoQO1mrQ91Tm26aIONS/7fR2MY CvEvJxrOADzKQyIE/cRdEYU/Sv+Keq8cXF5R7+Z8M6BPIgKlG+p7gL9WqHtGfiFQYQ93 qP12TNWH941JlOg2a6ZdKknDujUJjYs4Mi1agHWh6NbBMjinMUu7PNvlvQDUBRA8Mu7c lQ7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-transfer-encoding; bh=oAWtZGHNV07Uv5lzCaEwDuhoRibHNU2RZKsUhFtYc84=; b=O7rE18JBFyoCt7pDnjXdCSHtDsA5LdK4WC6TRToXCanQuv11T2PoZG1ed6o5fJn29e JoSEJs7E467TzujGEsYni8J03bMnTBIQD4fdWl7rLZQZkmQEZdsIVMbAhnKedGTvJhmH acHRxNiQRfLHAJRREmL5mS4iOzfvKJ3FWeJPq+SITU15G1DB8J/S1zIOvs/ue6hdUcH7 KONkaJnNcsT2kDucsTD39tuUkD6kCeUVM0GWMrkjobpwXyv7yVCciIUp9fSJ/AyvZjpS j6qlU0FEBk2yyl/X6AHNvx5pBd3uBHXPzT/7HG5rdnS+AFCb5TIUFPaeftBWqmbKBxiY kFPQ== X-Gm-Message-State: AD7BkJJIWtKl0rmppcwA7PnbSVl/7ijcijs4DSt7HPK7wOqIPjxDeusVwjLGYWKV9b2tS4MayF4Xf+PU8Zcx2d7d MIME-Version: 1.0 X-Received: by 10.50.64.178 with SMTP id p18mr6005938igs.83.1457742711110; Fri, 11 Mar 2016 16:31:51 -0800 (PST) Received: by 10.36.196.66 with HTTP; Fri, 11 Mar 2016 16:31:50 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Mar 2016 16:31:50 -0800 Message-ID: Subject: Re: pull request template From: Marcelo Vanzin To: "dev@spark.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey all, Just wanted to ask: how do people like this new template? While I think it's great to have instructions for people to write proper commit messages, I think the current template has a few downsides. - I tend to write verbose commit messages already when I'm preparing a PR. Now when I open the PR I have to edit the summary field to remove all the boilerplate. - The template ends up in the commit messages, and sometimes people forget to remove even the instructions. Instead, what about changing the template a bit so that it just has instructions prepended with some character, and have those lines removed by the merge_spark_pr.py script? We could then even throw in a link to the wiki as Sean suggested since it won't end up in the final commit messages. On Fri, Feb 19, 2016 at 11:53 AM, Reynold Xin wrote: > We can add that too - just need to figure out a good way so people don't > leave a lot of the unnecessary "guideline" messages in the template. > > The contributing guide is great, but unfortunately it is not as noticeabl= e > and is often ignored. It's good to have this full-fledged contributing > guide, and then have a very lightweight version of that in the form of > templates to force contributors to think about all the important aspects > outlined in the contributing guide. > > > > > On Fri, Feb 19, 2016 at 2:36 AM, Sean Owen wrote: >> >> All that seems fine. All of this is covered in the contributing wiki, >> which is linked from CONTRIBUTING.md (and should be from the >> template), but people don't seem to bother reading it. I don't mind >> duplicating some key points, and even a more explicit exhortation to >> read the whole wiki, before considering opening a PR. We spend way too >> much time asking people to fix things they should have taken 60 >> seconds to do correctly in the first place. >> >> On Fri, Feb 19, 2016 at 10:33 AM, Iulian Drago=C8=99 >> wrote: >> > It's a good idea. I would add in there the spec for the PR title. I >> > always >> > get wrong the order between Jira and component. >> > >> > Moreover, CONTRIBUTING.md is also lacking them. Any reason not to add = it >> > there? I can open PRs for both, but maybe you want to keep that info o= n >> > the >> > wiki instead. >> > >> > iulian >> > >> > On Thu, Feb 18, 2016 at 4:18 AM, Reynold Xin >> > wrote: >> >> >> >> Github introduced a new feature today that allows projects to define >> >> templates for pull requests. I pushed a very simple template to the >> >> repository: >> >> >> >> >> >> https://github.com/apache/spark/blob/master/.github/PULL_REQUEST_TEMP= LATE >> >> >> >> >> >> Over time I think we can see how this works and perhaps add a small >> >> checklist to the pull request template so contributors are reminded >> >> every >> >> time they submit a pull request the important things to do in a pull >> >> request >> >> (e.g. having proper tests). >> >> >> >> >> >> >> >> ## What changes were proposed in this pull request? >> >> >> >> (Please fill in changes proposed in this fix) >> >> >> >> >> >> ## How was the this patch tested? >> >> >> >> (Please explain how this patch was tested. E.g. unit tests, integrati= on >> >> tests, manual tests) >> >> >> >> >> >> (If this patch involves UI changes, please attach a screenshot; >> >> otherwise, >> >> remove this) >> >> >> >> >> > >> > >> > >> > -- >> > >> > -- >> > Iulian Dragos >> > >> > ------ >> > Reactive Apps on the JVM >> > www.typesafe.com >> > > > --=20 Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org For additional commands, e-mail: dev-help@spark.apache.org