Skip to content
  1. Mar 27, 2017
  2. Mar 25, 2017
  3. Mar 16, 2017
  4. Mar 15, 2017
  5. Mar 10, 2017
    • Miguel's avatar
      Add option to create config file on generate:form (#3218) · 4cc52d2b
      Miguel authored and Jesus Manuel Olivas's avatar Jesus Manuel Olivas committed
      4cc52d2b
    • Chris Burschka's avatar
      [config:export] Export all config collections. (#3185) · 580b60fd
      Chris Burschka authored and Jesus Manuel Olivas's avatar Jesus Manuel Olivas committed
      Export the entire config storage, in the same structure
      as used by the Drupal web interface. (#3182)
      580b60fd
    • Antonio Ospite's avatar
      [generate:profile] add option to specify enabled themes (#3173) · d4a82bf4
      Antonio Ospite authored and Jesus Manuel Olivas's avatar Jesus Manuel Olivas committed
      * [console] Validator: rename validateModuleDependencies to validateMachineNameList
      
      The new name describes better what the function does, and it's also more
      generic: it can be used to validate any kind of list of extensions
      names, not just dependencies (i.e. modules) but also a list of machine
      names of themes.
      
      * [console] return $this from ExtensionManager::discoverExtension()
      
      This allows to chain-call show* methods after discoverExtension().
      
      * [console] refactor and generalize validating dependencies
      
      Some commands like ModuleCommand and ProfileCommand need to validate
      dependencies and are using the same exact code to do it, replicated
      per-command; refactor it and share the implementation between the two
      commands.
      
      While at it also make the checkDependencies() function more generic, do
      not validate "dependencies" (i.e. modules) but rather "extensions",
      taking a $type argument to restrict validation to certain extension
      types, for instance the new method can be used to validate themes.
      
      The new validating method is Validator::validateExtensions() which
      checks machine names and then calls the new method
      ExtensionManager::checkExtensions() which checks that the passed machine
      names are actually extensions of the given type.
      
      NOTE: since Validator::validateExtension() accepts a string argument add
      a default value as an empty string for the '--dependencies' option in
      ModuleCommand and ProfileCommand.
      
      The default value is the last argument of addOption() as specified on
      http://api.symfony.com/3.1/Symfony/Component/Console/Command/Command.html#method_addOption
      
      * [console] remove some class members which are now unused
      
      After the checkDependencies() refactoring, ModuleCommand and
      ProfileCommand do not need to depend on http_client and console.site
      anymore, because the code using them is now in ExtensionManager.
      
      * [console] adjust indentation for some comments
      
      Other instance of wrong indentation could be found with a command like:
      
        git grep "^\*\/"
      
      * [generate:profile] add a '--themes' option (Fixes #3092)
      
      When an installation profile imports configuration which refers to the
      installed themes it is necessary that the profile refers to these themes
      in the PROFILE.info.yml file too.
      
      Without this the installation can fail with a message like:
      
        Drupal\Core\Config\UnmetDependenciesException: ...
        PROFILE have unmet dependencies in
        .../web/core/lib/Drupal/Core/Config/UnmetDependenciesException.php:84
      
      So add a '--themes' options to easily specify the enabled themes when
      generating a profile.
      d4a82bf4
    • Patrick Bauer's avatar
      Add required argument to ExtensionManager::getList() (#3207) · a04141f7
      Patrick Bauer authored and Jesus Manuel Olivas's avatar Jesus Manuel Olivas committed
      a04141f7
  6. Feb 23, 2017
  7. Feb 14, 2017
  8. Feb 11, 2017
  9. Feb 09, 2017
  10. Feb 07, 2017
  11. Feb 05, 2017
  12. Feb 04, 2017
  13. Feb 01, 2017
  14. Jan 31, 2017
  15. Jan 30, 2017
  16. Jan 28, 2017
  17. Jan 23, 2017