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
When installing a list of packages from a file using the command ppm install --packages-file ./MyPackages.txt, and for some reason the installation of a single package in this list fails (e.g. broken internet connection), re-running the command results in all packages, even those that have already been successfully installed, being rebuilt and reinstalled.
The Solution
When ppm installs packages from a file, it should only install those packages which aren't yet installed, skipping those packages that are already installed.
This behaviour could be optional, e.g. activated by a CLI argument such as --dont-reinstall
What benefits does this feature provide?
This feature would greatly improve the resiliency of PPM when installing multiple packages at once, as it would allow an interrupted installation process to continue where it left off instead of started all over again.
Any alternatives?
I don't see any similarly efficient or effective solutions to the described problem.
Other examples:
No response
The text was updated successfully, but these errors were encountered:
This is a great suggestion, and would love to see any PRs attempting an implementation, otherwise is hopefully something that can be looked at soon. Thanks for the contribution!
This does technically introduce a breaking change if we were to add it.
i.e. currently ppm install can be used to both install a package from scratch as well as updating an existing package.
Of course there are other commands, namely ppm upgrade and ppm update (and ppm outdated) which, when run alone will perform updates for everything on the system but can accept the package name as an argument.
Although technically breaking I think there is a case for making some changes to some of these commands. Essentially what is being requested here is unrelated to the package file but asking to change the behaviour of how the install command works.
Have you checked for existing feature requests?
Summary
The Problem
When installing a list of packages from a file using the command
ppm install --packages-file ./MyPackages.txt
, and for some reason the installation of a single package in this list fails (e.g. broken internet connection), re-running the command results in all packages, even those that have already been successfully installed, being rebuilt and reinstalled.The Solution
When ppm installs packages from a file, it should only install those packages which aren't yet installed, skipping those packages that are already installed.
This behaviour could be optional, e.g. activated by a CLI argument such as --dont-reinstall
What benefits does this feature provide?
This feature would greatly improve the resiliency of PPM when installing multiple packages at once, as it would allow an interrupted installation process to continue where it left off instead of started all over again.
Any alternatives?
I don't see any similarly efficient or effective solutions to the described problem.
Other examples:
No response
The text was updated successfully, but these errors were encountered: