Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:72867 php.pecl.dev:11582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77385 invoked from network); 28 Feb 2014 17:00:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2014 17:00:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.176 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.176 mail-qc0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:36933] helo=mail-qc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/72-64896-0A0C0135 for ; Fri, 28 Feb 2014 12:00:17 -0500 Received: by mail-qc0-f176.google.com with SMTP id m20so735063qcx.35 for ; Fri, 28 Feb 2014 09:00:13 -0800 (PST) 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=PjMpEyNxBIeYZLlC/L9bZO0e7nVHKC2uYbTGd0acXiw=; b=dcMqKT7/X8h+2C/x7fNvZbmm+MKCwdyUr0FoQQjwqPRHw+uIRtgID3bUlfj0la2h5Z snBNudkvfXH8Oog2kvOjTNUZD4vJyccrdK2I1aMIVBNHV4uF+MWcpjucMTiyRf0Rgfel KnWjNbxRQEREvN+CU+fdCQudBdQWKFkrFf9l713K1xQjvV6VLS9V7+ka92dMKogY9yw3 Ip9kMlBC4+8hv2Jv7ZGYvxpA5ZutoIl852uk3Hl9mBM7xEcu0Q8oHuNLWzH/zbSc5E6E jXnsCHX54QKd9QdL1hg7cC7Gj8SSkNNdCBW8783B1/orPDhEOXIPrDt3l//9R7JejvPn 7DzQ== MIME-Version: 1.0 X-Received: by 10.224.28.197 with SMTP id n5mr5092068qac.43.1393606813676; Fri, 28 Feb 2014 09:00:13 -0800 (PST) Received: by 10.140.92.41 with HTTP; Fri, 28 Feb 2014 09:00:13 -0800 (PST) In-Reply-To: References: Date: Fri, 28 Feb 2014 18:00:13 +0100 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List , PECL Announce Content-Type: multipart/alternative; boundary=001a11c1db6c16a22004f37a5ff9 Subject: Re: [PHP-DEV] Stupid and incorrect version checks. From: tyra3l@gmail.com (Ferenc Kovacs) --001a11c1db6c16a22004f37a5ff9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Feb 28, 2014 at 5:47 PM, Derick Rethans wrote: > So, when trying to upload the latest Xdebug release I get this > *incorrect* nonsense preventing me from making a release: > > ERROR: > > The compliance between the package version in package.xml > and > extension source code couldn't be reliably determined. This check > fixes > the (unintended) version mismatch in phpinfo() and the PECL > website. > To pass please #define PHP_MYEXTNAME_VERSION "2.2.4" in > your > php_myextname.h or any other header file and use it for > zend_module_entry definition. > Both version strings have to match. > > > This pisses me off. Do not ever block uploads because of some arbitrary > rule of how you should think my code should look like. The versions > numbers are correct and properly defined with a constant: > > php_xdebug.h:#define XDEBUG_VERSION "2.2.4" > > Requiring that this constant should ahve PHP in it is stupid and > arbitrary decision that doesn't help anybody. If and only *if* you want > to enforce those rules, do it in the *package* state, and *never* when > everything is ready to go to just be rejected. > > Besides that, the code that checks for this doesn't seem to be in PECL > web either: > > derick@whisky:~ $ cd dev/php/peclweb > [GIT: master] > > derick@whisky:~/dev/php/peclweb $ git remote -v > origin git@git.php.net:/web/pecl.git (fetch) > origin git@git.php.net:/web/pecl.git (push) > > [GIT: master] > derick@whisky:~/dev/php/peclweb $ git pull > Already up-to-date. > > [GIT: master] > derick@whisky:~/dev/php/peclweb $ grep -r "compliance between" * > > It looks like the last commit was in december 2012 which is clearly a lie= . > Where is the current code? > > cheers, > Derick > > -- > http://derickrethans.nl | http://xdebug.org > Like Xdebug? Consider a donation: http://xdebug.org/donate.php > twitter: @derickr and @xdebug > Posted with an email client that doesn't mangle email: alpine > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > the current code is in the old_auth branch. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11c1db6c16a22004f37a5ff9--