BC check on release upload
| From: | Pierre-Alain Joye | Date: | Wed, 17 Sep 2003 07:34:26 +0000 |
| Subject: | BC check on release upload | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-186@lists.php.net to get a copy of this message | ||
Hello,
While discussion about Log 1.7.0 which introduces a BC break between 2
releases with the same major version number. I started to work on a
interface checker.
It checks the functions/classes/class::method between the uploaded
release and the previous release, only if the major version number is
the same.
A release is rejected if:
- A Class has been droped
- a function or method has been droped
What should be good to add:
- function/method arguments
- if optionnals arguments have been added, there is no BC issue
(obviously only appended and not prepended or somewhere between
existing arguments)- if required arguments have been added, the
release is rejected
That requires to add arguments to the "provides" tag, with an optionnal
flag. I plan to add it asap to pearweb.
Comments?
pierre