Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78071 invoked from network); 28 Apr 2014 10:15:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2014 10:15:57 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.45 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.45 mail-qa0-f45.google.com Received: from [209.85.216.45] ([209.85.216.45:65037] helo=mail-qa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/A3-49136-C5A2E535 for ; Mon, 28 Apr 2014 06:15:56 -0400 Received: by mail-qa0-f45.google.com with SMTP id cm18so6072467qab.18 for ; Mon, 28 Apr 2014 03:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AS4TbdBCEHp3a9JIxAzUK5vYEf0i/sDBodEH8C7ZraU=; b=ETVej1Zvlng1ZuFP3z4eQ/gphapEsRPtelI7kZOq2emLSd77a/t84qyuiDJlcwaGU7 ojlu9HH2nxW0hOk09ykRDyG3F20Z5UcnDu8MMeObCWBJxdidUhHpQQFufHPcqxc2El33 J5lOEK8jNpJ1EEK94yMeMWH4hopm7fSBIumaVVzebFCKCr2GUnKZsZH211bRVit0wtU+ SZ9mbxA67oE5V4oLlT9cp8AhWzmUG5UvpG4StNd3d2JNp5nyHwSqVWs8xbTfIF8gUOwM SGFyLMTdXn/sRTh2sI+/WQLnkpX67C78ght/w9DKi8mA5bk8uXib9FKrcHs+o3MC9m6V 3Eqg== MIME-Version: 1.0 X-Received: by 10.140.101.99 with SMTP id t90mr1261593qge.115.1398680154077; Mon, 28 Apr 2014 03:15:54 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Mon, 28 Apr 2014 03:15:54 -0700 (PDT) In-Reply-To: References: <535A13E1.3050106@sugarcrm.com> <535D5E07.4060607@sugarcrm.com> Date: Mon, 28 Apr 2014 12:15:54 +0200 Message-ID: To: Derick Rethans Cc: Stas Malyshev , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] CI tests RFC From: pierre.php@gmail.com (Pierre Joye) On Mon, Apr 28, 2014 at 12:05 PM, Derick Rethans wrote: > On Sun, 27 Apr 2014, Stas Malyshev wrote: > >> Hi! >> >> > I have a comment (not specifically to you). We can't seriously be >> > suggesting that RMs can just revert commits. This is a really rude thing >> > to do in an open source project. We're doing this for fun, and people >> > immediately reverting your commits takes (more) fun out of it. >> >> I agree. That's why we have time limits before that should happen. >> However, it has happened that people made commits which break things and >> then have gone unresponsive for an extended period of time, with broken >> commits laying there and making everybody work much harder to ensure >> breakage does not spread (if CI is red, then any pull against it is red, >> so we can't really trust the pulls tests, and when we merge them we >> don't know anymore what exactly broke it and it becomes a mess very >> quickly). So I think the normal workflow would be as follows: >> >> 1. Make pull >> 2. See the pull test green >> 3. Merge the pull >> 4. Ensure the CI for main branch is still green >> 5. Go have a beer/coffee/well-deserved rest > > Maybe, but for this to work you need to teach everybody proper git > workflows. In a project with many infrequent committers, you're never > going to get this done. Heck, it can be hard in a 3 man team to have > proper git discipline. > >> However, if somebody commits something that breaks the CI, and is not >> fixing it, we need to know it's OK to fix it, and we need the >> committer to know too if he's negligent about CI hygiene his commit >> may not be accepted. > > Then why do you have as an option in your voting "Revert immediately"? > That should never be happening. I would rather say "rarelly happen". We have seen many last minute commits (right before RC/beta and less frequently now stable f.e.), so yes, it should be possible. Thanks the RFC process, it is not possible anymore to have last minute large addition like we used to have. But that brings me back to one of my replies. To avoid an endless commit war, we should use a restricted set of stable branches. Only the RMs can merge/commit to the ones used for the releases. Other developers commit to the development branches (for stable, php-next or master), while the RMs cherry pick what we need. Doing so reduce the issues for developers while slightly increasing the work for RMs. The latter is not too bad as it forces them to actually do some review before merging. -- Pierre @pierrejoye | http://www.libgd.org