Skip to content

Instantly share code, notes, and snippets.

@chx
Created March 3, 2016 13:41
Show Gist options
  • Save chx/e734569c89de06a512c7 to your computer and use it in GitHub Desktop.
Save chx/e734569c89de06a512c7 to your computer and use it in GitHub Desktop.
sudo composer self-update
Updating to version 02ed27b16b184ecd6befed5bf8f6501084b42c0e.
Downloading: 100%
Use composer self-update --rollback to return to version 1.0.0-alpha11
➜ d8 git:(8.0.x) ✗ time composer require drupal/page_manager
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
^C
composer require drupal/page_manager 0.54s user 0.05s system 15% cpu 3.756 total
➜ d8 git:(8.0.x) ✗ sudo nano /etc/php/php.ini
➜ d8 git:(8.0.x) ✗
➜ d8 git:(8.0.x) ✗ sudo nano /etc/php/conf.d/xdebug.ini
➜ d8 git:(8.0.x) ✗ time composer require drupal/page_manager
[InvalidArgumentException]
Could not find package drupal/page_manager at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
composer require drupal/page_manager 1.14s user 0.14s system 6% cpu 21.060 total
➜ d8 git:(8.0.x) ✗ nano composer.json
➜ d8 git:(8.0.x) ✗ time composer require drupal/page_manager
Using version ^8.1@alpha for drupal/page_manager
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
^C (there is nothing to tell whether anything is happening or not)
composer require drupal/page_manager 10.19s user 0.66s system 3% cpu 4:59.41 total
➜ d8 git:(8.0.x) ✗ time composer -vvv require drupal/page_manager
(ah it updates the Drupal packagist cache makes sense)
composer -vvv require drupal/page_manager 10.77s user 0.58s system 11% cpu 1:37.49 total
➜ d8 git:(8.0.x) ✗ time composer update drupal/page_manager
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess
composer update drupal/page_manager 7.86s user 0.22s system 65% cpu 12.301 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment