Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:72866 php.pecl.dev:11581 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72452 invoked from network); 28 Feb 2014 16:47:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2014 16:47:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:59650] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/51-64896-AADB0135 for ; Fri, 28 Feb 2014 11:47:39 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 3115A10D35B; Fri, 28 Feb 2014 16:47:35 +0000 (GMT) Date: Fri, 28 Feb 2014 11:47:34 -0500 (EST) X-X-Sender: derick@whisky.home.derickrethans.nl To: PHP Developers Mailing List , pecl-dev@lists.php.net Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Stupid and incorrect version checks. From: derick@php.net (Derick Rethans) 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