Remind user about missing system packages
When installing a Linux toolchain without a post-install file there's a brief message about the system packages that are needed for the toolchain. What happens if a user forgets about the message, logs out of ssh, or clears their terminal? The only opportunity to discover what those packages were is by installing (or uninstalling/reinstalling) a toolchain again, which is time consuming.
There should be a mechanism for the user to pull up the missing packages for a toolchain after the initial installation without having to work around it. Ideally, there will be a warning if they try to use or proxy to a toolchain that doesn't have all of its dependencies met. That could be another opportunity to present the user with the actionable message.
can we consider prompting the user and installing on their behalf? (or are we avoiding anything with privilege escalation with swiftly?)
Could we consider a swiftly check command that does that same inspection and reports any missing dependencies,
printing out the detail that's needed to install them? Or even pipe that into an install command
(possible example usage being something like swiftly check | apt install || swiftly check "Swift 5.10.1" | apt install)
I'm mostly looking for a fast-path to automated installation of not only the toolchain, but all required dependencies that could be used in a CI/GH Action kind of setup.
I'm mostly looking for a fast-path to automated installation of not only the toolchain, but all required dependencies that could be used in a CI/GH Action kind of setup.
There's a document for that case here: https://swiftpackageindex.com/swiftlang/swiftly/main/documentation/swiftlydocs/automated-install
This issue mostly has to do with reminding users if they have outstanding system packages that haven't been installed in some way.
Why can Swiftly not just install the missing dependencies? That would really simplify things, especially for novice users.