ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
11.98k stars 544 forks source link

Auto-update (and Debian repository) #888

Open m3thm4th opened 1 year ago

m3thm4th commented 1 year ago

Shipping the .deb files in a Debian repository would allow auto-updating the application on all Debian and Ubuntu based platforms (which together account for the vast majority of distributions used). This would make the update process easier, more convenient and possibly more secure for the users, it would also integrate in GUI update managers and it would make updating through the CLI possible without running scripts which would benefit only more advanced users anyway.

AppImage files are also able to auto-update so that should be implemented.

I don't know how the auto-update mechanism could be implemented with the zip file, but there are software that are installed by extracting a zipped folder and update themselves automatically (e.g. the Tor Browser), so it should be possible to do it.

As for Android, the app is distributed through the IzzyonDroid repo, but it seems to be outdated. It should be either updated on IzzyonDroid or distributed on the main F-Droid repository (running a custom F-Droid repo is also a possibility, but having the app on a more popular repo would give it more visibility). It would also be nice to offer the users who don't have Google software on their devices a way to get the app without resorting to the PlayStore (the apk file should also be included under Assets in the Releases page.

Without automatic updates people will forget to update the application, this could result in a buggy experience for the user and in useless bugreports.

github-actions[bot] commented 1 year ago

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

ATamblingPoder commented 1 year ago

As to the auto-update a quick solution should be listing the program on deb-get (https://github.com/wimpysworld/deb-get)

m3thm4th commented 1 year ago

Thank you @ATamblingPoder, I opened an issue to have it added to deb-get.

For the project devs: deb-get should be considered a temporary solution, having your own APT repository would be optimal.

philclifford commented 1 year ago

Thank you @ATamblingPoder, I opened an issue to have it added to deb-get.

It will be in deb-get if/when my linked PR is merged.