Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78331 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73619 invoked from network); 25 Oct 2014 20:24:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Oct 2014 20:24:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 74.125.82.49 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 74.125.82.49 mail-wg0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:34719] helo=mail-wg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/35-36207-1070C445 for ; Sat, 25 Oct 2014 16:24:34 -0400 Received: by mail-wg0-f49.google.com with SMTP id x12so3166532wgg.8 for ; Sat, 25 Oct 2014 13:24:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=q/2vwt8U9T5vtG8n9trJzj/nVImo8W21d3HTzMRr0X4=; b=LsdxdKN3lYZtwlBbGfJKVZXO28NwAZrLxmzCoU5xN+6zvEjps7yZ3Rit0t6+Ze6soZ mXN6WHql2BeH3+QbF03rfntj66Y5i5u+/KfWxW0BRtcI1l+BWAduvZGYivuNlcnhjpos RAO5Gs2kJWeyheVDzXi0sht0Q9viaFoOe5iA9FCg8p97B+K7x+OdbQd2jZkB97dIZmK6 bIicJeU5+2RQoEe+dkck4w2RYq8+HnMWVc0+/m/Om6SDtpiezR8jDHxCO98OtZO9DG0u Sjpw2ysHiZBEXcpj3FseNCfm5akDqyVYZIK9oJZpJLcbsupLjVxFQFQo0qmqH2w1fy8G zeqA== X-Gm-Message-State: ALoCoQkV+CrnsYEaUAJDPdduoUaZJ6kYmHDOSWMfKR8Wy9/NUGUwecdV5ySDYuK+gDUg4IdaBzvl X-Received: by 10.180.14.196 with SMTP id r4mr11638092wic.33.1414268670140; Sat, 25 Oct 2014 13:24:30 -0700 (PDT) Received: from [192.168.1.67] (host86-130-70-156.range86-130.btcentralplus.com. [86.130.70.156]) by mx.google.com with ESMTPSA id cs2sm6105602wib.2.2014.10.25.13.24.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 25 Oct 2014 13:24:29 -0700 (PDT) Message-ID: <1414268667.2624.118.camel@localhost.localdomain> To: Stas Malyshev Cc: Weinand Bob , Derick Rethans , Pierre Joye , PHP Developers Mailing List Date: Sat, 25 Oct 2014 21:24:27 +0100 In-Reply-To: <544BE9FE.3030603@sugarcrm.com> References: <1414217636.2624.89.camel@localhost.localdomain> <1414229963.2624.103.camel@localhost.localdomain> <544BE9FE.3030603@sugarcrm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PHPDBG nonsense (Was: Re: [PHP-CVS] com php-src: Made phpdbg compatible with new engine: ...) From: pthreads@pthreads.org (Joe Watkins) On Sat, 2014-10-25 at 11:20 -0700, Stas Malyshev wrote: > Hi! > > > Just a minor question, Derick. If you care about phpdbg, why are you > > only dropping any comment about it by the time it got into php-src > > repo? It’s known that all the development currently (except for > > master, but that just was a merge and then a pure rewrite on top of > > that merge, nothing related to the protocol) is going on in > > krakjoe/phpdbg github repo. There was now an xml-protocol branch for > > three weeks before it got merged into krakjoe/phpdbg#master. You had > > vast time to notice it and complain before, if you’d really have > > cared. > > I would like to weigh in here. If we're talking about things in PHP core > repo, "we did it somewhere in public repo and nobody complained" is not > a good stance. People do literally hundreds of things around PHP in > public places, but not everything is part of PHP core. phpdbg now is. > That involves not only good parts (by-default acceptance by millions of > PHP users) but some obligations - like proper discussion and > notification. Of course, since master is not stable yet, we have > somewhat relaxed rules there, but even then introducing new debugging > protocol into PHP core seems to be something that warrants some > notification. As a person who spent significant time on implementing and > maintaining one of PHP debugging solutions in the past, I, for example, > would be interested to take a look into what is being checked into core > repo in this regard. However, the first note I see about this happening > is the commit messages. And that takes us back to old and not-so-good > "check in first, discuss later" times. With project of the size of PHP, > it having good process matters no less than having good code. I'd like to everyone to stay grounded in reality and say that we have been checking code into php-src for months, very very few people have expressed an interest in what we were actually doing, you aren't one of them Stas. There was a remote protocol at the start, it still exists, it was changed slightly. XML was added as an option. None of the decisions taken were questionable, in the slightest. While we should have given internals a heads up, it would have not have changed the outcome. We will notify internals of our intentions to make such changes in future, if we thought there was any chance of any feedback before today, we would already be doing so. > > So saying "we had this branch for whole three weeks before merging it > into PHP repo" is not really saying much. > > That said, we are where we are, and I think it would be great if this > would somehow server as a starting point for developing a unified > protocol for debugging PHP. There are a number of good tools for > debugging PHP, and it would be a pity if everybody invented their own > protocols and required to install half-dozen of extensions to be > compatible with all tools doing the same in slightly different way. > We have so many unification efforts with PSR and the spec and so on, I'm > pretty sure we can make a protocol that would be workable for all, > debugging PHP is not exactly rocket surgery and there are not that many > things there that we couldn't find a common ground. I quite like that idea, however, I'm stretched too thin to say that I can do anything about it. Cheers Joe