Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113859 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45398 invoked from network); 30 Mar 2021 09:46:43 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2021 09:46:43 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8F6791804E4 for ; Tue, 30 Mar 2021 02:43:57 -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_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 for ; Tue, 30 Mar 2021 02:43:57 -0700 (PDT) Received: by mail-ej1-f45.google.com with SMTP id jy13so23884990ejc.2 for ; Tue, 30 Mar 2021 02:43:57 -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=9Z1mFNGBDz2U4xSHVQr9BSjGLs5mDw/vYaqosKFN884=; b=PjrdHVJ1SbSu0lOY0FIgflnJ/Zy7DlzJz3ZOoknP30LgQ4QuWLxr/XWTRrYuRF1yWG qfgIbQDmKmXx+Fvq7ttfN8NbicuRuKuVHVsUxW9eDFUrhPlYlDJnaFJ07kWuexecWmuE RcqYKhocImJ57wg6QtVQ+vY4JcdeK5MQQ+15kvjWdtnL+ctLKC3NSnE+6DztMeig3FnT /ckBPyTTVLOEMFcsX/ZI2GUEWQb7eWe9Sayf2LfFL+RBXiwDrZTq7FGUWuOGWLsVUk/Y 6w4XzxSQvENLvKnkKGggqbVSXNqpe6JL092BplhvWyFeAmul56w8uqsvLNuilUWWQujk Zeww== 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=9Z1mFNGBDz2U4xSHVQr9BSjGLs5mDw/vYaqosKFN884=; b=nY1bhPYFB7AfhlvVgkC+itw9WZguHTZW+ri6KE6OZfBRdMvRIoXr4yn1zP45sGtyd6 Ix3BrKIBD0naAVhM7QIWlJPf+foh7kFTYEyriUUv5lOPUx50yQ6tM+Y1eBDJp5S97x4Z FyyYwSj1LGBWn4DJOetXP1RXakbRKhRueDguUhhpbUF1KlKLpuFRPD5LSER0g70Lq8tJ ITHKmfAgoV0Rw3NLSG2eWhsooPFaR8Cgbra8LtsGBe3UBnEMQ05lb23Ya9qgtALUqqab zQl4j7Cze8fWdv9wbOZ10w8QLWTHnDoO9e33HMjaSort+uscNKwRvk90BI/5yrcPhBs2 J6gw== X-Gm-Message-State: AOAM530713z7eiJIqamsocI5rycLfHH9ijuUldqSFMmnfek0VhTeuxB+ dnYOtmMetb03yg+DHkrkkfDXRzx7ayjOjrXhb/o= X-Google-Smtp-Source: ABdhPJyg5mi+DkwEtNu2ZjGSHxK14S2JRop/O8By0kt54Ber5MMQAn0/1Lrdxy9maGpIXTA4qiV5fKcyETaYAZOoSCc= X-Received: by 2002:a17:906:3a94:: with SMTP id y20mr31888978ejd.35.1617097432664; Tue, 30 Mar 2021 02:43:52 -0700 (PDT) MIME-Version: 1.0 References: <6c3d7c13-d7cd-c1cc-5876-2b8c200a017c@gmail.com> In-Reply-To: <6c3d7c13-d7cd-c1cc-5876-2b8c200a017c@gmail.com> Date: Tue, 30 Mar 2021 12:43:41 +0300 Message-ID: To: Stanislav Malyshev Cc: Internals Content-Type: multipart/alternative; boundary="0000000000000a8d2505bebdd6c3" Subject: Re: [PHP-DEV] Changes to Git commit workflow From: maxsem.wiki@gmail.com (Max Semenik) --0000000000000a8d2505bebdd6c3 Content-Type: text/plain; charset="UTF-8" On Tue, Mar 30, 2021 at 3:29 AM Stanislav Malyshev wrote: > Hi! > > On 3/29/21 4:49 AM, Max Semenik wrote: > > Would it also make sense if direct pushes (bypassing the pull requests > > system) were disallowed completely? I can see multiple problems with > direct > > pushes: > > This is possible. In fact, there are Git bots that make it easier (e.g. > prow: https://github.com/kubernetes/test-infra/tree/master/prow) - I am > using such system over Github at my $DAYJOB and it's generally working > well. It even has its own built-in karma-like system. However, it has > some downsides, as the experience shows: > > 1. Quick management patches, typofixes, release management patches, etc. > become more high friction processes. > 2. Setup and configuration of such system involves some time investment > by some knowledgeable people, and it has certain learning curve (though > once it is set up, it's pretty easy to use). > 3. Somebody knowledgeable needs to maintain it, as periodically bots can > get stuck and need a gentle kick to continue. > 4. CI needs to be very stable and clean for having CI pass as gateway to > merge, otherwise a flaky test can block all work in the repo for days. > 5. Managing multiple active branches can be a pain. > > None of these are critical, and we could start small and build it > incrementally, of course. > We don't even have to use bots - GitHub allows you to require passing CI and/or approving reviews to merge. -- Best regards, Max Semenik --0000000000000a8d2505bebdd6c3--