]> granicus.if.org Git - php/commitdiff
update TODO to reflect must-haves prior to 2.0
authorGreg Beaver <cellog@php.net>
Tue, 12 Feb 2008 05:36:02 +0000 (05:36 +0000)
committerGreg Beaver <cellog@php.net>
Tue, 12 Feb 2008 05:36:02 +0000 (05:36 +0000)
ext/phar/TODO

index c94936c210a9a30c7272d4fefe08ffa669f0bf02..c9e6b3fce90a3632061728fffc07f54f05b1d0fb 100644 (file)
@@ -78,6 +78,15 @@ Version 2.0.0
    storing sqlite databases, cache, or template files in a location external to the phar.  Copy of the files
    would need to be performed in an installation step, phar would not attempt to do this for performance and
    security reasons.
+ * make convertToZip/convertToTar rename files and return the new filename.  Also, convertToPhar() with full
+   file compression should rename to append .gz or .bz
+ * don't automatically add a stub to .zip or .tar files
+ * don't allow a stub to be added to a .zip/.tar that does not have ".phar" in the filename somewhere
+ * allow read/write on .tar/.zip files that do not contain a stub or alias file
+ * prevent manual addition of stub via $a['.phar/stub.php'] = '<?php my stub';
+ * make createDefaultStub() setDefaultStub() and have it file format-specific so that zip/tar-based phars
+   do not have a phar-specific stub
+ * convertTo*() should always uses the default stub.
  X ability to store empty directories [Greg]
  X tar support [Greg]
  X zip support [Greg]