Re: [PHP-DEV] phar_rename_archive() bug fix for PHP7

2015-03-17 Thread Ralph Schindler
I recently stumbled over that issue, too; thanks for looking into it. Looking at the patch, it seems, that some handling for bzip2 archives is missing; I think if there are special cases for .tar, .tgz and .zip, there should also be a case for .tbz2 (.tar.bz2). Yep, I discussed this with a

Re: [PHP-DEV] phar_rename_archive() bug fix for PHP7

2015-03-17 Thread Michael Wallner
On 17/03/15 15:55, Ralph Schindler wrote: hi all, Phar::convertTo*() methods have a design flaw such that phar files can't be successfully converted and retain the proper file suffix at the same time when the base name contains dots. An expression of this is attempting to convert

[PHP-DEV] phar_rename_archive() bug fix for PHP7

2015-03-17 Thread Ralph Schindler
hi all, Phar::convertTo*() methods have a design flaw such that phar files can't be successfully converted and retain the proper file suffix at the same time when the base name contains dots. An expression of this is attempting to convert something-v3.0.0.phar to say a tar.gz via