| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This time the test case was correct and actually showed a bug in the tar
library. The error occured only on the first build (directory build/0/)
where the zero was stripped from the path name.
I added unit tests to the cleanPath function and discovered another bug
with handling relative directories. I rewrote the cleanPath() function
and now it should finally work.
Unit tests FTW!
|
|
|
|
|
|
| |
When the DokuWiki install was in a deep namespace, the used path name
could land in the >100 char limit and trigger ustar format where the
filename and directory name are split. This would fail the test.
|
|
|
|
|
| |
Tars strip the leading slash so the tests where wrong. Not sure why they
stilldid work sometimes
|
| |
|
| |
|
|
|
|
|
|
|
| |
This reverts commit f2cb3ec76dec3fe2b40f25765ef842223c7132fe.
Turns out I was too fast merging this. I can't get PHP's bzip handler to
handle a bzip1 compressed file.
|
|
|
|
|
| |
in fact .tbz is tar.bz (bzip1) and .tbz2 is what tar.bz2 is used
commonly.
|
| |
|
|
|
|
|
| |
The library now creates either a POSIX ustar prefix or a GNU longlink
entry for files which have a name longer than 100 bytes
|
|
|
|
| |
Supports POSIX ustar prefixes and GNU longlink entries
|
| |
|
|
This new class is only losely based on our previous library. The
whole API was changed to make it more flexible and memory saving.
Some fisrt unit tests are included
|