[ruby-core:93455] [Ruby master Bug#15969] https://git.ruby-lang.org/ruby.git does not work?

From: takashikkbn@...
Date: 2019-07-01 15:08:42 UTC
List: ruby-core #93455
Issue #15969 has been updated by k0kubun (Takashi Kokubun).


> 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.

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.

----------------------------------------
Bug #15969: https://git.ruby-lang.org/ruby.git does not work?
https://bugs.ruby-lang.org/issues/15969#change-79002

* 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 `<main>'
	5: from tool/make-snapshot:522:in `collect'
	4: from tool/make-snapshot:522:in `block in <main>'
	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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next