From: v.ondruch@... Date: 2019-07-01T16:32:32+00:00 Subject: [ruby-core:93457] [Ruby master Bug#15969] https://git.ruby-lang.org/ruby.git does not work? Issue #15969 has been updated by vo.x (Vit Ondruch). k0kubun (Takashi Kokubun) wrote: > > On ruby-core documentation page 1, there is referenced https://git.ruby-lang.org/ruby.git > > Yes, but > > > but the following fails > > The documentation does not mention `git clone https://git.ruby-lang.org/ruby.git` at all. The https URL https://git.ruby-lang.org/ruby.git is referenced for a browsing purpose. Ah, it somehow did not come to my mind that this is actually GitWeb link, especially comparing to the make-snapshot (that was actually the first issue I encountered, just tried to find some other link ...) May be it would be useful to somehow explain the situation, that everybody is really expected to used the GH mirror, because for me mirror is just mirror, but I want the source code from its canonical location. > As GitHub is more reliable than single-hosted git.ruby-lang.org and there's only about 10s latency in GitHub mirror, we always recommend to clone ruby.git via GitHub (https / ssh). @hsbt allowed only ssh access to git clone git.ruby-lang.org because it's supposed to be used only by commiters for that reason. > > > as well as make-snapshot, which refers the same URL 3, fails > > > > Should be the GitHub URL used instead? > > You're right. I believe we should use GitHub for it too. That would be nice. ---------------------------------------- Bug #15969: https://git.ruby-lang.org/ruby.git does not work? https://bugs.ruby-lang.org/issues/15969#change-79004 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby-2.7.0-76851381cb * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- On ruby-core documentation page [1], there is referenced https://git.ruby-lang.org/ruby.git [2], but the following fails: ~~~ $ git clone https://git.ruby-lang.org/ruby.git Cloning into 'ruby'... fatal: repository 'https://git.ruby-lang.org/ruby.git/' not found ~~~ as well as make-snapshot, which refers the same URL [3], fails: ~~~ $ tool/make-snapshot -packages=xz -git tmp Exporting @76851381cb18a62f3a75720f868ac147e4c1c51c Cloning into '/tmp/ruby-snapshot20190701-113-1o5vpl3/ruby'... fatal: repository 'https://git.ruby-lang.org/ruby.git/' not found Traceback (most recent call last): 6: from tool/make-snapshot:522:in `
' 5: from tool/make-snapshot:522:in `collect' 4: from tool/make-snapshot:522:in `block in
' 3: from tool/make-snapshot:262:in `package' 2: from /builddir/ruby/tool/vcs.rb:541:in `export' 1: from /builddir/ruby/tool/vcs.rb:111:in `system' /builddir/ruby/tool/vcs.rb:111:in `system': Command failed with exit 128: git (RuntimeError) ~~~ So is this URL supposed to work? Should be the GitHub URL used instead? [1]: https://www.ruby-lang.org/en/community/ruby-core/ [2]: https://github.com/ruby/www.ruby-lang.org/blame/master/en/community/ruby-core/index.md#L23 [3]: https://github.com/ruby/ruby/blob/master/tool/make-snapshot#L73 -- https://bugs.ruby-lang.org/ Unsubscribe: