cvs: pecl /phar TODO
| From: | Greg Beaver | Date: | Sun, 23 Mar 2008 22:50:59 +0000 |
| Subject: | cvs: pecl /phar TODO | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10040@lists.php.net to get a copy of this message | ||
cellog Sun Mar 23 22:50:59 2008 UTC
Modified files:
/pecl/phar TODO
Log:
update TODO
http://cvs.php.net/viewvc.cgi/pecl/phar/TODO?r1=1.60&r2=1.61&diff_format=u
Index: pecl/phar/TODO
diff -u pecl/phar/TODO:1.60 pecl/phar/TODO:1.61
--- pecl/phar/TODO:1.60 Fri Mar 7 14:59:46 2008
+++ pecl/phar/TODO Sun Mar 23 22:50:59 2008
@@ -66,18 +66,12 @@
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 @@
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 @@
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.