From: Greg Beaver Date: Sun, 23 Mar 2008 22:51:00 +0000 (+0000) Subject: update TODO X-Git-Tag: RELEASE_2_0_0a1~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7493b9dfb67a1d577083837ea32a3b3e5e811955;p=php update TODO --- diff --git a/ext/phar/TODO b/ext/phar/TODO index 987a793df0..23f40943d4 100644 --- a/ext/phar/TODO +++ b/ext/phar/TODO @@ -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'] = '