Commits on Apr 17, 2017
  1. [BUGFIX] Fix duplicate package name in installation source config

    cmuench committed Apr 17, 2017
  2. Merge branch 'hotfix/1.97.29'

    cmuench committed Apr 17, 2017
Commits on Feb 10, 2017
  1. Merge branch 'release/1.97.28'

    tkn98 committed Feb 10, 2017
Commits on Feb 9, 2017
  1. Hint concrete table-helper

    Scrutinizer reported a massive amount of issues around getHelper()
    return types which do not match the concrete implementation of console
    As those helpers differ a lot, these type-hints don't hurt at all, we've
    used them earlier, too.
    This is a single run for the table-helper which is used a lot. Next
    inspection will show if this recognized by Scrutinizer.
    ktomk committed Feb 9, 2017
Commits on Feb 8, 2017
  1. Track changes

    ktomk committed Feb 8, 2017
  2. Move autocompletion into res folder

    More space in project root directory and align it's name with the other
    autocompletion files (fish, zsh).
    Register symfony-console-autocomplete as a development requirement.
    Reflect changes in docs.
    Make autocompletion compiling a first-level command.
    Integrate with Travis build.
    ktomk committed Jan 29, 2017
  3. Remove old composer json res files

    These two composer files were added long ago. Composer is shipping in
    the vendor folder incl. these (or now better: their precursors files).
    As I remove these I must admit I have no clue why these files were added
    in the first place so technically I'm not understanding what I'm doing.
    So in case these files have been removed in error please ping me.
    - 60de37c
    ktomk committed Jan 29, 2017
  4. Cleanup .gitignore

    ktomk committed Jan 29, 2017
  5. Build phar reproduceable and from dev requirements

    More stable build of the magerun phar-file.
    Phar file build is now reproduceable:
    - Sorting files based on their path to have the same order when building
      the phar.
    - Composer autoloader is suffixed with the timestamp of last commit.
    - Timestamps within the phar file are reset to the last commit
    The build requirements (phing, phar-utils) are now proper dev-requirents
    in composer.json (composer was a non-dev requirement already). All three
    tools used to build the phar file are now part of the direct project
    Additionally all dependencies are now compatible with PHP minimum
    version 5.3.9. This is reflected in the build now properly due
    to composer.lock fixation.
    ktomk committed Jan 29, 2017
  6. Update dependencies

    Update dependency php-cs-fixer to v1.12.4 from v1.12.1.
    Update dependency composer/composer v1.3.2 from v1.0.0.
    Note: More changes in composer.lock b/c update done with composer v1.3.2.
    ktomk committed Jan 29, 2017
  7. Streamline Travis build with Magerun 2

    Including fixes to make PHP Cs-Fixer pass.
    ktomk committed Jan 26, 2017
  8. Support NULL values in config:set and config:get

    Backport from Magerun2.
    Functionality is the same as in Magenrun2 with some restrictions due to
    older PHP and Magento versions:
    - Due to PHP 5.3 backwards compatibility, JSON format does vary.
    - Due to Magneto backwards compatibility, older version (<= do
      not support NULL values in config data. The feature is not available for
      these versions, instead a zero-length string is entered (command para-
      meters and switches preserved, tests are skipped).
    - Command: config:set
    - Command: config:get
    ktomk committed Jan 26, 2017
  9. Extract test-application

    Backport from Magerun2.
    Extract factory for the application used in tests.
    Allows to create integration tests based on the application configuration
    w/o creating a command first.
    ktomk committed Jan 26, 2017
  10. Update php-cs fixer configuration with PHP 5.3

    Rules to check for PHP 5.3 backwards compatibility.
    NOTE: The "class_keyword_remove" fix requires manual review as it does
          not resolve the FQCN classname properly. We keep the tests in
          the same namespace as the subject so that __NAMESPACE__ can be
          used to keep refactoring needs low.
    ktomk committed Jan 27, 2017
  11. Add enterprise mview reindex commands

    I've spent too long in my time as a Magento developer teaching the members on my team that the full flat indexer, and the changlog (mview) reindexer do vastly different things under the hood. It's fine to have your product reappear on the frontend when running a full reindex, but when you have to debug and fix something in the changelog process you need a finer level of granularity. Having to debug these on local, production, and every environment in between has left me wanting a standard command to handle this.
    I've added two.
    1. Show a list of the mview metadata, including how many entries are pending a reindex (can be useful if an indexer gets stuck)
    $ magerun index:list:mview
    | table_name                      | view_name                          | changelog_name                     | status | version_id | entries pending reindex |
    | cataloginventory_stock_status   | cataloginventory_stock_status_view | cataloginventory_stock_status_cl   | 1      | 5262044    | 0                       |
    | enterprise_url_rewrite_redirect | enterprise_url_rewrite_redirect    | enterprise_url_rewrite_redirect_cl | 1      | 4117       | 0                       |
    | enterprise_url_rewrite_category | enterprise_url_rewrite_category    | enterprise_url_rewrite_category_cl | 1      | 73207      | 0                       |
    | enterprise_url_rewrite_product  | enterprise_url_rewrite_product     | enterprise_url_rewrite_product_cl  | 1      | 29065      | 1                       |
    | catalog_category_product_index  | catalog_category_product_view      | catalog_category_product_index_cl  | 1      | 455375     | 0                       |
    | catalog_category_product_cat    | catalog_category_product_cat_view  | catalog_category_product_cat_cl    | 1      | 78188      | 0                       |
    | catalog_product_index_price     | catalog_product_index_price_view   | catalog_product_index_price_cl     | 1      | 12189944   | 0                       |
    | catalog_category_flat           | catalog_category_view              | catalog_category_flat_cl           | 1      | 107413     | 0                       |
    | catalog_product_flat            | catalog_product_view               | catalog_product_flat_cl            | 2      | 0          | 0                       |
    2. Trigger a  mview changelog reindex for a given table
    $ magerun index:reindex:mview enterprise_url_rewrite_product
    Starting mview indexer enterprise_url_rewrite_product with action enterprise_catalog/index_action_url_rewrite_product_refresh_changelog
    I know this logic is enterprise only, but I have seen other functions accessing enterprise models in the magerun core.
    convenient committed with ktomk Feb 1, 2017
Commits on Dec 23, 2016
  1. Fix wrong string comparison

    ktomk committed Dec 23, 2016
  2. Streamline with Magerun2

    ktomk committed Dec 23, 2016
Commits on Dec 17, 2016
  1. Fixup and polish

    Removed a comment introduced in 79cb00, fixing the flaw that a return
    statement was comments.
    Solved deprecated method usage in dump-command.
    Code-style in database-helper and dump-command.
    - 79cb00e
    - Command: db:dump
    - Command: sys:setup:incremental
    ktomk committed Dec 17, 2016
Commits on Dec 16, 2016
  1. Fix sys:setup:run exists with code 0 on error, fixes #854

    In #854 Matías Montes reported the flaw that the sys:setup:run command
    exited with status 0 (signalling all OK) while a setup script threw an
    The flaw was caused by disabling the application's auto-exit so that
    the implicit cache:flush sub-command did not exit and would therefore
    end the parent sys:setup:run command.
    Fix is to restore the auto-exit after calling the cache:flush sub-command.
    Additionally the command's code has been polished a bit.
    - Command: sys:setup:run
    - #854
    ktomk committed Dec 16, 2016
  2. Track changes

    Additionally update the bash auto-complete file.
    ktomk committed Dec 16, 2016
  3. Add --include parameter to db:dump command, closes #848

    Add an --include parameter to the db:dump command to dump only specific
    tables, which operates much like the existing --exclude parameter.
    - Command: db:dump
    - #848
    jarodhayes committed with ktomk Dec 16, 2016
  4. Add server environment for URL generation in sys:cron:run, fixes #871

    In #871 Ash Smith reported an inconsistency of sys:cron:run with the
    Magento cron shell script regarding URL generation.
    Fix is to set the $_SERVER superglobals likewise the shell script does.
    Note: There is a small chance this fix is not complete and it requires to
          reset the server configuration because $_SERVER change is too late.
          How this is down is exemplarly shown in the test case.
    - #871
    - Command: sys:cron:run
    ktomk committed Dec 16, 2016
Commits on Dec 15, 2016
  1. Do not let indexer die on error

    Keep on with the remaining indexers even if exception is thrown. This is
    the Magento shell based indexer-script behaviour.
    This also streamlines large fragments of the code between the two indexer
    - #701
    - Command: index:reindex
    - Command: index:reindex:all
    tkn98 committed Dec 15, 2016
  2. Polish

    Code-Style and PHP CS-Fixer cache-file Git ignore was missing in d2ea4b9.
    - d2ea4b9
    tkn98 committed Dec 15, 2016
  3. Fix incompatibilities with PHP 7.1, closes #881

    Don Bosco van Hoi discovered an error pattern where the dialog helper
    method calls to askAndValidate() did miss the required validation
    callback parameter.
    Fix is to switch to the ask() method as most often there was only
    a request for a key-press.
    Additionally type-hints for the dialog helper.
    - #881
    tkn98 committed Dec 15, 2016
  4. Remove errorneous duplicate sprintf call, closes #884

    In ff707a6 error message creation for exceptional case was flawed.
    Fix is to remove the second call.
    - ff707a6 - Give exit status code on exec failure
    - #884 db:import sprintf too few arguments
    tkn98 committed Dec 15, 2016
  5. Track changes

    tkn98 committed Oct 26, 2016
Commits on Dec 14, 2016
  1. Polish

    After Scrutinizer report of a digression.
    ktomk committed Dec 14, 2016
  2. New db:console --no-auto-rehash option, closes #882

    by Rand Thacker
    * Add the --no-auto-rehash option in the db:console command.
    * Update the readme.rst file
    - Command: db:console
    AcousticRand committed with ktomk Dec 14, 2016
Commits on Dec 12, 2016
  1. Default to localhost on empty database host, fixes #880

    When nost setting the database host, the Mysql command-line string was
    not properly concatenated resulting in mysql connecting to the username
    switch as hostname.
    A space was missing, fix is to add that space after "-h" and before the
    host parameter value.
    Additionally the order of the datbase configuration values is a bit more
    controlled so that it becomes more obvious with db:info that the host-
    name is not set.
    - #880
    - Command: db:info
    - Command: db:console
    ktomk committed Dec 12, 2016
Commits on Dec 11, 2016
  1. Update version of development branch

    ktomk committed Dec 11, 2016
  2. Merge tag '1.97.27' into develop

    Tag version 1.97.27
    ktomk committed Dec 11, 2016
  3. Merge branch 'release/1.97.27'

    ktomk committed Dec 11, 2016
  4. Fix sample-data downloads

    The latest sample-data tar.gz file was corrupt. Replaced with a non-
    corrupt file.
    Then Sourceforge 301 re-located all http locations to https one.
    Additionally some touch-up of the wording in the change-log, minor.
    ktomk committed Dec 11, 2016