Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130963 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 3E0E61A00BC for ; Tue, 19 May 2026 12:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1779192086; bh=gkwYUgNlXhFTnAsxQcsC7ojz36vflILv//Se7EwjfuI=; h=From:Date:Subject:To:From; b=RhVdWTwjIjovos+m5HXzo/B+cnuUqu0Fxq8C1Sni+SkHYRMrqiUsrWQyxD4Z04p4T 9DLmaI3uM5/n0cdH2xc4KMabJaJRzbdUVQZLQhmuZK6CuHZRcmZlAKeOmUpzN5NZw5 K6qe0tt3TBE99bCxsfRQ97dhoSh9yTF5ef/LBCZjz7IYfgEqt8eufvF5S7dgxQWGn4 szZrcrsQI9HH3QB33VMKGSrfIaMEwSIxAJNYTfGQsSaSqnKLYACk3BTBrzdODObTS3 KbcMFn7Qa0eILkEI/OrqzQNSr1X06IZNBUyr4GYfPths8zL2Y/YEHs949z1X0ge3E0 pTO35+MIuiP/g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 514F9180581 for ; Tue, 19 May 2026 12:01:25 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 12:01:10 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2ba3e3c4f87so35201345ad.3 for ; Tue, 19 May 2026 05:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779192064; cv=none; d=google.com; s=arc-20240605; b=CBy+dfaUWP+o75XOZKX18LPfTbjzJtjokmzF2c6Z3/TR0HecEkb+gC7bCK6DSgIKwc l6fTUXev+Xvq6f+DjH5tBMNEzpOCaPPwCHu52WE9DeNpxhOnnnI5iBBxPUw2FTsawi8Z F7BIcPaOl+bbu3Cv/e7Z1jJ/+iEEVvyKOI71YyDzudHftMLMegnYQHE/Fmqt7q9UE77c Pjplh84pqZYv/TVRrdfLBVcgOO2RpxHMDf5UkLl5eKCYT8jlj5Pjn1LbE2KMXMjqDTOu JFmB8ymSVIMBgOiqvk0Qf3K0856scHau7xi93ugB33vdwoKsWUaDiUPi1kxzxgr83wmK ajQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=gkwYUgNlXhFTnAsxQcsC7ojz36vflILv//Se7EwjfuI=; fh=RnZ+4KjfdZdxwVfzmjFoBvUAaJ227RJecqE9MM9tvfQ=; b=cECoakk2zSbeTnyuybfuTZr4NGJ9XobdUvnz5j8ZoNIZpoE3tlaBA693uuGVJOyE5X PNIY3ys6/RQ5kfNDsBb0ADZTSxSoqP7p9gNgIEyUc0HGG8TVRJaFpNt/7vOfqNuKnGcm XPhN8aI1xTNzXJQpI9Z7mYE0NMePt1y8d+Jd9uOHS/f/X7jTOhdh7DfItQ6QKkBleMvT t4lj0KZ5Xy3A25QxPrdbhd0aAnmQIAqWUruc9w07m8oesYtCOC/5xpXjgVFnNlwbaiLw fmt6NiRFcIY1dh4VZ+5NDLDpbAO6Hbq9R1xIc8I84uUz8WiQ+R2sMdHFvJFHScB7rrVM pBvg==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779192064; x=1779796864; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=gkwYUgNlXhFTnAsxQcsC7ojz36vflILv//Se7EwjfuI=; b=IETPskPDaBhE6Pxx4stJ0U6xMVlNRucw8WBZoUjuO3qJophdKA4f8G4N6tOQwrp2i4 DTI74QuwCeMOoY8ABkvAhMt/zbYgqYC/dXE1JrTZu1s+5V++sCUk1Cp7oK1P+NWMRT4U 2sCRi4n2GQyXjZMQUOkuDzJarXrEg9v8hGv8lb0aqs3VesoXEMWGsFYPjm9Tf+7iQ5MJ Yfz8+7WlUVi296/1PmIiCs7gIZ/IlRRWHiblfKnphfIZVLPsPJuwko7/D8vdmG1v5Q+x IdxNZnb/K62oF07ZdBlqpTUc+8UAlnrrz5C3Au90gr+yi2+Fkx4lmrNpOLqyncSbBooA zd+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779192064; x=1779796864; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gkwYUgNlXhFTnAsxQcsC7ojz36vflILv//Se7EwjfuI=; b=mv3rE+fFB7Akmqyy91n1XmY1IC+3XRfMI1raIzzqpvpL6cfDQ0RblPrSu5by/SOIbO R23oMpfqg25cWYUP5ENxUn8/uqpmMaIrnSZQyFktZ1mEYqwIbAA9XGNIXNyc5/M9ZKOk ymQVNvfwcladgXGRj48pNcHW0u2Z22n/eRMmMvudVpj4XMHHu+iGebMDTEkEFXBPMTFR AOh26qK1U6FEEZGlr287o30er3mcq0W0+NBHs0LZcWkxNDlCgT9eIbj+zSltrDzvYnIw TV8cCiln+W5lN3Z6bsJvu4XbPtM6EvBDDuBQQNYH0yJ7AUQ2frorl83Sw0Jlld10iWKv LDow== X-Gm-Message-State: AOJu0Yw5QzUudNzFImj1b2uLdJNWGYAAV+fGhqj8M95Rziv0NIhS2gsw oCaaKBThJuaHofMkPn6urvp8whZ+C/qs4J/HxmkM2KtdInOA5GyGx0yruZVh9uqTgQEa6Npfavb gS63GNMzrfKn23NWnDLxbEDFr+oVQ8Fbel90= X-Gm-Gg: Acq92OGD5MRG+dGvDuTdThFAPobS/syZynKXsePlmI0Pih70GAvEz2VNgGLzm05KLE2 JNUG71GrxyJ52sUoqJmy7ozyM/ISMoUoUsLwWE7E4HB4bHVTb5W8XuPlEXfLB4EZq6iN+QWx3XO GGv/3KggFrKscPJvpi90Z+ZrmEIXCtTrUNr5LNZs+rdgs/n6IFO2/7OYN2uPXcb+Z1GzgbEZRtc BoQ3EA3wLxZhsZrCAqdGhTtrzD38w4rWlmUMpjdcIpzZ9W3yXzWxQ0BBIu/Di7kGr1qh8wD2jQx t/amkzU0CTx4hyJ9XQ== X-Received: by 2002:a17:902:8304:b0:2bc:8beb:525b with SMTP id d9443c01a7336-2bd7e8506a1mr157839565ad.18.1779192063638; Tue, 19 May 2026 05:01:03 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Tue, 19 May 2026 15:00:52 +0300 X-Gm-Features: AVHnY4L4W28_FZfyb0ypS1m5sUKUylOIWPk8QtfpiAmMECUPFs4mM7TDsdguRtE Message-ID: Subject: [PHP-DEV] Merging pull requests instead of closing them To: php internals Content-Type: multipart/alternative; boundary="000000000000f0c23006522a6e11" From: udaltsov.valentin@gmail.com (Valentin Udaltsov) --000000000000f0c23006522a6e11 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi internals, I want to bring up something that's been bothering me since my contribution : many PRs in php-src are being closed instead 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 contributor's perspective =E2=80=94= it looks like the work was rejected. Their GitHub profile shows no merged contribution, even though the code was accepted and is now in the repo. Beyond statistics, it also disconnects the commit from the review discussion, and it's just confusing, especially for newer contributors who don't know the convention. I get that there might be reasons for this =E2=80=94 keeping a linear histo= ry, concerns about merge commits, etc. But rebasing or squashing before merging solves all of that. Asking a contributor to rebase or squash is totally normal, and most people are 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 merging the default practice in php-src? Has this been discussed before? If so, what were the blockers? Thanks, Valentin Udaltsov --000000000000f0c23006522a6e11 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi internals,

I want to bring up something tha= t's been bothering me since my contribution: many PRs in php-src are being closed instea= d of merged, with the changes pushed separately as standalone commits.
<= br>The problem is that GitHub marks these PRs as "Closed", not &q= uot;Merged". So from the outside =E2=80=94 and from the contributor= 9;s perspective =E2=80=94 it looks like the work was rejected. Their GitHub= profile shows no merged contribution, even though the code was accepted an= d is now in the repo.

Beyond statistics, it also disconnects the com= mit from the review discussion, and it's just confusing, especially for= newer contributors who don't know the convention.

I get that th= ere might be reasons for this =E2=80=94 keeping a linear history, concerns = about merge commits, etc. But rebasing or squashing before merging solves a= ll of that. Asking a contributor to rebase or squash is totally normal, and= most people are happy to do it.

Merging PRs is the standard across = open source. It's how you signal that a contribution was accepted.
<= br>So my question is: is there a way to make merging the default practice i= n php-src? Has this been discussed before? If so, what were the blockers?
Thanks,
Valentin Udaltsov
--000000000000f0c23006522a6e11--