Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-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 544E1194FF for ; Wed, 27 Apr 2016 13:18:19 +0000 (UTC) Received: (qmail 47500 invoked by uid 500); 27 Apr 2016 13:18:19 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 47436 invoked by uid 500); 27 Apr 2016 13:18:19 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 47420 invoked by uid 99); 27 Apr 2016 13:18:18 -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; Wed, 27 Apr 2016 13:18:18 +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 319681A1209 for ; Wed, 27 Apr 2016 13:18:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.98 X-Spam-Level: * X-Spam-Status: No, score=1.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=radicalbit-io.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 LRlbVsoA_-Ki for ; Wed, 27 Apr 2016 13:18:16 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B28DC5F39B for ; Wed, 27 Apr 2016 13:18:15 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id t10so79348524ywa.0 for ; Wed, 27 Apr 2016 06:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radicalbit-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=RrTWCSRXkI0oFOift/EYOcrLZH+RkK0voTjv0WXWndg=; b=qSPnrMwYDk6OquhldbWul09rBYprYDFu8WCh3IJ7b7O5syEX/uLUmNuqLHDplywMOq ZuCC5Vq9yV9DcHL47GlWALUUWElPolzbyddQSZMMyHD7BEhuTFU/1uBSVjs0Ofz8o+Wa Yl9nwQjGfT27NQ2sVZfIH848XnUP+FetPAYeAV8i5EwwDvnSB3iRnaJq2e8E0LekABTZ 5CFJHyqELJb9SSQAZb2pnxFAgxFzfyB/xPUv0m1AaSCQYFdobVU6T7fHDq6TVYoQHBEj Y8Zq8XnzclOoKap5YzYUv5hh0pYp1tH/D8NnEpoeetttjiMCOnBMnFBiIGeYYd/sx9Nm 8BHQ== 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; bh=RrTWCSRXkI0oFOift/EYOcrLZH+RkK0voTjv0WXWndg=; b=j+rDBeiv1HJ9phN7aycl+1DA2X5sXB+c5xC+B1+uLNUUERCmauiP3zt8M1XeA/v3Xo eoYcUOd8G8zQmThiDmD2hb+IBClafad5eU/uEnuNjtiHNzOJhEpdpsvSYD9omxlnJ+2U Hr0d2VIBkD8YVxYl7Hq6I0eezJUoXfgyG2PBubsiMYpXhY7R8hNOKvn2oDGqSGtGDuuU 55bK4FluwjQbCxi5jD/IH0wq5cCwBJ0ohuWZ8meimcQNm8xQY9KJfETVabQIUhhacsqz W9Cu/+OcqPDg5YF1d39CV1uLVz6bdnRdgU7Q29QXuL1im6fgVvdBuE0yNVdL4auUu6uC r2Sw== X-Gm-Message-State: AOPr4FVS/Fh+81TEMJ9Zoo+KLqEMerGU7fzk7PdBZvyurKv+MsMLlD6yrYJMsgjN8j70wUfe0mLXy5HmI2tT6Sl4 MIME-Version: 1.0 X-Received: by 10.159.38.71 with SMTP id 65mr4715950uag.44.1461763094731; Wed, 27 Apr 2016 06:18:14 -0700 (PDT) Received: by 10.176.6.102 with HTTP; Wed, 27 Apr 2016 06:18:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2016 15:18:14 +0200 Message-ID: Subject: Re: Backporting a patch to a release branch From: Stefano Baghino To: dev@flink.apache.org Content-Type: multipart/alternative; boundary=001a113cc51c01f6440531773eb5 --001a113cc51c01f6440531773eb5 Content-Type: text/plain; charset=UTF-8 Ok, thanks for the feedback. On Wed, Apr 27, 2016 at 3:16 PM, Till Rohrmann wrote: > Hi Stefano, > > in this case I think it's best if you opened a PR against the release > branch so that a committer can pull it in. > > Cheers, > Till > > On Wed, Apr 27, 2016 at 3:03 PM, Stefano Baghino < > stefano.baghino@radicalbit.io> wrote: > > > Hi Ufuk, > > > > thanks for getting back to me, I understand. > > The problem with this patch in particular is that the code would be > > slightly different between the 1.0.x and 1.1.x, so cherry-picking the > > commit from the master branch to the release branch wouldn't be a viable > > option, unfortunately. In this case the patch can only appear from the > 1.1 > > release onward? > > > > On Wed, Apr 27, 2016 at 2:57 PM, Aljoscha Krettek > > wrote: > > > > > Hi, > > > I think what we did for now is this: When merging a PR onto the master > > that > > > we also consider to be required in a future release of an older release > > > branch we cherry-pick it there and make the required changes. This only > > > works for committers, of course, since we can just do that. > > > > > > I think in your case (and future cases) you can cherry-pick it on the > > > release branch and then provide a link to your branch in the original > PR > > > such that the committer who merges it can also put it into the older > > > release branch. > > > > > > Cheers, > > > Aljoscha > > > > > > On Wed, 27 Apr 2016 at 13:38 Stefano Baghino < > > > stefano.baghino@radicalbit.io> > > > wrote: > > > > > > > I'm currently working on FLINK-3239 > > > > (support Kerberos > > on > > > > the > > > > Kafka connector). > > > > > > > > I almost have a working prototype, however now I have a doubt > regarding > > > how > > > > to properly merge my code (when done): right now I'm working on a > > branch > > > > out of the 1.0.x release branch (apparently I could not start a > cluster > > > to > > > > test on my setup because of FLINK-3824 > > > > ). > > > > > > > > I'll have to make some minor change to adapt it to the master branch > > > (it's > > > > just a few lines of code but some of the code I had to touch have > been > > > > moved in the BootstrapTool.java source file); at this point I'd like > to > > > > make it available for both the master and the 1.0.x release branch. > > > > > > > > Is there any established process to handle a case like this? Is > there a > > > > development branch for releases? Should I perform a PR directly onto > > the > > > > 1.0.x branch? I would assume the latter is unadvisable, just asking > if > > > > that's the case. > > > > > > > > -- > > > > BR, > > > > Stefano Baghino > > > > > > > > Software Engineer @ Radicalbit > > > > > > > > > > > > > > > -- > > BR, > > Stefano Baghino > > > > Software Engineer @ Radicalbit > > > -- BR, Stefano Baghino Software Engineer @ Radicalbit --001a113cc51c01f6440531773eb5--