Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113845 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23753 invoked from network); 29 Mar 2021 07:49:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Mar 2021 07:49:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 583BA1801FD; Mon, 29 Mar 2021 00:46:53 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS; Mon, 29 Mar 2021 00:46:52 -0700 (PDT) Received: by mail-il1-f182.google.com with SMTP id d2so10459347ilm.10; Mon, 29 Mar 2021 00:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EAEHbR/tWUnC+fOd4w71buV0HO28e041NjOItrcGjEo=; b=RmgVTPXqIWY95Dd2WN9v3Cy/UMh7mONSAXoiOQNMCZJPtiQJ4H59qyYROAqkPj2rWl fietIqylgungshXTajmK/WELXRg72PYqbidk0aqrPX3d8djTwMBd1ydQCVH/OoMZ3OSE DtAlWkxNjn4FYNi8og4b6+89O+MO/uHYlSok9sShm5Mm8l2tLV/L+UXjKEumffsrpk2g e02Pji+2Qedj+zA2rJNC9DIq1wR0AAsHnSscX0cFetdxOgltk/mvtyp2BT2azM7TbSk7 o/iXVT+ZKlFk+MoWcY3rYFB+y1+33sNK5jgHI906hkhA6xzDnL/jPqgrkjYSBzlmD2v3 26ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EAEHbR/tWUnC+fOd4w71buV0HO28e041NjOItrcGjEo=; b=No/elMB9MS0cHU97xjdXi9ADMCjomgD1z2MXaZsQLZ/ItvYx6mCSW4EPPtaFNyPfDP Ar0w3Oehs4zFGqXZ+3Zw31szOvl8ogx9yglHazjG2Uq6k3FPR8/bmcUPYJ1H7NQgc3be oJu2uSd/fmm+2uX3dhVbUtQVv0C050obrw9z/chnyOkO2g3azuQVEltbiiA8v4+3UJs5 wrr5PcM+JAbTXh0Xna24v0aIWl8KYHvljCESbsZeO6Py+klXDN1D4UyFUgsl4Tpy9sRO 7H/NXayoX3EW7rlEcZ9umq6KuRlQQBGb78x58QGdn5FWCm6fdqpRgHJsQ4aX7fFCfDqT eOzg== X-Gm-Message-State: AOAM531syo5afm3b3QJiNkzq4t7X5k1f+XhsBN3hnY8R+umnirIxPlge wiIK5Any2v50yKIfVot7AmQzEIh/nkuXMy/fT8c= X-Google-Smtp-Source: ABdhPJzDsq76B5u6cMYlB2AP5s3DXxYoEw5nbqsKsS4/xKd8JCOhPg53IMwiLspsocYoghb6B7eTBMD6sGLFo88Nvds= X-Received: by 2002:a05:6e02:f07:: with SMTP id x7mr14408725ilj.242.1617004012099; Mon, 29 Mar 2021 00:46:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 29 Mar 2021 09:46:41 +0200 Message-ID: To: Ayesh Karunaratne Cc: Gabriel Caruso , Rasmus Lerdorf , Sara Golemon , Nikita Popov , PHP Doc Mailing List , PHP internals , Paul Crovella Content-Type: multipart/alternative; boundary="000000000000bddc6605bea81593" Subject: Re: [PHP-DEV] Changes to Git commit workflow From: deleugyn@gmail.com (Deleu) --000000000000bddc6605bea81593 Content-Type: text/plain; charset="UTF-8" I think you only need to handle merges locally if the pull request author didn't sign their commits: > You can always push local commits to the branch if the commits are signed and verified. > You can also merge signed and verified commits into the branch using a pull request on GitHub. > However, you cannot squash and merge a pull request into the branch on GitHub unless you are the > author of the pull request. You can squash and merge pull requests locally. For more information, see > "Checking out pull requests locally ." Source: https://docs.github.com/en/github/administering-a-repository/about-protected-branches#require-signed-commits On Mon, Mar 29, 2021, 06:19 Ayesh Karunaratne wrote: > I think this is a great step forward. > With commit signatures required, I think the person who merges a PR > now needs to do so locally. [GitHub CLI](https://cli.github.com/) > helps me a lot to locally checkout a PR quickly, and then > rebase/squash with my own signature. > > Thanks to Levi Morrison and Nikita for the very quick response. > > > > > On Mon, 29 Mar 2021, 03:30 Rasmus Lerdorf, wrote: > > > > > On Sun, Mar 28, 2021 at 17:15 Sara Golemon wrote: > > > > > > > On Sun, Mar 28, 2021 at 6:57 PM Paul Crovella < > paul.crovella@gmail.com> > > > > wrote: > > > > > > > >> You might consider requiring commits be signed while you're at it. > > > >> > > > >> > > > > I suggested this as well, and even if we don't require it, we should > > > > STRONGLY encourage it. > > > > > > > > I've been signing my commits for several years now, it's not even > that > > > > hard. > > > > > > > I think for php-src commits we can require it. For doc and other repos > we > > > can make it optional for now until people are more comfortable with it. > > > > > > -Rasmus > > > > > > > > > > We can require Signed Commits for the main active branches on GitHub: > > > > https://docs.github.com/en/github/administering-a-repository/about-protected-branches#require-signed-commits > > > > > > We can create rules that requires that for all active maintained version > of > > PHP. > > > > We can set that per repo, or in a organization level. > > > > - Gabriel Caruso > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --000000000000bddc6605bea81593--