-
Notifications
You must be signed in to change notification settings - Fork 569
Description
I'm looking to migrate away from PackageCloud for many reasons, and after a bunch of false starts I have a new server setup with the necessary keys and bits that this should work as-is:
https://rpm.packages.shiftkey.dev/
Relevant steps:
- install the GPG key associated with the signing key
> sudo rpm --import https://rpm.packages.shiftkey.dev/gpg.key
Note: I've stumbled into some issues with importing the key on specific versions of rpm - rpm-software-management/rpm#1977 - which meant that CentOS 8.5 didn't work for me, but I haven't been able to spot why the key wasn't being consumed (it's generated using SHA256) and I was able to test this with RHEL 9.1 and didn't see any issues with this step.
- add the package feed to
apt
> sudo sh -c 'echo -e "[shiftkey-packages]\nname=GitHub Desktop\nbaseurl=https://rpm.packages.shiftkey.dev/rpm/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://rpm.packages.shiftkey.dev/gpg.key" > /etc/yum.repos.d/shiftkey-packages.repo'
Note: I've set gpgcheck=1 and repo_gpgcheck=1 here as that seems to work with this setup, but if you encounter GPG issues with the key it may be worth tweaking this setup to relax the checks.
- Refresh the feed
> sudo yum update
If you have a previous version of github-desktop installed, you should be able to upgrade to the latest release from earlier this week, otherwise you can manually install the latest version 3.1.7-linux1:
> sudo yum install github-desktop
Before I update the docs to point everyone to this I figure I'd open this up to anyone who wants to test it out and ensure I haven't missed any details...