Skip to content

Commit

Permalink
Merge branch '1.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Feb 18, 2019
2 parents a969215 + f88449e commit 3ef783a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
10 changes: 4 additions & 6 deletions INSTALL.md
@@ -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 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 2.0 and higher that would specifically be:
Example: In the case of stock eZ Platform 2.x that would specifically be:
```
"scripts": {
"legacy-scripts": [
Expand Down Expand Up @@ -102,7 +100,7 @@ _Tip:_

### Install `ezsystems/legacy-bridge`

`ezsystems/legacy-bridge` contains a newer version of the libraries previously included in `ezsystems/ezpublish-kernel` in version 5.x.
Package can be installed using Composer in the following way:

```
composer require --update-with-all-dependencies "ezsystems/legacy-bridge:^2.0"
Expand Down
13 changes: 9 additions & 4 deletions README.md
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/github/license/ezsystems/LegacyBridge.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 on 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
Expand Up @@ -12,16 +12,16 @@
"minimum-stability": "stable",
"require": {
"ezsystems/ezpublish-legacy-installer": "^2.0.4",
"ezsystems/ezpublish-legacy": ">=2017.10@dev",
"ezsystems/ezpublish-kernel": "^7.0@dev",
"ezsystems/ezplatform-xmltext-fieldtype": "^1.5@dev",
"sensio/distribution-bundle": "^5.0.6",
"twig/twig": "^1.32 | ^2.2"
"ezsystems/ezpublish-legacy": "^2018.09 | ^2019.02",
"ezsystems/ezpublish-kernel": "^7.4",
"ezsystems/ezplatform-xmltext-fieldtype": "^1.8",
"sensio/distribution-bundle": "^5.0.23",
"twig/twig": "^1.36 | ^2.5"
},
"require-dev": {
"ezsystems/ezplatform-http-cache": "*",
"matthiasnoback/symfony-dependency-injection-test": "^2.0",
"phpunit/phpunit": "^6.0",
"matthiasnoback/symfony-dependency-injection-test": "^2.3",
"phpunit/phpunit": "^6.5",
"mikey179/vfsStream": "~1.1.0"
},
"autoload": {
Expand Down

0 comments on commit 3ef783a

Please sign in to comment.