Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CoolerControl #969

Open
1 task done
yoshimo opened this issue Dec 30, 2023 · 1 comment
Open
1 task done

Add CoolerControl #969

yoshimo opened this issue Dec 30, 2023 · 1 comment
Labels
new package New package proposal

Comments

@yoshimo
Copy link

yoshimo commented Dec 30, 2023

Requesting a new app ✨

If you are requesting a new app to be added to deb-get please complete the
following section, only one app per issue please.

CoolerControl features a GUI for viewing all your system's sensors and for creating custom fan and pump profiles based
on any available temperature sensor. Paired with this is a systemd service that controls all your devices in the
background.
It's an extension of liquidctl
and hwmon with a focus on controlling cooling devices such as AIO coolers and fans
under Linux. Written in Python and Rust, it
uses PySide for the UI.

@philclifford philclifford added the new package New package proposal label Dec 30, 2023
@philclifford
Copy link
Member

philclifford commented Dec 30, 2023

The Ubuntu/Debian section is actually

curl -1sLf \
  'https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/setup.deb.sh' \
  | sudo -E bash

so the key is https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/gpg.668189E5007F5A8D.key
and the APT repo is
based on

deb [signed-by=/usr/share/keyrings/coolercontrol-coolercontrol-archive-keyring.gpg] https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/deb/any-distro any-version main

when the config script fetches the repo definition using


function config_url {
    echo "https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/config.deb.txt?distro=${distro}&codename=${codename}&version=${version}&arch=${arch}" | sed 's/ /%20/g'
}

to generate something like

deb [signed-by=/usr/share/keyrings/coolercontrol-coolercontrol-archive-keyring.gpg] https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/deb/debian bullseye main

or

deb [signed-by=/usr/share/keyrings/coolercontrol-coolercontrol-archive-keyring.gpg] https://dl.cloudsmith.io/public/coolercontrol/coolercontrol/deb/ubuntu jammy main

We can do similar behaviour here but tbh given they provide a script to handle adding their repo and key (which errors helpfully for unsupported or temporarly in-flight support situations and presumably is updated on future changes to the signing key ) perhaps this is better left to their script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new package New package proposal
Projects
None yet
Development

No branches or pull requests

2 participants