Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86334 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34792 invoked from network); 21 May 2015 07:32:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2015 07:32:39 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:46120] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/F1-20801-31A8D555 for ; Thu, 21 May 2015 03:32:36 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id D37786D2044; Thu, 21 May 2015 09:32:32 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w520phpdev (pD9FE8FF3.dip0.t-ipconnect.de [217.254.143.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 634E96D2044; Thu, 21 May 2015 09:32:30 +0200 (CEST) To: "'Remi Collet'" , References: <555D864F.10808@fedoraproject.org> In-Reply-To: <555D864F.10808@fedoraproject.org> Date: Thu, 21 May 2015 09:32:20 +0200 Message-ID: <002d01d09398$478a4360$d69eca20$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQKtQ/kZ7ZRaaTHGaVe5mViMMdP/yZvMpoGA Content-Language: en-us Subject: RE: [PHP-DEV] About merging Pull Request workflow From: anatol.php@belski.net ("Anatol Belski") Hi, > -----Original Message----- > From: Remi Collet [mailto:remi@fedoraproject.org] > Sent: Thursday, May 21, 2015 9:17 AM > To: internals@lists.php.net > Subject: [PHP-DEV] About merging Pull Request workflow >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi, >=20 >=20 > Current workflow described in > https://wiki.php.net/vcs/gitworkflow#merge_a_pull_request >=20 > Problem, git history only give info about a "merge" >=20 > Ex, after merging 1278: >=20 > http://git.php.net/?p=3Dphp- > src.git;a=3Dcommit;h=3Deef762d576e7744d6e0c8d6a3f997fe911b2dc34 >=20 > Another simple workflow could be >=20 > 1/ Download the patch > https://github.com/php/php-src/pull/1278.patch >=20 > 2/ apply it > git am 1278.patch >=20 > 3/ close the PR from > https://qa.php.net/pulls >=20 > This preserve credits to the authors and give a better history. >=20 > What do you think ? >=20 >=20 > Remi > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >=20 > iEYEARECAAYFAlVdhk8ACgkQYUppBSnxahhKuACfbXzDxPsZJTyfwLtyoTALPVhs > dbUAn2kk9vlD//ZQvea5Me1KU2JMgjdQ > =3D1Xi5 > -----END PGP SIGNATURE----- >=20 > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: > http://www.php.net/unsub.php Even more would make sense to do a rebase so the commits from the PR are = put on the top of the branch. Not sure "git am" would trigger that. When = one could avoid the merge commit, the history were of course cleaner.=20 I never looked inside that merge mechanics, but in general - such an = automation, say when you only need to merge and the PR is marked = automatically, is probably a good thing. Well, sometimes it fails but = for that we've that special tool.=20 Regards Anatol