drupal-marvin_product's People
Forkers
rcsehildrupal-marvin_product's Issues
Do not enable/disable field_ui module in drush.yml
Do not enable/disable field_ui module in drush.yml
marvin.environments.local.modules.field_ui
Refactor CircleCI
Use all the shiny feature from CircleCI 2.x
Update the $settings['deployment_identifier'] during artifact generation
- composer.lock#/content-hash
- custom codes
Version bump has to take care of the *.po files
In /sites/all/translations
directory all the *.po files which are belong to custom modules (very likely only app-VERSION-LANGCODE.po) have to be renamed according to the new version number.
$config['locale.settings']['translation']['path']
Changed file notification on marvin:git-hook:post-merge event
Same notification should be displayed on marvin:git-hook:post-merge event as we have on marvin:git-hook:post-checkout.
- composer.json or composer.lock changed
- package.json or yarn.lock changed
Command marvin:toggle-modules validate config marvin.environment
The marvin:toggle-modules
command should throw an error if the given marvin.environment
is not exists as a key in the marvin.environments
array.
Integrate phpstan
The fundamental components should be implemented in drupal/marvin
Optional NVM
Currently the marvin:build
commands rely on the nvm
script.
Make it optional.
marvin:onboarding delegate
The marvin:onboarding
command should do nothing on its own.
It should do something like this: $this->delegate('onboarding');
Add PHP 8.1 support
Add PHP 8.1 support
Use the configured composer executable in every composer task
After "composer require" list the newly available Drupal modules and themes
After a composer require
command list the newly available Drupal modules and themes and profiles, with the corresponding Drush command. For example drush pm:enable foo
.
Command marvin:toggle-modules info vs debug
Messages which explain what will happen during the execution (which modules will be enabled or disabled) should be logged as info instead of a debug message.
Integrate CDD
https://github.com/Sweetchuck/robo-cdd
- *.libraries.yml / dependencies
- *.info.yml / dependencies
- migration dependencies
- etc
isApplicable project types
\Drush\Commands\marvin_product\ArtifactBuildProductCommandsBase::isApplicable
- project
- product
- drupal-project
- drupal-product
JSON Schema definition for EnvConfigHandler
- @command marvin:env-config:settings-php
- \Drupal\marvin_product\EnvConfig\EnvConfigHandler::normalize
marvin:env:switch command
- behat.local.yml
- phpunit.xml
- drush/drush.local.yml
- docroot/sites/*/settings.local.php
- gulp.config.json
Task is to create symlinks based on the given environment.
The command should use ::delegate().
This will affects the marvin:onboarding command as well.
marvin:onboarding exit code
The marvin:onboarding command should fail when the project still on template phase
With -vvv
I can get the error message, but the exit code is 0
Onboarding is skipped, because this project is still in template phase.
(one can run into this problem only if the project wasn't initialized properly)
Parallel marvin:test:behat
In NpmCommands::onEventMarvinBuild the `yarn install` maybe uses the the global node and yarn
In NpmCommands::onEventMarvinBuild the yarn install
maybe uses a wrong version of node
.
Add support for --parents in marvin:env-conf:settings-php command
Add support for --parents in marvin:env-conf:settings-php command
marvin:onboarding vs phpunit.xml - SIMPLETEST_BASE_URL
I thinkt he marvin:onboarding
command wold be able to generate a phpunit.xml
file with the correct values.
- SIMPLETEST_BASE_URL
drush_invoke_process() is deprecated
\Drush\Commands\marvin_product\MigrateCommands::getTaskMigrateImportDoIt()
Configurable Git hooks deployment
Do not deploy those Git hook scripts which have no subscriber.
Package version diff between two composer.lock
Package version diff between two composer.lock
Support for patch files in local directory
When the composer.json contains a reference to a patch file like this:
{
"extra": {
"patches": {
"Foo": "./patches/bar.patch"
}
}
}
Then the "composer install" command failing during the artifact generation (marvin:artifact:build:vanilla)
Proposed solution
Add a new task before the "composer install --no-dev" task, which copies the "patches" directory from the project root to the build directory.
And add another new task after the "composer install --no-dev" task, which removes the previously copied "patches" directory, because it is not needed to be in the artifact.
Remove *.po files from the artifact which belong to a developer helper module
Sometimes a file like this also part of the artifact ./sites/all/translations/devel-4.1.1-XX.po
, but it should not if the devel module is not part of the artifact.
Database import-export
Helper command to restore the site from backup.
By default the backup directory is in the outer sites directory.
./sites/default/backup
drush core:rsync
drush sql:dump
drush sql:cli < foo.mysql
Wrong drush_invoke_process() return value validation in @command marvin:migrate
Wrong drush_invoke_process() return value validation in @command marvin:migrate
\Drush\Commands\marvin_product\MigrateCommands::getTaskMigrateImportDoIt
$response = drush_invoke_process($cmdSiteAlias, $cmdName, $cmdArgs, $cmdOptions);
if ($response === FALSE || !empty($response['error_status'])) {
$this->getLogger()->error('migrate:import failed.');
return 1;
}
marvin:onboarding vs trusted_host_patterns
After the marvin:onboarding
command the trusted_host_patterns
is not updated in docroot/sites/default/settings.local.php
composer.json#require-dev vs core.extensions.yml
config/sync/core.extensions.yml
should not contain any module which comes from composer.json#require-dev
Note: Config managed by config_split can be a tricky one.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.