How I ship power-options to all major Linux distros with 0 hassle
dev.to·5h·
Discuss: DEV
🐧Linux
Preview
Report Post

TLDR: im frustrated that I could have done in 30 minutes my release workflow that originally took me a week.

I’m the original developer and maintainer of power-options (a GUI for managing settings related to power saving and performance on linux laptops and desktops). One of the issues I had when releasing it was the absurd difficulty of handling all package managers and all the different quirks in god knows how many different linux distros. For the most part of the program I simply built a GitHub actions workflow that used python scripts to generate PKGBUILDS and commit them with git to the AUR. Since the AUR didn’t require any other manual processes it was the only one I could easily automate. The remaining users used shell scripts…

Similar Posts

Loading similar posts...