Update checker + Updater #82

Open
opened 2026-05-09 01:11:57 +02:00 by AramJonghu · 1 comment
Collaborator

Two separate features. Either or both could be cool additions.

  • First would be a z-bar-qt update checker. It could periodically check the repository if there is a new update on main.
  • The first could also use zshell-cli checkupdate.
  • Second would be lovely if you could update with a single command, something like 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?

Two separate features. Either or both could be cool additions. - First would be a z-bar-qt update checker. It could periodically check the repository if there is a new update on main. - The first could also use `zshell-cli checkupdate`. - Second would be lovely if you could update with a single command, something like `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?
AramJonghu added the enhancement label 2026-05-09 01:11:57 +02:00
zach was assigned by AramJonghu 2026-05-09 01:11:57 +02:00
AramJonghu added this to the Zshell board project 2026-05-09 01:11:57 +02:00
Owner

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 update command 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.)

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 update` command 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.)
AramJonghu added reference screenshot-tool 2026-05-14 13:20:46 +02:00
AramJonghu removed reference screenshot-tool 2026-05-28 23:57:51 +02:00
Sign in to join this conversation.