Giter Club home page Giter Club logo

drupal-marvin_product's People

Contributors

balintpekker avatar sweetchuck avatar

Watchers

 avatar  avatar

Forkers

rcsehil

drupal-marvin_product's Issues

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']

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');

isApplicable project types

\Drush\Commands\marvin_product\ArtifactBuildProductCommandsBase::isApplicable

  • project
  • product
  • drupal-project
  • drupal-product

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)

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.

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;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.