Links:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
set('bin/console', '{{bin/php}} {{release_or_current_path}}/bin/console'); | |
set('default_timeout', 3600); // Increase when tasks take longer than that. | |
// These files are shared among all releases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignition": { "version": "3.0.0" }, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "shyim", | |
"sshAuthorizedKeys": [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBuZPgjmIp/dZ0HzRpoFDLsAqFwRGuFBwJiu9qk22tHP" | |
], | |
"groups": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
envFile=$1 | |
# drop first argument | |
shift | |
IFS=$'\n' | |
for line in $(op inject -i $envFile) | |
do |
To improve the Developer experience we want to improve the already existing plugin:create
command and invest some more love there.
The tasks here are:
- Make the
composer.json
configureable using Command flags / ask the user - Create a
services.yaml
instead ofservices.xml
and enable Autowire by default for the Plugin.
- Create a Symfony Command
app:create
- The command should create a manifest.xml like described here https://developer.shopware.com/docs/guides/plugins/apps/app-base-guide
- The user should be asked to define the name etc.
- Add a optional flag
--theme
- This adds a
theme.json
to add a theme as app. Look into documentation
- This adds a
- Add unit tests to test your command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Composer\InstalledVersions; | |
use Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry; | |
use Shopware\Core\Framework\Plugin\KernelPluginLoader\DbalKernelPluginLoader; | |
use Shopware\Core\Kernel as CoreKernel; | |
use Symfony\Component\Dotenv\Dotenv; | |
use Tinkerwell\ContextMenu\Label; | |
use Tinkerwell\ContextMenu\Submenu; | |
use Tinkerwell\ContextMenu\SetCode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- process.c | |
+++ process.c | |
@@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G) /* ret | |
= (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11); | |
#endif | |
+#ifdef SYMLINKS | |
+ /* Initialize the symlink flag, may be set by the platform-specific | |
+ mapattr function. */ | |
+ G.pInfo->symlink = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)" | |
set -e | |
export PROJECT_ROOT="${PROJECT_ROOT:-"$(dirname "$CWD")"}" | |
ADMIN_ROOT="${ADMIN_ROOT:-"${PROJECT_ROOT}/vendor/shopware/administration"}" | |
# build admin |
Open Editor -> File And Code Templates -> Files -> Create new One
- Name: Changelog
- File Name: ${YEAR}-${MONTH}-${DAY}-${NAME}.md
- Extension: md
- Disable Reformat according to style
For Content see below
NewerOlder