27 Commits

Author SHA1 Message Date
Marcus Müller
35ba29427f
Shopware: Register new themes and scheduled tasks during deploy (#3681) 2023-09-07 23:12:26 +02:00
xavgru12
87f196ebcd
changes for using latest shopware flex template (#3586) 2023-04-29 12:47:42 +02:00
Marcus Müller
daba4ea9df
Shopware: Add new task for refreshing themes (#3530) 2023-03-07 23:23:14 +01:00
Marcus Müller
7f99c7e2c6
Shopware recipe: Do not warm up cache when clearing the cache (#3532) 2023-03-07 23:22:45 +01:00
Dr. Ulrich Thomas Gabor
fa2ce9ac0f
Shopware Flex has no build.sh anymore (#3513)
The new [Shopware template](https://developer.shopware.com/docs/guides/installation/template) does not have a `bin/build.sh` file anymore. The missing executable executed `composer install` and `bin/build-js.sh`. Since requiring the new Symfony flex recipe requires running `composer` manually, we just execute `bin/build-js.sh` now.

This could be a breaking change for some users. Don't know if you want to state that somewhere or allow a way to restore the old behavior via flag (although one can just override the `sw-build-without-db:build` task anytime).
2023-02-25 17:29:04 +01:00
Daniel Hormess
aeec635a2d
Fixed bin/console calls in shopware recipe (#3512)
* Fixed bin/console calls in shopware recipe

* Added generated docs

---------

Co-authored-by: Daniel Hormess <daniel@proudcommerce.com>
2023-02-24 18:22:55 +01:00
Dr. Ulrich Thomas Gabor
eaf30607f0
Removed temporary workaround as it is for a version which is a year old (#3325) 2022-09-30 13:28:18 +02:00
Peter Jaap Blaakmeer
12f0c41405
Remove absolute file paths from theme-config using the deploy_path (#2801)
* Remove absolute file paths from theme-config using the deploy_path

* Updated docs

* Update regex

* Fix regex

* Update shopware.php

Updated regex to allow release names with alphanumeric characters

Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-12 17:42:08 +01:00
Dr. Ulrich Thomas Gabor
2a00fbd0be
Removed not existing directory (#2835) 2021-12-14 10:49:43 +01:00
Philipp Z
33cd103f46
Fix temporary workaround in Shopware recipe (#2755)
* Remove temporary workaround in Shopware recipe

The workaround is no longer needed, since it was fixed in Shopware 6.4.6.0 (NEXT-17720)

* Reverted removal of temporary workaround

Kept workaround for Shopware installations <6.4.6.0 and added comment for information on fixed version

* Fail silently for shopware < 6.4.6 on different absolute paths in theme config

* Updated docs for shopware recipe

Co-authored-by: Philipp Zabel <pza@hair-shop.com>
2021-11-30 18:32:42 +01:00
Fabian Blechschmidt
e09d626967
#2760 Do not run deployment if no current path exists (#2761) 2021-11-18 20:28:00 +01:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Anton Medvedev
4ecc4786de Fix docgen 2021-11-06 19:02:51 +01:00
Anton Medvedev
b40c641ee2 Refactor shopware recipe 2021-11-05 15:33:35 +01:00
Anton Medvedev
33bdaacfea Remove sorter from shopware.php 2021-10-21 21:08:27 +02:00
Anton Medvedev
b89cc1c58e Update shopware recipe 2021-10-09 18:11:44 +02:00
Anton Medvedev
b724073157 Fix code style 2021-09-24 10:58:53 +02:00
David
d5b8ee78a6
use release_or_current_path instead of release_path for sw:plugin:upgrade:all in shopware recipe (#2610) 2021-07-27 12:09:26 +02:00
Fabian Blechschmidt
515eac3c0a
DRAFT: First activate plugins/themes THEN build them (#2607)
* First activate plugins/themes THEN build them

Currently the first step is to run bin/build.sh which builds all *ACTIVATED* themes. After this step we activate all composer-registered plugins (which in my case are all the themes) and THEN compile them. For new themes that means, that they are *NOT* build because they are activated AFTER building.

This PR fixes that and activated first and builds second.

* update changelog
2021-07-22 15:40:40 +02:00
Rick Schippers
b212b83e67
Bugfix shopware recipe plugin updates (#2414)
* removed incorrect duplicate version column

Output is as follows so:

$plugin,$label,$version,$upgrade,$author,$installed,$active,$upgradeable,

Shopware Plugin Service
=======================

 ------------------- --------------------------------------------------------- --------- ----------------- --------------------------- ----------- -------- -------------
  Plugin              Label                                                     Version   Upgrade version   Author                      Installed   Active   Upgradeable
 ------------------- --------------------------------------------------------- --------- ----------------- --------------------------- ----------- -------- -------------
  BuckarooPayments    Buckaroo Payment                                          1.1.1                       Buckaroo                    Yes         Yes      No
  DevTools            Additional tools to support your Shopware 6 development   0.2.0                       Maurits Meester             Yes         Yes      No

* Invoke sw:plugin:refresh inside sw:plugin:activate:all instead of incorrectly redefining it

* Upgrade all plugins that are upgradeable

* Changelog update

* Ran docgen

* Do NOT make upgrading all default

* Update doc

Co-authored-by: Fabian Blechschmidt <github@fabian-blechschmidt.de>
Co-authored-by: Fabian Blechschmidt <blechschmidt@fabian-blechschmidt.de>
2021-04-13 15:31:51 +02:00
Loris Leiva
7627f9ba43
Add and use new release_or_current_path (#2486)
* Add release_or_current_path option

* Use new path in platform-specific recipes

* Update CHANGELOG.md
2021-04-03 15:05:45 +03:00
Fabian Blechschmidt
5d0893fa84
Normalize shopware recipe and add common.php (#2422)
* Normalize shopware recipe and add common.php
2021-03-08 13:53:51 +01:00
Peter Jaap Blaakmeer
d7d5a01674
Remove config/jwt from writable dirs list (#2430)
config/jwt should have chmod 600, not 755
2021-02-23 17:11:08 +01:00
Fabian Blechschmidt
f5c9a92b1d
Feature/2423 shopware order modules (#2425)
* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- add dependency for polyfill (to use str_ends_with)
- marcj/topsort (for sorting the shopware modules)

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- get the plugin list
- read the composer names and dependencies from composer.lock
- order by dependencies
- use sorted list for activation and migration

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

Update changelog

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

do not update doc, but remove require autoload.php
2021-02-23 08:50:46 +01:00
Rick Schippers
c714d10356
Shopware recipe - fix invalid parsing of plugin:list and invoke nested sw:plugin:refresh instead of redefining it (#2419)
* Removed incorrect duplicate version column

* Invoke nested task instead of incorrectly redefining it, so it actually runs.

* Changelog updated
2021-02-19 11:45:15 +01:00
Anton Medvedev
5c736c07d4 Refactor recipes 2020-10-29 23:16:36 +01:00
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00