Re: File_CSV as standalone package?
| From: | Stefan Neufeind | Date: | Sat, 30 Aug 2003 09:19:48 +0000 |
| Subject: | Re: File_CSV as standalone package? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20862@lists.php.net to get a copy of this message | ||
On 30 Aug 2003 at 4:19, Marshall Roch wrote:
> Stefan Neufeind wrote:
[...]
> > But since File is marked as "stable" I guess we can't remove CSV
> > from File. The only solution to me seems a dependency from File to
> > File_CSV?
>
> Yes, but we could make it optional, and you'd only *have* to install
> it if you're using it, which it doesn't sound like many people are. A
> short note (but longer than the one that mentions CSV in the package
> description!) in the documentation and the changelog might be enough.
Oh yes, got a wrong assumption here. I assumed that File.php does an
include on File_CSV.php (which is unlogical now that I think about it
and have a look at File.php). Then we would maybe have broken
compatibility. But since we only would move File_CSV to a separate
package and dir-locations remain the same there shouldn't be a
problem with BC.
By the way: What if you install File_CSV and afterwards upgrade File
to a version that doesn't contain CSV anymore? I guess then upgrading
File might remove File/CVS.php - correct? I guess this could be
solved by giving a dependency from File_CSV that demands File v1.0.4
(or what the next release will be called) so that prior to installing
File_CSV you have to upgrade File. Greg, might this work as expected?
Stefan