Re: Pear installer issues
| From: | Vincent Blavet | Date: | Thu, 09 May 2002 13:06:17 +0000 |
| Subject: | Re: Pear installer issues | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6051@lists.php.net to get a copy of this message | ||
I improve Archive_Tar for the Wibdows path handling.
Paths are all the time stored in the '/path/folder' format inside the
archive (to be compliant with the standard format), however under a windows
system you can give the file (or dir) path in the windows format
'c:\path\folder'. When necessary (creating the archive, adding files, ...)
'\' are replaced by '/' and disk letter 'c:' are removed.
Can any one check that everything is restored for the package manager /
installer ?
Thanks,
Vincent
----- Original Message -----
From: "Stig S. Bakken" <ssb@fast.no>
To: "Vincent Blavet" <vincent@blavet.net>
Cc: "Stig S. Bakken" <Stig.Bakken@fast.no>; "Sebastian Bergmann"
<sebastian@php.net>; <pear-dev@lists.php.net>
Sent: Tuesday, May 07, 2002 8:58 AM
Subject: Re: [PEAR-DEV] Pear installer issues
> Great.
>
> - Stig
>
> On Mon, 2002-05-06 at 13:36, Vincent Blavet wrote:
> > That's true, in the GNU Tar format the path must be with '/' separators.
> > Only the access to the file system can be with DIRECTORY_SEPARATOR.
> >
> > When I do the Archive_Tar synchro between pear/Archive_Tar and
> > php4/pear/Archive, I didn't check what was really modified, I just trust
it
> > was OK. I should have look more in details.
> >
> > May be I can look at that, I should remember the way I write this ...
> >
> > Vincent
> >
> >
> > ----- Original Message -----
> > From: "Stig S. Bakken" <ssb@fast.no>
> > To: "Sebastian Bergmann" <sebastian@php.net>
> > Cc: <pear-dev@lists.php.net>
> > Sent: Sunday, May 05, 2002 8:09 AM
> > Subject: Re: [PEAR-DEV] Pear installer issues
> >
> >
> > > On Sat, 2002-05-04 at 19:13, Sebastian Bergmann wrote:
> > > > Alexander Merz wrote:
> > > > > I thought, i fixed this problem!?
> > > >
> > > > Stig thought so, too. Maybe this is another issue?
> > >
> > > It looks to be as Archive_Tar should not use DIRECTORY_SEPARATOR at
all,
> > > only '/'. If not, you can't untar in Linux a package created in
Windows
> > > and vice-versa.
> > >
> > > In Archive_Tar, DIRECTORY_SEPARATOR should be used when dealing with
the
> > > file system, but in the tar file it should be '/' consistently. I'll
> > > take a look at it.
> > >
> > > - Stig
> > >
> > >
> > > --
> > > PEAR Development Mailing List (http://pear.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>