]> granicus.if.org Git - php/commitdiff
update TODO
authorGreg Beaver <cellog@php.net>
Sun, 23 Mar 2008 22:51:00 +0000 (22:51 +0000)
committerGreg Beaver <cellog@php.net>
Sun, 23 Mar 2008 22:51:00 +0000 (22:51 +0000)
ext/phar/TODO

index 987a793df0d17d19cea1b777a420dcee7035c634..23f40943d42754643e46cd037d5daa70fcfa221d 100644 (file)
@@ -66,18 +66,12 @@ Version 2.0.0
  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
X implement manual mounting of external phar archives to locations inside a
    phar path, $phar->mount('/path/to/external.phar', 'internal/path');
    this would traverse external.phar's manifest, and add each entry as a
-   virtual entry just like automatic mounting of internal phars
+   virtual entry just like automatic mounting of internal phars [Greg]
  X 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
@@ -85,14 +79,14 @@ Version 2.0.0
    would need to be performed in an installation step, phar would not attempt
    to do this for performance and security reasons. [Greg]
  * implement write support for mounted files even if phar.readonly=1
- * implement opendir support for mounted paths
+ X implement opendir support for mounted paths [Greg]
  X make convertToZip/convertToTar rename files [Steph]
  X make convertTo*() with full file compression rename to append .gz or .bz2
    [Steph]
  X don't automatically add a stub to .zip or .tar files [Steph]
  X don't allow a stub or alias to be added to a .zip/.tar that does not have
    ".phar" in the filename (or already have stub/alias) [Steph]
- * allow read/write on .tar/.zip files that do not contain a stub or alias
+ X allow read/write on .tar/.zip files that do not contain a stub or alias [Steph]
  * prevent manual addition of stub via $a['.phar/stub.php'] = '<?php my stub';
  * investigate potential collision between SPL's DirectoryIterator flags and
    those in phar_archive_data
@@ -110,3 +104,11 @@ Version 2.0.0
  X Layout: Option to compress all content rather than single files. (tar/phar
    only) [Greg]
  X clean crap paths like phar://blah.phar/file//../to\\here.php [Greg]
+
+Version 2.1.0
+ * 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.