Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform-version #578

Merged
merged 5 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/pimcore-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
matrix:
include:
- { php-version: 8.2, database: "mariadb:10.11", pimcore_version: "", experimental: true }
- { php-version: 8.2, database: "mariadb:10.11", pimcore_version: "", pimcore_upgrade_version: "11.x-dev as 11.0.0", experimental: true }
- { php-version: 8.2, database: "mysql:latest", pimcore_version: "", experimental: true }
- { php-version: 8.2, database: "mysql:latest", pimcore_version: "", pimcore_upgrade_version: "11.x-dev as 11.0.0", experimental: true }
- { php-version: 8.3, database: "mariadb:10.11", pimcore_version: "", experimental: true }
- { php-version: 8.3, database: "mariadb:10.11", pimcore_version: "", pimcore_upgrade_version: "11.x-dev as 11.0.0", experimental: true }
- { php-version: 8.3, database: "mysql:latest", pimcore_version: "", experimental: true }
- { php-version: 8.3, database: "mysql:latest", pimcore_version: "", pimcore_upgrade_version: "11.x-dev as 11.0.0", experimental: true }
kingjia90 marked this conversation as resolved.
Show resolved Hide resolved
kingjia90 marked this conversation as resolved.
Show resolved Hide resolved
steps:
# Check out the repo in a sub-dir to see if it can serve as
# template for `composer create-project`
Expand Down Expand Up @@ -130,6 +130,7 @@ jobs:
set -ex

cd sample-project/
docker-compose exec -T -- php composer remove pimcore/platform-version --no-update
docker-compose exec -T -- php composer require pimcore/pimcore:"${UPGRADE_VERSION}"

# Run pimcore migration.
Expand All @@ -145,4 +146,4 @@ jobs:
- name: Compose down
run: |
cd sample-project/
docker-compose down -v --remove-orphans
docker-compose down -v --remove-orphans
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ You don't need to have a PHP environment with composer installed.
* The admin interface, using the credentials you have chosen above:
<http://localhost/admin>

## Pimcore Platform Version
By default, Pimcore Platform Version is added as a dependency which ensures installation of compatible and in combination
with each other tested versions of additional Pimcore modules. More information about the Platform Version can be found in the
[Platform Version docs](https://github.com/pimcore/platform-version).

It might be necessary to update a specific Pimcore module to a version that is not included in the Platform Version.
In that case, you need to remove the `platform-version` dependency from your `composer.json` and update the module to
the desired version.
Be aware that this might lead to a theoretically compatible but untested combination of Pimcore modules.

## Other demo/skeleton packages
- [Pimcore Skeleton](https://github.com/pimcore/skeleton/)
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
"require": {
"php-http/guzzle7-adapter": "^0.1.1",
"php-http/httplug-bundle": "^1",
"pimcore/customer-management-framework-bundle": "^4.0",
"pimcore/pimcore": "^11.1",
"pimcore/web2print-tools-bundle": "^5.0",
"pimcore/data-hub": "^1.6",
"pimcore/platform-version": "^2024.2",
"pimcore/customer-management-framework-bundle": "*",
"pimcore/pimcore": "*",
"pimcore/web2print-tools-bundle": "*",
"pimcore/data-hub": "*",
"pimcore/payment-provider-paypal-smart-payment-button": "^2.0",
"pimcore/admin-ui-classic-bundle": "^1.2",
"pimcore/ecommerce-framework-bundle": "^1.0",
"pimcore/web-to-print-bundle": "^1.0",
"pimcore/newsletter-bundle": "^1.0",
"pimcore/admin-ui-classic-bundle": "*",
"pimcore/ecommerce-framework-bundle": "*",
"pimcore/web-to-print-bundle": "*",
"pimcore/newsletter-bundle": "*",
"symfony/runtime": "^6.2",
"symfony/intl": "^6.2",
"symfony/dotenv": "^6.2",
Expand Down
Loading