Add an option to download the packages before upgrading/installing packages
When running apk upgrade
or apk add
the packages are downloaded and installed 1-by-1. This means that if your internet connection for some reason drops out in the middle of it, you now have a partially upgraded system. It would be great to have a command line switch or environment variable to tell apk to first download all packages it's modifying before installing them, so network failures halfway through don't leave you with a partially updated system.