Skip to content

Commit

Permalink
Prepare 1.5, including updating requirements to reduce memory consump…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
andrerom committed Feb 18, 2019
1 parent ab86627 commit f88449e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
13 changes: 5 additions & 8 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Installing the eZ Platform legacy bridge

Unlike eZ Publish 5.x, eZ Platform does not include the Legacy stack by default.

Even though it is not recommended for use on new installs, eZ Publish Legacy can easily be installed
on top of Platform using Composer to provide a more up-to-date platform to migrate your code to eZ Platform with.
Instructions below will take you true installing legacy bridge and implicit legacy on top of a eZ Platform 1.13.x - 2.x
install.

### Add the composer `legacy post-*-scripts`

Expand All @@ -28,7 +26,7 @@ Edit `composer.json`, and add those lines to both `post-update-cmd` and `post-in
}
```

Example: In the case of stock eZ Platform 1.11 and higher that would specifically be:
Example: In the case of stock eZ Platform 1.13 that would specifically be:
```
"scripts": {
"legacy-scripts": [
Expand Down Expand Up @@ -99,12 +97,11 @@ _Tip:_

### Install `ezsystems/legacy-bridge`

`ezsystems/legacy-bridge` contains the libraries previously included in `ezsystems/ezpublish-kernel` in version 5.x.

It must be installed using Composer. Take care to use `^1.3.0` as version constraint, since previous versions lack some important fixes for newer versions of eZ Platform:
Package can be installed using Composer in the following way:

```
composer require --update-no-dev "ezsystems/legacy-bridge:^1.3.0"
composer require --update-no-dev "ezsystems/legacy-bridge:^1.5.0"
```

### Optional: Add missing legacy extensions
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@
[![Latest version](https://img.shields.io/packagist/v/ezsystems/legacy-bridge.svg?style=flat-square)](https://packagist.org/packages/ezsystems/legacy-bridge)
[![License](https://img.shields.io/packagist/l/ezsystems/legacy-bridge.svg?style=flat-square)](LICENSE)

This package integrates eZ Publish Legacy into eZ Platform. It is an extract of the Legacy backwards compatibility
features that were part of eZ Publish 5.x.
This package integrates eZ Publish Legacy into eZ Platform. It is an enhanced version of LegacyBundle that were part of
eZ Publish 5.x, providing even more features to simplify running Platform stack and legacy together.

It is meant to be installed as an addition to eZ Platform, starting from version 15.01.
It is meant to be installed as an addition to eZ Platform 1.13.x - 2.x installs when you need legacy for migration.

** NOTE: Legacy bridge will not be supported for eZ Platform 3.x**
_eZ Platform 3.x aims to finally start improving database schema again, which will break legacy comparability.
Recommendation is to use eZ Platform / Platform Enterprise 2.5LTS to handle migration needs, and once done evaluate 3.x upgrade._

See [INSTALL.md](INSTALL.md) for the installation procedure.

### Reporting issues

As Legacy Bridge is co-maintained by the community and eZ Engineering *(as active community members)*, issues found can be reported directly here on Github. There is no SLA on fixes, this is all on voluntary basis, and we welcome you in contributing to issues in any form you you are capable of.
As Legacy Bridge is co-maintained by the community and eZ Engineering *(as active community members)*, issues found can be reported directly here on Github.
There is no SLA on fixes, this is all on voluntary basis, and we welcome you in contributing to issues in any form you you are capable of.


##### For Enterprise Customers
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"minimum-stability": "stable",
"require": {
"ezsystems/ezpublish-legacy-installer": "^2.0.4",
"ezsystems/ezpublish-legacy": ">=2017.08@dev",
"ezsystems/ezpublish-kernel": "^6.11@dev",
"sensio/distribution-bundle": "^3.0.36|^4.0.6|^5.0.6",
"twig/twig": "^1.27 | ^2.0"
"ezsystems/ezpublish-legacy": "^2017.12",
"ezsystems/ezpublish-kernel": "^6.13.4",
"sensio/distribution-bundle": "^3.0.36 | ^4.0.40 | ^5.0.23",
"twig/twig": "^1.36 | ^2.5"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^1.0",
"phpunit/phpunit": "^5.7",
"matthiasnoback/symfony-dependency-injection-test": "^1.1",
"phpunit/phpunit": "^5.7.27",
"mikey179/vfsStream": "~1.1.0"
},
"autoload": {
Expand All @@ -34,7 +34,7 @@
"extra": {
"ezpublish-legacy-dir": "ezpublish_legacy",
"branch-alias": {
"dev-master": "1.4.x-dev"
"dev-master": "1.5.x-dev"
}
}
}

0 comments on commit f88449e

Please sign in to comment.