Re: [SOLVED] About PEAR_PackageFileManager2 and CVS plugin
| From: | Helgi Þormar Þorbjörnsson | Date: | Mon, 11 May 2009 23:49:14 +0000 |
| Subject: | Re: [SOLVED] About PEAR_PackageFileManager2 and CVS plugin | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51818@lists.php.net to get a copy of this message | ||
Hi Laurent,
2009/5/11 Laurent Laville <pear@laurent-laville.org>:
> Is there any windows users of PEAR_PAckageFileManager (PFM) ?
>
> Either :
> 1 - PFM users used only linux
> 2 - all windows users are gone in hollidays at once
> 3 - windows users are too shy to talk
>
> I confirm that there is a bug with PFM plugin 1.0.0 and CVS
>
> I've investigated a bit since version PFM 1.6.3 that work fine for me, and I
> found source of problem.
>
> Helgi, if you replace line 249 into _checkIgnore() of
> PackageFileManager/File.php [1]
>
> $path = strtr($path, '\\', '/');
>
> By previous lines (present in v1.6.3)
>
> if (file_exists($path)) {
> $path = realpath($path);
> }
>
> All will run fine for Windows users ... uhm ... Window user (me) !
>
> Laurent
> Happy to use again PFM with its CVS plugin
Thanks for tracking it down - I shall take a look at it tomorrow
morning and see why I did it and if there is a way around it - If
everything fails I will readd it back in.
Thanks for catching that one!
This shows we really need a CI system that runs on multiple platforms
with multiple PHP version :-) /me looks at Chuck
- Helgi