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

Do we have mirror address? #209

Closed
ccmywish opened this issue Jan 20, 2021 · 11 comments
Closed

Do we have mirror address? #209

ccmywish opened this issue Jan 20, 2021 · 11 comments

Comments

@ccmywish
Copy link

What problems are you experiencing?

Chinese users have been visiting GitHub very slowly. All the download links in rubyinstaller.org point to Github release page so that beginners in China always have severe network trouble on Windows before they can install Ruby successfully.

These days we are considering a mirror of rubyinstaller.org in China. We find that we lack of a sync method to download all and get the newest releases of RubyInstaller2. Do we have a rsync address, s3 bucket or others? If not, we'll think about other methods to download directly from Github release page.

@larskanis
Copy link
Member

Unfortunately there's currently nothing but the github releases storage. I didn't check if there are any methods for syncing a mirror from it.

I could upload the signed release files to another storage host as part of the release procedure, if that is helpful.

There is already a Russian translation of rubyinstaller.org online called https://rubyinstaller.ru . They update and translate the pages more or less promptly, but link to the original installer files on github releases. See the corresponding issue: oneclick/rubyinstaller.org-website#13

@ccmywish
Copy link
Author

@larskanis Thanks for your reply! Could you provide a rsync address for all signed releases files? I think rsync is the simplest and an efficient way to sync.

@skyzh
Copy link

skyzh commented Jan 21, 2021

TUNA / SJTUG could mirror rubyinstaller by using existing mirroring tool of github-releases. You may wait until we add this to our mirror server.

@ccmywish
Copy link
Author

Thank you very much for your help! We'll later put TUNA/SJTUG in a prominent position on our website

@skyzh
Copy link

skyzh commented Jan 22, 2021

SJTUG now synchronizes most recent 3 version every day. https://mirror.sjtu.edu.cn/github/rubyinstaller2/

@ccmywish
Copy link
Author

ccmywish commented Jan 22, 2021

@skyzh Great work! But I'm wondering why the "most recent 3 versions" are

  1. rubyinstaller-head
  2. RubyInstaller-3.0.0-1
  3. RubyInstaller-2.5.8-2

As you can see in https://github.com/oneclick/rubyinstaller2/tags , the most recent versions should be

  1. rubyinstaller-head-old
  2. RubyInstaller-3.0.0-1
  3. RubyInstaller-2.7.2-1
  4. RubyInstaller-2.6.6-2
  5. RubyInstaller-2.5.8-2

But I'm sure you should use rubyinstaller-head to substitute rubyinstaller-head-old

And most people now will use RubyInstaller-2.7.2-1 as it's a recommendation by community. Could you provide this version?

@skyzh
Copy link

skyzh commented Jan 22, 2021

It's weird that GitHub Release API gives these 3 versions as most recent... I'll look into that.

By the way, now we have synchronized all version you have mentioned.

@skyzh
Copy link

skyzh commented Jan 22, 2021

For the case of rubyinstaller-head-old, is it possible that artifacts are updated with their filenames unchanged? If this is possible, we will for now remove releases for head branch, as our program currently can't handle this situation.

@ccmywish
Copy link
Author

I think it'll be OK to remove head branch if your sync program can't support it, because only very few expert users will download that version.

rubyinstaller.cn is online now, we thank SJTUG greatly. And we will keep up with rubyinstaller.org step by step since today.

@larskanis
Copy link
Member

You're right, the files of release rubyinstaller-head change daily, but in order to provide a stable download link for CI the tag name isn't changed.

@larskanis
Copy link
Member

I removed tag rubyinstaller-head-old since it's unused now.

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

No branches or pull requests

3 participants