Categories
Magerun

Released n98-magerun Version 1.92.0

We have deployed a new n98-magerun version with only one new command but many improvements which makes the
tool more stable in daily usage.

New features/optimizations

Disable root warning

root_warning

It’s now possible to supress the “It’s not recommended to run n98-magerun as root user” warning.
This can be useful i.e. during a deployment which runs as root-user. In this case you can create
a system wide config on the remote host in file “/etc/n98-magerun.yaml” with this content:

  • #332 make WARNING_ROOT_USER configurable/optional (by Christian Münch)

Remove setup resources

Removes the entry for one or all module resource setups. This command is useful if you want to re-run an install
script again possibly due to debugging. Alternatively you would have to remove the row from the database manually.

  • #392 Add remove setup resource command (by Aydin Hassan)

Create dummy users with addresses

A new option was added to the customer:create:dummy command which allows automatic address creation.

customer_addresses

  • #397 Added option to create dummy customer with an address (by Gilles Doge)

Better observer list

A new event area “crontab” was added. All events are now sorted and the type of the observer is visible in the table.

observer_list

  • #413 Enhanced dev:module:observer:list (by Cyrill Schumacher)

Improvements

  • #387 Unlink sym-linked folders instead of recursively removing (by Aydin Hassan)
  • #390 Some documentation updates (by Aydin Hassan)
  • #391 Fixed broken filters in dev:module:list command (by Tjerk Ameel)
  • #393 Optimize failing on long lines (by Alexander Menk)
  • #400 Added adminhtml_cache_refresh_type event (by Marc Päpper)
  • #403 Sys setup incremental tiny fixes (by Cyrill Schumacher)
  • #407 Check for Enterprise_PageCache presence before using it (by Vinai Kopp)

Other updates and fixes

  • Changed db:dump strip settings (by Alexander Menk)
  • Updated 3rd party components (Symfony, PHPUnit, Twig)

Please update to the latest version by:

I hope the new version let you more efficient in the daily work with Magento. Have fun!

Categories
Magerun

Cache Backend Benchmarking with n98-magerun

cache_benchmarkThis is the start of a series which presents 3rd party n98-magerun modules.

The first one is a module which helps you to benchmark your shop cache system.

It’s a port of a benchmark script by Colin Mollenhour
which was a fork of a symlink cache script by Vinai Kopp.

Installation

The installation is really strait forward:

Usage

After the installation you should see some new cache commands in your n98-magerun command list.

First run “cache:benchmark:init” which generates cache entries.
The init command can has a lot of paramters.

No panic. The command defines default values for every setting.

After the generation you should see a bash script like “bash var/cachebench/default/run.sh” which was
generated by the init command.

Run the shell script an see the your benchmark statistics.
Now you are able to compare different cache backends (change it in your app/etc/local.xml config).

See it in Action

Categories
Magerun

Released version 1.84.0 with many new cache related features

Hello n98-magerun users!

We are proud to release the last major release of our tool to the end of the year.

Here are some statistics of a productive year:

This statistic shows us, that we are on the right way to establish n98-magerun as industry standard.

Kudos to all developers for the time, experience, energy, suggestions, improvements and code you spent.#

Now to the new features of the 1.84.0 release…