Skip to content

Commit 11c08fc

Browse files
authored
Merge pull request #5 from ruby/master
update repo
2 parents 5c279f0 + bd894b9 commit 11c08fc

36 files changed

+1781
-418
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pt/ @ruby/www-ruby-lang-org-i18n
2828

2929
ru/ @ruby/www-ruby-lang-org-i18n-ru
3030

31-
tr/ @ruby/www-ruby-lang-org-i18n
31+
tr/ @ruby/www-ruby-lang-org-i18n-tr
3232

3333
vi/ @ruby/www-ruby-lang-org-i18n
3434

_config.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ license:
2828

2929
svn:
3030
stable:
31+
version: 2.6
32+
branch: ruby_2_6
33+
previous:
3134
version: 2.5
3235
branch: ruby_2_5
33-
previous:
36+
old:
3437
version: 2.4
3538
branch: ruby_2_4
36-
old:
37-
version: 2.3
38-
branch: ruby_2_3
3939

4040
locales:
4141
sitelinks:
@@ -313,6 +313,7 @@ locales:
313313
text: Поиск
314314
tr:
315315
text: Ara
316+
cx_id: "011743037637077038592:5tuc9cqilws"
316317
vi:
317318
text: Tìm
318319
zh_cn:
@@ -1387,6 +1388,9 @@ locales:
13871388
url: /tr/documentation/
13881389
# books:
13891390
# text: Kitaplar
1391+
rubybib:
1392+
text: Akademik Araştırma
1393+
<<: *rubybib
13901394
libraries:
13911395
text: Kütüphaneler
13921396
url: /tr/libraries/
@@ -1712,15 +1716,15 @@ locales:
17121716
subscribe: Подписаться
17131717
unsubscribe: Отписаться
17141718
submit: Отправить
1715-
# tr:
1716-
# list: Mailing List
1717-
# first_name: First Name
1718-
# last_name: Last Name
1719-
# email: Email Address
1720-
# action: Action
1721-
# subscribe: Subscribe
1722-
# unsubscribe: Unsubscribe
1723-
# submit: Submit Form
1719+
tr:
1720+
list: E-posta Listesi
1721+
first_name: Ad
1722+
last_name: Soyad
1723+
email: E-posta Adresi
1724+
action: Eylem
1725+
subscribe: Abone Ol
1726+
unsubscribe: Abonelikten Çık
1727+
submit: Formu Gönder
17241728
vi:
17251729
list: Mailing List
17261730
first_name: Tên

_data/branches.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
# date: date of first stable release (YYYY-MM-DD)
99
# eol_date: date of EOL (YYYY-MM-DD)
1010

11+
- name: 2.7
12+
status: preview
13+
date:
14+
eol_date:
15+
1116
- name: 2.6
1217
status: normal maintenance
1318
date: 2018-12-25

_data/downloads.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# optional
55
preview:
66

7+
- 2.7.0-preview1
78

89
stable:
910

_data/releases.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919
# In order to get the release listed on the downloads page,
2020
# you also need to add an entry to `_data/downloads.yml'.
2121

22+
# 2.7 series
23+
24+
- version: 2.7.0-preview1
25+
date: 2019-05-30
26+
post: /en/news/2019/05/30/ruby-2-7-0-preview1-released/
27+
url:
28+
gz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.gz
29+
zip: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.zip
30+
bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.bz2
31+
xz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.xz
32+
sha256:
33+
gz: b61dba9ed01e855000111964363fbd691219ab3c567455434717ecba962747ea
34+
zip: 59da2314822add396f68ce3e8e43e98843d41f4eab2354edc7f793a1ec3f3359
35+
bz2: b20c80adc1324c0ec87bf3f4a66b837771d7a30fc876d83e68e519c623cf0369
36+
xz: 540f11753f5805c1bf560c54a44d1ea04414217c7d319cac165de964e269399f
37+
2238
# 2.6 series
2339

2440
- version: 2.6.3

en/community/ruby-core/index.md

Lines changed: 41 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -12,60 +12,36 @@ So, where do you start?
1212

