On Fri, 28 Feb 2014, Ferenc Kovacs wrote: > On Fri, Feb 28, 2014 at 6:00 PM, Ferenc Kovacs <tyr...@gmail.com> wrote: > > > On Fri, Feb 28, 2014 at 5:47 PM, Derick Rethans <der...@php.net> 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" > > and here is a link to the relevant discussion about this change: > http://comments.gmane.org/gmane.comp.php.devel/82446
Perhaps, I don't mind a check for an incorrect version, but when you decide to block things because you can not determine anything, then it's just stupid. Hannes very nicely summed that up in this post (even though *that* is about the LICENSE file requirement). http://permalink.gmane.org/gmane.comp.php.pecl.devel/10336 and in: http://permalink.gmane.org/gmane.comp.php.pecl.devel/10339 And Johannes in (more on topic with the version nr): http://permalink.gmane.org/gmane.comp.php.pecl.devel/10342 But the problem is not checking for it, the problem is blocking an upload of a package that is perfectly valid and *correct*. cheers, Derick -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php