Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34F60EA53 for ; Sat, 5 Jan 2013 18:43:26 +0000 (UTC) Received: (qmail 47340 invoked by uid 500); 5 Jan 2013 18:43:26 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 47258 invoked by uid 500); 5 Jan 2013 18:43:26 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 47250 invoked by uid 99); 5 Jan 2013 18:43:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 18:43:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cryptcom@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 18:43:19 +0000 Received: by mail-la0-f51.google.com with SMTP id fj20so11914008lab.10 for ; Sat, 05 Jan 2013 10:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Bfu6RGQylBTtAPankG/R+Cm9Pq1b8NhR3RHp7zhVczE=; b=m7A3k+qpzMLA3DsyjOyvLB5dMJYkuXIp9Nou1BUjT14XNB+NW3vlgUPAO9oSO0nlUa 3f++QuuNB5vxCyv6SNM9FAOJxaNvr/5uy/MxQQPZqf1qItayCMZ3Lex+uFWEX5UqYU9Z YTCNGer1s0HOaSzcUrm5eK5iu32Th1wTF67UBZe+gr8KEeGE/A2LP3ziVNoZkYoKrJEl DClXLKF742mCwNr+ktdZWkwmL8/cDGaB2+7JSLHNQLLpCm0axFIcEkaJqZtPQV0GRjGR XuySekfHpSybL3gliVAjce57h1WtBrWl5I2h0D0tK+M1UHE0fBAdqSi6Q9DTwBzJl2nt lPKQ== MIME-Version: 1.0 Received: by 10.112.98.232 with SMTP id el8mr10809993lbb.121.1357411379197; Sat, 05 Jan 2013 10:42:59 -0800 (PST) Received: by 10.112.143.138 with HTTP; Sat, 5 Jan 2013 10:42:59 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Jan 2013 13:42:59 -0500 Message-ID: Subject: Re: git workflow From: Joe Stein To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary=f46d0401f8e112367f04d28ef703 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0401f8e112367f04d28ef703 Content-Type: text/plain; charset=ISO-8859-1 that did not work either I can't even get the patch to apply from the latest trunk because of this message of patch without email so the patch is here https://issues.apache.org/jira/secure/attachment/12563266/KAFKA-133.patch I go through the steps on the git workflow git clone https://git-wip-us.apache.org/repos/asf/kafka.git kafka cd kafka git fetch git checkout trunk //already on trunk git apply --stat ../KAFKA-133.patch //project/build.properties | 2 +- //project/build/KafkaProject.scala | 44 +++++++++++++++++++++----------------- //2 files changed, 25 insertions(+), 21 deletions(-) git apply --check ../KAFKA-133.patch git am --signoff < ../KAFKA-133.patch //Patch does not have a valid e-mail address. my git --version = 1.8.0.3 now what is interesting is when I grab the patch using wget https://issues.apache.org/jira/secure/attachment/12563266/KAFKA-133.patchinstead of downloading it it through a browser I get "Patch format detection failed." instead of the error saying "Patch does not have a valid e-mail address" I am guessing it is something I am doing wrong and could be doing different but am interested to see where exactly the problem is. any thoughts? I gotta work on some code for work right will bang on this later tonight again but if anyone can reproduce this same thing or not or has an idea that would be great. could just be the patch, but would prefer to fix the patch and review the code change for what it is and communicate moving forward how to make patches differently (if that is in fact the problem) On Sat, Jan 5, 2013 at 12:38 PM, David Arthur wrote: > You can amend the previous commit (as long as you havent pushed) with an > author like "git --amend --author='...'" > > On Saturday, January 5, 2013, Joe Stein wrote: > > > I am getting the no email after doing > > > > git am --signoff < xyz.patch > > > > so nothing gets in to commit to set the author :( > > > > On Sat, Jan 5, 2013 at 12:30 AM, Jay Kreps > > > wrote: > > > > > I have but I don't really know why. This format worked for me: > > > git commit --author='Bertrand Russell > > >' > > > > > > > > > On Fri, Jan 4, 2013 at 8:35 PM, Joe Stein > > > wrote: > > > > > > > I started following this so far really helpful thanks!! > > > > > > > > Running into some issues reviewing someone's patch getting "Patch > does > > > not > > > > have a valid e-mail address." googling to figure out what is wrong > > > figure I > > > > mention here if anyone bumped into this yet > > > > > > > > thnx > > > > > > > > On Thu, Jan 3, 2013 at 11:17 AM, Jun Rao > > > wrote: > > > > > > > > > Thanks for documenting this. Could you also add how to resolve > > > conflicts > > > > > during rebase? > > > > > > > > > > Jun > > > > > > > > > > On Wed, Jan 2, 2013 at 1:45 PM, Jay Kreps > > > wrote: > > > > > > > > > > > I don't know about other people but I find git kind of > confusing. I > > > > > thought > > > > > > it would be useful to try to document the normal workflow for > > > different > > > > > use > > > > > > cases: > > > > > > 1. Contributing a patch > > > > > > 2. Reviewing and integrating a patch that is contributed > > > > > > 3. Doing development as a committer > > > > > > 4. Keeping a copy of your local work on github (since it doesn't > > seem > > > > > > Apache has a place to keep local backups of work in progress). > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/Git+Workflow > > > > > > > > > > > > I would like to link this up from the contributor page to help > > people > > > > > > (including my future self). Objections? > > > > > > > > > > > > I am not a git expert, so any feedback to improve these recipes > or > > > bug > > > > > > fixes (since I haven't tried everything) would be very much > > > > appreciated. > > > > > If > > > > > > you are about to do one of the above things, try the recipe and > see > > > if > > > > it > > > > > > can be improved. > > > > > > > > > > > > Cheers, > > > > > > > > > > > > -Jay > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > /* > > > > Joe Stein > > > > http://www.linkedin.com/in/charmalloc > > > > Twitter: @allthingshadoop > > > > */ > > > > > > > > > > > > > > > -- > > > > /* > > Joe Stein > > http://www.linkedin.com/in/charmalloc > > Twitter: @allthingshadoop > > */ > > > > > -- > David Arthur > -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop */ --f46d0401f8e112367f04d28ef703--