]> granicus.if.org Git - php/commitdiff
update TODO
authorGreg Beaver <cellog@php.net>
Mon, 11 Feb 2008 06:54:46 +0000 (06:54 +0000)
committerGreg Beaver <cellog@php.net>
Mon, 11 Feb 2008 06:54:46 +0000 (06:54 +0000)
ext/phar/TODO

index ec7fb18516622fc72c12d686c464ae756dbd0dba..c94936c210a9a30c7272d4fefe08ffa669f0bf02 100644 (file)
@@ -60,9 +60,25 @@ Version 1.2.1
 
 Version 2.0.0
 
- * ability to have Phar object return file class as offsetGet() result
+ X implement webPhar() rewrite as a callback that returns FALSE to deny access, or a string
+   representing a file within the archive to access.  If unknown, the callback should return
+   the original request uri [Greg]
+ * implement automatic "mounting" of internal phar archives so that phar:///path/to/archive.phar/internal.phar/file
+   opens internal.phar and maps its manifest inside archive.phar.  The manifest entry inside archive.phar
+   would be named "internal.phar/file".  write access to internal files inside an internal phar would be
+   denied, as the entire archive must be added or removed at the same time.
+ * rework filename detection so that alias is always checked first
+ * make aliases containing '/' or '\' invalid
+ * implement manual mounting of external phar archives to locations inside a phar path,
+   $phar->mount('/path/to/external.phar', 'internal/path');
+   this would travers external.phar's manifest, and add each entry as a virtual entry just like
+   automatic mounting of internal phars
+ * implement manual mounting of external paths to a directory inside a phar path.  Because the mapping
+   would be to an external directory, write access would be allowed always.  This allows
+   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.
  X ability to store empty directories [Greg]
- * implement PPG signing
  X tar support [Greg]
  X zip support [Greg]
  X Phar::copy($from, $to); [Greg]