Re: DB_NestedSet 1.3 BC break

From: Date: Mon, 27 Oct 2003 16:11:50 +0000
Subject: Re: DB_NestedSet 1.3 BC break
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23038@lists.php.net to get a copy of this message
As soon as PHP_Parser is mature, it can be used to build a more accurate provides list in the package.xml, and the new provides can be compared to the old one. If anything is removed, and the major version isn't bumped, packaging can fail, and also upload at pear.php.net can fail with a very specific error message (this method's been removed, the required parameter count has changed for this method, etc.) I think that will be enough. Greg Lukas Smith wrote:
From: Arnaud Limbourg [mailto:arnaud.limbourg.prestataire@cegetel.fr] Sent: Monday, October 27, 2003 9:41 AM
the method toHtml of the output driver has been split into tree_toHtml and listbox_toHtml. IMHO the toHtml method should still be provided because it breaks BC. CS police should also note that those two new methods do not follow standards. Daniel: can you please update the package by providing the old toHtml (note it as deprecated if needed) and rename the two methods to follow CS ?
I guess in the context of a protection in the pear installer against unwanted BC breaking updates we also need to enable developers to mark a release BC breaking if the BC break is found afterwards. Or should releases like that be pulled and replaced with a new release with some suffix? Regards, Lukas


« previous php.pear.dev (#23038) next »