You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the title, issuing a composer update -h on commandline, prestissimo will trigger a prefetch. On projects with a large amount of dependencies (e.g. Magento 2), completion can take a while until finished and until we get what we actually want to see, the help message of the subcommand update.
Usually you wouldn't issue a composer update -h but a very neat bash-autocompletion script for composer does it every time you type composer update <tab> in order to present options for the subcommand.
Reproduction:
Install prestissimo as described
Change directory to a project with lots of dependencies
Issue composer update -h
=> Watch and wait until presitissimo has prefetched all dependencies
The text was updated successfully, but these errors were encountered:
troggybrains
added a commit
to troggybrains/composer-autocomplete
that referenced
this issue
Jun 1, 2020
Trying to get options for `update` subcommand can result in long
waiting period an seemingly unresponsive bach completion when
composer plugin hirak/prestissimo is being used.
The latter will prefetch repositories whenever encountering the
subcommands `install`, `update` and the likes. When a project uses may
dependencies and repositories, this can take a while. An issue has also
been filed with prestissimo plugin (see hirak/prestissimo#225)
yet using the `help [command]` subcommand in favor to `[command] -h`
in order to retrieve all available options seems more reliable anyway.
As stated in the title, issuing a
composer update -h
on commandline, prestissimo will trigger a prefetch. On projects with a large amount of dependencies (e.g. Magento 2), completion can take a while until finished and until we get what we actually want to see, the help message of the subcommandupdate
.Usually you wouldn't issue a
composer update -h
but a very neat bash-autocompletion script for composer does it every time you typecomposer update <tab>
in order to present options for the subcommand.Reproduction:
composer update -h
=> Watch and wait until presitissimo has prefetched all dependencies
The text was updated successfully, but these errors were encountered: