Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130971 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 9DF311A00BC for ; Tue, 19 May 2026 14:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1779202493; bh=/azvw4Hwj14MzN6mI9EuZd7bZKBfkZ7Q089d9UNU5gw=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Y5z6DAjXiYy0zr75AvroSjHh+MImGRuofoiylElopf4FLe/rcmCs8Jpe7t/RCrBic FUi2HhmI/vgXNLGsp8D0y2R91AbCckm0//TBoWafwoVysxijkipjjcbT4ZbgH0ldgr iuG8CVydJ4gTfZIRfJdA3pTaT4xUbr/tC6jJoAcjRqn4j88D7Aw2F8v9pNwm0KqAFK A4tj4a2T+OP2WWw7Dqni699exzKbIPzIeoMxleUuJUjl3a9JuoM2O6aWPWs5YREnZe 2VVnJIWuhHhn25yR5JpLoE0iBk6oWRkFm2vGeBaDDkXBY7K9Hkm5nxcesbKJnuHNT1 eRng/kxqmKMZA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 256A91805B4 for ; Tue, 19 May 2026 14:54:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 19 May 2026 14:54:51 +0000 (UTC) Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 60F9C14000F0; Tue, 19 May 2026 10:54:46 -0400 (EDT) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-12.internal (MEProxy); Tue, 19 May 2026 10:54:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1779202486; x= 1779288886; bh=/azvw4Hwj14MzN6mI9EuZd7bZKBfkZ7Q089d9UNU5gw=; b=X g0WUsCGbIArD+92Ekdpf04zhUp7rSRHMSnrHByGbmwo4AycfosvS7oeBDuIH+J12 vNy7Vt7XRBxvNgj2NFPLSMgtRxlCAxkLfzb9WoA3/2XJ649TMCNO3Gjn59DOoaeh 3W0FQpW5d2UzuIKjrMSuGLbJyweqBoLMPxPdA0QIRrZzvpB8YI+7mjk0QofxmSAw 90TAz091470iRuoA3TRCeDhghdpJK0sJslkk3DasT/qAX4WuTw+4Wa3TeZihfNBT 6NsSxHksdLqQ6rL1DVPsTmtNlRwFsdWq3kkJnlbMQU/h3TwtguDGvxUxl/M1YaS6 8ITk5hsi1xClnTXmeXitQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1779202486; x=1779288886; bh=/azvw4Hwj14MzN6mI9EuZd7bZKBfkZ7Q089 d9UNU5gw=; b=bK1gin+mpkKXbpBJS0Xu6Rjo5t1AXRDadjcEGtXVxetA7ld6IVB FijYu1WL5rK/+W6JYdPoT+9U0vLnsvP+pFfQFBtTgUKaQ56zpPXvey+OUzO9EB7S gZ94xV4SwSyi5+bJl/I+RkE4ZmxA1F0du3Erxp03s8TkK2GbkbUXloKVI1WgIDxB 6S3qOZK1Dcmzvd9Ybpb8tvtwAyL/kGcr21747bp6WR0dMYKYtyL6TJx0pqOT1BYB roHeKgKbFi0sXIWz5K6u+PQ4hEKMVpC8q9gZdFANuFeACo4mT4ZGT3ZAFV17OW0q H8VRJahvNnTRKRCTl/N6y+NULgWN1YCiGAw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddugedvtdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgesrgdtreerredtjeenucfhrhhomhepfdftohgsucfn rghnuggvrhhsfdcuoehrohgssegsohhtthhlvggurdgtohguvghsqeenucggtffrrghtth gvrhhnpeetieeigeejffffhefgiedtjeffgfefuddugfefffelhfekhfegvdfgudejffdu tdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprhhosgessghothhtlhgvugdrtghouggvshdp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuhgurg hlthhsohhvrdhvrghlvghnthhinhesghhmrghilhdrtghomhdprhgtphhtthhopehinhht vghrnhgrlhhssehgphgsrdhmohgvpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhish htshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id B38CE1EA006B; Tue, 19 May 2026 10:54:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: Ae_GukC1EZu7 Date: Tue, 19 May 2026 16:54:24 +0200 To: "Gina P. Banyard" , "Valentin Udaltsov" Cc: "php internals" Message-ID: In-Reply-To: References: Subject: Re: [PHP-DEV] Merging pull requests instead of closing them Content-Type: multipart/alternative; boundary=9a89c52296b747a3ebd699733896d92bfe958fd0 From: rob@bottled.codes ("Rob Landers") --9a89c52296b747a3ebd699733896d92bfe958fd0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, May 19, 2026, at 14:31, Gina P. Banyard wrote: > On Tuesday, 19 May 2026 at 13:04, Valentin Udaltsov wrote: >> Hi internals, >>=20 >> I want to bring up something that's been bothering me since my contri= bution : many PRs in php-src = are being closed instead of merged, with the changes pushed separately a= s standalone commits. >>=20 >> The problem is that GitHub marks these PRs as "Closed", not "Merged".= So from the outside =E2=80=94 and from the contributor's perspective =E2= =80=94 it looks like the work was rejected. Their GitHub profile shows n= o merged contribution, even though the code was accepted and is now in t= he repo. >>=20 >> Beyond statistics, it also disconnects the commit from the review dis= cussion, and it's just confusing, especially for newer contributors who = don't know the convention. >>=20 >> I get that there might be reasons for this =E2=80=94 keeping a linear= history, concerns about merge commits, etc. But rebasing or squashing b= efore merging solves all of that. Asking a contributor to rebase or squa= sh is totally normal, and most people are happy to do it. >>=20 >> Merging PRs is the standard across open source. It's how you signal t= hat a contribution was accepted. >>=20 >> So my question is: is there a way to make merging the default practic= e in php-src? Has this been discussed before? If so, what were the block= ers? >=20 >=20 > Merging PRs that target master is common practice. > However, when merging bug fixes our process is to merge into the lowes= t branch and then up, something GitHub cannot do nor support, as sometim= es we need to make changes to the fix in the merge up process. > There has been discussion about this previously off list, but changing= the merge process is difficult and no-one has come to an agreement. > However, 90% of you complain are issues with GitHub. We amend the comm= it message to close the PR so that the link is preserved, and GitHub, if= it would be smarter, would be able to understand that it actually means= "merged" not "closed". > I think relying on GitHub to provide useful statistics is just a fools= errand as it doesn't even consistently mark certain things as "reviews"= or not if you want to gather usage statistics. >=20 > Best regards, >=20 > Gina P. Banyard Surely between everyone on this list ... we know people who work at GitH= ub? =E2=80=94 Rob --9a89c52296b747a3ebd699733896d92bfe958fd0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Tue, May = 19, 2026, at 14:31, Gina P. Banyard wrote:
On Tuesday, 19 May 2= 026 at 13:04, Valentin Udaltsov <udaltsov.valentin@gmail.com> wrot= e:
Hi internals,

I want to brin= g up something that's been bothering me since my contribution: many PRs in php-src are being closed ins= tead of merged, with the changes pushed separately as standalone commits= .

The problem is that GitHub marks these PRs as= "Closed", not "Merged". So from the outside =E2=80=94 and from the cont= ributor's perspective =E2=80=94 it looks like the work was rejected. The= ir GitHub profile shows no merged contribution, even though the code was= accepted and is now in the repo.

Beyond statis= tics, it also disconnects the commit from the review discussion, and it'= s just confusing, especially for newer contributors who don't know the c= onvention.

I get that there might be reasons fo= r this =E2=80=94 keeping a linear history, concerns about merge commits,= etc. But rebasing or squashing before merging solves all of that. Askin= g a contributor to rebase or squash is totally normal, and most people a= re happy to do it.

Merging PRs is the standard = across open source. It's how you signal that a contribution was accepted= .

So my question is: is there a way to make mer= ging the default practice in php-src? Has this been discussed before? If= so, what were the blockers?


Merging PRs that target master is com= mon practice.
However, when merging bug fixes our process is t= o merge into the lowest branch and then up, something GitHub cannot do n= or support, as sometimes we need to make changes to the fix in the merge= up process.
There has been discussion about this previously o= ff list, but changing the merge process is difficult and no-one has come= to an agreement.
However, 90% of you complain are issues with= GitHub. We amend the commit message to close the PR so that the link is= preserved, and GitHub, if it would be smarter, would be able to underst= and that it actually means "merged" not "closed".
I think rely= ing on GitHub to provide useful statistics is just a fools errand as it = doesn't even consistently mark certain things as "reviews" or not if you= want to gather usage statistics.

Best regards,

Gina P. Banyard

Surely between everyone o= n this list ... we know people who work at GitHub?

<= div id=3D"sig121229152">=E2=80=94 Rob --9a89c52296b747a3ebd699733896d92bfe958fd0--