planned channel changes
| From: | greg at chiaraquartet dot net | Date: | Sun, 13 Jun 2004 00:14:05 +0000 |
| Subject: | planned channel changes | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-391@lists.php.net to get a copy of this message | ||
Hi,
The only planned major change in channel support is that validpackageregex will
be replaced with validatepackage. This will allow more flexibility and power,
while simplifying future additions.
<channel version="1.0">
<name>test</name>
<server>example.com</server>
<summary>test example</summary>
<validatepackage version="1.1">ChannelValidator</validatepackage>
</channel>
This will cause the test::ChannelValidator package, version 1.1, to be installed
in order to do custom validation of packages (making sure version number
matches version state, etc). Of course, the main issue with validation of this
sort is that if there are any fatal errors like parse errors in the package,
that borks the entire install process for the test channel, so the maintainers
of channel test will have to be darn sure their validator works or they will
screw all their users :).
Greg