Hi Nicolas, and pkg-php-tools maintainers, Thanks for your quick reply, and apologies not to have followed up on this issue sooner.
On Wed, Jan 08, 2014 at 06:25:09PM +0100, Nicolas Grekas wrote: > > Nicolas, did you get another source of information for fixing the > > “suggest” part of the composer.json file? > > Yes: after reading composer's doc more carefully, > > lib-* is guaranteed by composer to be version-comparable, with the same > version pattern used by packages, whereas > ext-* are generally not version comparable (because not every extension > expose a version number). Do you have any pointer to that? I’m still quite lost in composer documentation. The only information I’ve been able to grab so far is from the source: https://github.com/composer/composer/blob/HEAD/src/Composer/DependencyResolver/Rule.php#L215 https://github.com/composer/composer/blob/HEAD/src/Composer/Repository/PlatformRepository.php#L74 https://github.com/composer/composer/blob/HEAD/src/Composer/Repository/PlatformRepository.php#L144 It looks like ext- is for PHP extension while lib is for PHP library. > Although this looks more "semantic" to me, I would be ok to replace it with > ext-pcre if this is equivalent and fixes your bug. > Or you could fix the your tool :) I’m all for fixing our tools if they do not comply with any acceptable syntax, but I’d welcome pointers to such definition. Mathieu, since you introduced Composer support in pkg-php-tools, did you manage to get any “standard” definition, do you have any opinion on the current issue? Regards David
signature.asc
Description: Digital signature

