ActivityWatch / activitywatch

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

ci: add deb packaging #823

Closed LunarWatcher closed 1 year ago

LunarWatcher commented 1 year ago

Previous package at https://github.com/LunarWatcher/activitywatch/releases/tag/v0.12.13 -- the only changes made since that is adding aw-qt to /usr/share/applications as well, because the xdg autostart directory didn't list it on the start menu for me. I haven't done much extensive testing on whether that particular desktop copy is needed, but it's there for convenience. Taking it out is trivial if it turns out it isn't needed though.

I'm also building the last changes for good measure though; they'll be done in a couple hours, assuming the builds don't flake out on me again and I don't notice.

The build is hooked up into the existing CI infrastructure, similar to how the .dmg files are built, and uploaded in the same way as other build artefacts. It's fully self-contained in this repo as well, so no additional submodule overhead. I'm not entirely sure how easy it is to use the script on any arbitrary commit though, but I'm also not sure if fully arbitrary deb builds is needed or wanted.

ErikBjare commented 1 year ago

Fantastic work! Thank you so much for this ❤️ 🚀