Create GitHub release package download module #23
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A very common pattern for tools which are not available, or not up to date, in package managers is to download the latest release package from GitHub and install that in either
/usr/local
or~/.local
(which may or may not be managed bystow
). This often requires a lot of repetitive json query, executable stat, and string munging which is almost identical across the different roles.Since this is a common repetetive task, perhaps this should be a custom module. Maybe looking something like this:
Alternatively, split each phase apart. Have a module to install a package from an archive (zip/tar.gz/xz/...) and another to handle the GitHub API side of things.