|
Revision 5250, 0.7 kB
(checked in by fabien, 6 years ago)
|
new plugin system
- the plugin system can be used by itself (no symfony dependency)
- new plugin/ directory with all plugin related classes
- those classes can be used by themselves in your code (see unit tests for some examples)
- leveraged PEAR channels:
- use of the full PEAR REST API
- it's now possible to install plugins hosted on any PEAR channel
- dependencies are now checked
- last version guess now takes into account stability and symfony version
- added more options to the CLI tasks:
- --install_deps: to automatically install required dependencies
- --release: to install a specific plugin release
- --stability: to change the preferred stability (stable by default)
- --channel: to install plugins from other PEAR channels
- added some events:
- plugin.pre_install
- plugin.post_install
- plugin.pre_uninstall
- plugin.post_uninstall
- added the possibility to mock all HTTP related layers of PEAR (PEAR_REST, PEAR_Downloader)
- added full unit tests for all the features
The symfony plugin repository is comptatible with symfony 1.0 and 1.1.
The new repository will be at plugins.symfony-project.org (.org and not .com).
It will be up this week. In the meantime, it's not possible to install plugins
via the plugin:* tasks. The new backend won't accept plugins with "non-compliant"
licenses.
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
require_once 'PEAR/REST.php'; |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
class sfPearRest extends PEAR_REST |
|---|
| 22 |
{ |
|---|
| 23 |
|
|---|
| 24 |
* @see PEAR_REST::downloadHttp() |
|---|
| 25 |
*/ |
|---|
| 26 |
public function downloadHttp($url, $lastmodified = null, $accept = false) |
|---|
| 27 |
{ |
|---|
| 28 |
return parent::downloadHttp($url, $lastmodified, $accept); |
|---|
| 29 |
} |
|---|
| 30 |
} |
|---|
| 31 |
|
|---|