Re: Maintaining XML_Tree
| From: | Justin Patrin | Date: | Fri, 24 Feb 2006 04:28:35 +0000 |
| Subject: | Re: Maintaining XML_Tree | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3544@lists.php.net to get a copy of this message | ||
On 2/23/06, Enver ALTIN <ealtin@parkyeri.com> wrote:
> Hey again,
>
> Arnaud Limbourg wrote:
> > Lukas Smith wrote:
> >> Arnaud Limbourg wrote:
> >>
> >>> There are big issues with this package though. Namely the releases
> >>> are quite messy and we could never find a satisfactory way to handle
> >>> the situation.
> >>>
> >>> I'm not sure it is worth the trouble or is it, anyone ?
> >>
> >> I think its worth the trouble. The current situation is not ideal at
> >> all, but anything that gets us to a point from which on we can stay
> >> within our QA guidelines again is a step in the right direction.
> >
> > It is not ideal indeed. There is quite some work to be able to release
> > the package because of the BC breaks.
>
> So, do you think I should spend some time to check the version history,
> come up with a patch to fix BC breaks in a sane way and prepare for a
> package release? Until now I did not care about BC and just fixed the
> problems that made it completely unusable.
>
> XML_Tree is relatively small, so even if we "skipped" BC issues and
> changed method prototypes, people would be adapting very quickly. I
> could even provide a "sed" script to do the job automagically.
>
But still, scripts which rely on the API will die and *users* won't
know how fix it. If you want to change API (which is a BC break) you
have to up the version #. I suggest if there are issues with the code
and the only way to really fix it is to break BC just up the version
#. Users will be just as quick to upgrade to a new version if it's
better as they will be to change their scripts for a new API (which is
basically the same thing).
--
Justin Patrin