1313
The topics related to Ruby development covered here are:
1414

15-
* [Using Subversion to Track Ruby Development](#following-ruby)
16-
* [How to Use Git With the Main Ruby Repository](#git-ruby)
15+
* [Using Git to Track Ruby Development](#following-ruby)
1716
* [Improving Ruby, Patch by Patch](#patching-ruby)
1817
* [Rules for Core Developers](#coding-standards)
1918

20-
### Using Subversion to Track Ruby Development
19+
### Using Git to Track Ruby Development
2120
{: #following-ruby}
2221

23-
Getting the latest Ruby source code is a matter of an anonymous checkout
24-
from the [Subversion][1] repository. From your command line:
22+
The current primary repository of the latest Ruby source code is
23+
[git.ruby-lang.org/ruby.git][gitrlo].
24+
There is also a [mirror on GitHub][7]. Usually, please use this mirror.
25+
26+
You can get the latest Ruby source code by using Git.
27+
From your command line:
2528

2629
{% highlight sh %}
27-
$ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby
30+
$ git clone https://github.com/ruby/ruby.git
2831
{% endhighlight %}
2932

3033
The `ruby` directory will now contain the latest source code
3134
for the development version of Ruby (ruby-trunk).
32-
Currently patches applied to the trunk are backported to the stable
33-
{{ site.svn.stable.version }}, {{ site.svn.previous.version }},
34-
and {{ site.svn.old.version }} branches (see below).
35-
36-
If you’d like to follow patching of Ruby {{ site.svn.stable.version }},
37-
you should use the `{{ site.svn.stable.branch }}` branch when checking out:
3835

39-
{% highlight sh %}
40-
$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.stable.branch }}
41-
{% endhighlight %}
36+
See also [Non-committer’s HOWTO to join our development][noncommitterhowto].
4237

43-
Similarly for Ruby {{ site.svn.previous.version }}:
38+
If you have commit access, and if you want to push something,
39+
you should use the primary repository.
4440

4541
{% highlight sh %}
46-
$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.previous.branch }}
42+
$ git clone git@git.ruby-lang.org:ruby.git
4743
{% endhighlight %}
4844

49-
This will check out the respective development tree into a
50-
`{{ site.svn.stable.branch }}` or `{{ site.svn.previous.branch }}` directory.
51-
Developers working on the maintenance branches are expected to migrate
52-
their changes to Ruby’s trunk, so often the branches are very similar,
53-
with the exception of improvements made by Matz and Nobu to the language
54-
itself.
55-
56-
If you prefer, you may browse [Ruby’s Subversion repository via the web][2].
57-
58-
For information about Subversion, please see the [Subversion FAQ][3]
59-
and the [Subversion book][4]. Alternatively, you may find
60-
[Pragmatic Version Control with Subversion][5] to be a useful introductory book.
61-
62-
### How to Use Git With the Main Ruby Repository
63-
{: #git-ruby}
64-
65-
Those who prefer to use [Git][6] over Subversion can find instructions
66-
with the [mirror on GitHub][7], both for [those with commit access][8]
67-
and [everybody else][9].
68-
6945
### Improving Ruby, Patch by Patch
7046
{: #patching-ruby}
7147

@@ -81,25 +57,24 @@ straight from Matz, on how to get your patches considered.
8157

8258
To summarize, the steps for building a patch are:
8359

84-
1. Check out a copy of the Ruby source code from Subversion.
60+
1. Check out a copy of the Ruby source code from GitHub.
8561
Usually patches for bugfixes or new features should be submitted
86-
for the trunk of Ruby’s source. Even if you wish to add a feature
87-
to Ruby {{ site.svn.previous.version }}, it has to be proven in
88-
the trunk first.
62+
for the trunk of Ruby’s source.
8963

90-
$ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby
64+
$ git clone https://github.com/ruby/ruby.git
9165

9266
If you are fixing a bug that is specific to only one maintenance branch,
93-
check out a copy of the respective branch,
94-
e.g. `{{ site.svn.previous.branch }}`.
67+
check out a copy of the respective branch.
9568

96-
$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.previous.branch }}
69+
$ git checkout ruby_X_X
70+
71+
X_X should be replaced with a version that you want to check out.
9772

9873
2. Add your improvements to the code.
9974

10075
3. Create a patch.
10176

102-
$ svn diff > ruby-changes.patch
77+
$ git diff > ruby-changes.patch
10378

10479
4. Create a ticket in the [issue tracker][10] or email your patch to
10580
the [Ruby-Core mailing list][mailing-lists] with a ChangeLog entry
@@ -120,47 +95,40 @@ should be very low, topics should be pointed, well-conceived and
12095
well-written. Since we’re addressing Ruby’s creator, let’s have some
12196
reverence.
12297

123-
Keep in mind that Ruby’s core developers live in Japan and, while many
98+
Keep in mind that many Ruby’s core developers live in Japan and, while many
12499
speak very good English, there is a significant timezone difference.
125100
They also have an entire body of Japanese development lists happening
126101
alongside the English counterparts. Be patient, if your claim isn’t
127102
resolved, be persistent—give it another shot a few days later.
128103

129-
### Rules for Core Developers
130-
{: #coding-standards}
131104

132-
Generally, the developers of Ruby should be familiar with the source
133-
code and the style of development used by the team. To be clear, the
134-
following guidelines should be honored when checking into Subversion:
105+
### Note about branches
106+
107+
The source code of Ruby had been managed under Subversion repository until 22rd April 2019.
108+
Thus, some branches may be still managed under Subversion.
109+
You can view the SVN repository.
135110

136-
* All check-ins should be described in the `ChangeLog`, following the
137-
[GNU conventions][14]. (Many Ruby core developers use Emacs `add-log`
138-
mode, which can be accessed with the command `C-x 4 a`.)
139-
* Check-in dates should be given in Japan Standard Time (UTC+9).
140-
* The bulleted points from your ChangeLog should also be placed in the
141-
Subversion commit message. This message will be automatically mailed
142-
to the Ruby-CVS list after you commit.
143-
* Function prototypes are used throughout Ruby’s source code and its
144-
packaged extensions.
145-
* Please, do not use C++-style comments (`//`), Ruby’s maintainers
146-
instead prefer the standard C multi-line comment (`/* .. */`).
111+
* [&lt;URL:https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?root=ruby&gt;][svn-viewvc]
147112

148-
See also the information in [Ruby’s issue tracker][10].
113+
However, you don't have to care about it (unless you are a branch maintainer).
114+
You can check out the branches in your Git working copy.
115+
For example, run the following command.
116+
117+
{% highlight sh %}
118+
$ git checkout ruby_X_X
119+
{% endhighlight %}
149120

121+
X_X should be replaced with a version that you want to check out.
150122

123+
If you want to modify the branches, please open an issue in our [issue tracker][10].
124+
See also the following section.
151125

126+
[gitrlo]: https://git.ruby-lang.org/ruby.git
152127
[mailing-lists]: /en/community/mailing-lists/
153128
[writing-patches]: /en/community/ruby-core/writing-patches/
154-
[1]: http://subversion.apache.org/
155-
[2]: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/
156-
[3]: http://subversion.apache.org/faq.html
157-
[4]: http://svnbook.org
158-
[5]: http://www.pragmaticprogrammer.com/titles/svn/
159-
[6]: http://git-scm.com/
129+
[noncommitterhowto]: https://github.com/shyouhei/ruby/wiki/noncommitterhowto
130+
[svn-viewvc]: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?root=ruby
160131
[7]: https://github.com/ruby/ruby
161-
[8]: https://github.com/shyouhei/ruby/wiki/committerhowto
162-
[9]: https://github.com/shyouhei/ruby/wiki/noncommitterhowto
163132
[10]: https://bugs.ruby-lang.org/
164133
[12]: http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html
165134
[13]: http://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html#Merging%20with%20patch
166-
[14]: http://www.gnu.org/prep/standards/standards.html#Change-Logs

0 commit comments

Comments
 (0)