Update checker + Updater #82
Reference in New Issue
Block a user
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?
Two separate features. Either or both could be cool additions.
zshell-cli checkupdate.zshell-cli update. It would do the cloning in a reserved directory, build, then delete the cloned directory for cleanup.How realistic/feasible are these?
They're both absolutely possible but I think we'd need to start using actual version numbers then rather than commit numbers in that case.
I will say that for updating we'd need to make a UI for it (probably in settings) since I don't think requiring the use of zshell-cli should be necessary. On top of that, whenever support any other distro than arch-based is needed then we'd need to alter the
zshell-cli updatecommand to fit that specific distro, which I don't really feel like doing but as always I am welcoming any PRs related to it.I have actually wanted to implement an updater in general, one that not only updates zshell but also updates all system packages, I haven't gotten around to it yet though. Since we already have PAM authentication implemented, maybe it could authorize the command that way (since updating both system packages and zshell require elevated privileges.)