-
Notifications
You must be signed in to change notification settings - Fork 512
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
Save bandwidth using repo mirror #647
Comments
Sorry, after follow the modified steps, I got those errors in Ubuntu20.04 amd64
|
This is true. New users can't get the gpg key when there's no bandwidth. You can fix this by running
This requires you to trust my server (because I could change both the binaries and the key). So, I've avoided this in the instructions. This issue is easy to fix because this single static file is very easy to mirror. For example, Shiftkey could make a public gist or put it on his website. Edit: This has since been fixed by using |
Hi. The command I sent is different from the first one you ran. |
Could you please give me the correct command directly? |
That's the first thing I did when you said you had an issue:
Just run this one command and |
Thanks |
As I mentioned on #278, I created mirrors of the deb and rpm repositories in the hopes that we can reduce the bandwidth requirements on packagecloud without giving shiftkey any more work by disrupting his CI workflow. To this end, I have setup a complete mirror. The mirror has the following properties/features:
I encourage anyone reasonably close to the node (i.e. US/Europe) to test this mirror as a way of reducing bandwidth on packagecloud. This way, we can hopefully keep the packagecloud repo up all month and eventually reduce shiftkey's hosting costs. The original packagecloud server is probably faster in most locations, but how much does this matter for a repo with just one relatively small package?
Usage
Debian/Ubuntu
The mirror url is https://mirror.mwt.me/ghd/deb/. You can change this in your sources manually, or by running the following modified command from the readme:
Red Hat/CentOS/Fedora
The mirror url is https://mirror.mwt.me/ghd/rpm/. You can change this in your sources manually, or by running the following modified command from the readme:
$ sudo rpm --import https://keys.openpgp.org/vks/v1/by-keyid/7650C43BBA3C3A2C $ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://mirror.mwt.me/ghd/rpm\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/shiftkey/desktop/gpgkey" > /etc/yum.repos.d/shiftkey-desktop.repo'
OpenSUSE distribution
The mirror url is https://mirror.mwt.me/ghd/rpm/. You can change this in your sources manually, or by running the following modified command from the readme:
$ sudo rpm --import https://keys.openpgp.org/vks/v1/by-keyid/7650C43BBA3C3A2C $ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://mirror.mwt.me/ghd/rpm\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/shiftkey/desktop/gpgkey" > /etc/zypp/repos.d/shiftkey-desktop.repo'
Notes
mirror.mwt.me
withmirror-cf.mwt.me
in any of the steps above.The text was updated successfully, but these errors were encountered: