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

update repo #5

Merged
merged 99 commits into from
May 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
5401e3a
Ruby 2.7.0-preview1 Released
nurse Apr 20, 2019
22e2b1a
Translate Ruby Repository Moved to Git from Subversion (zh_tw)
bugtender May 6, 2019
187abb2
Translate Multiple vulnerabilities in RubyGems (id)
meisyal May 4, 2019
6d751c0
Follow update translation (ko) (#2061)
riseshia May 8, 2019
6e96270
Translate "Ruby Repository Moved to Git from Subversion" (ko) (#2062)
yous May 9, 2019
b31c60a
Now the primary repository is Git
mame May 11, 2019
48b360a
Remove reference to rubyforge.org (ja) (#2065)
okuramasafumi May 16, 2019
25452c8
Merge pull request #2064 from mame/svn-to-git
mame May 17, 2019
93c64c4
Update the TOC of en/community/ruby-core/index.md
mame May 17, 2019
4710e75
Remove reference of RubyForge from libraries page (ko)
yous May 18, 2019
9516a88
Move official Git repo lower in repository guide (ja) (#2069)
okuramasafumi May 21, 2019
dd79aa2
Translate "Support of Ruby 2.3 has ended" (ja) (#2070)
acomagu May 23, 2019
140bd3f
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
9f2395f
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
e736d21
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
e6e32ce
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
fa90890
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
6bc626e
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
c7f8d45
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
b2118fb
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
0827bdf
Update en/news/_posts/2019-04-20-ruby-2-7-0-preview1-released.md
nurse May 23, 2019
0b54a1d
Fix address of git remote for committers
duerst May 25, 2019
111c8d2
Merge pull request #2072 from duerst/patch-1
mame May 25, 2019
8046af1
Follow up about git as primary repository (ko) (#2071)
riseshia May 25, 2019
8572e3e
Add cx_id for search (tr)
ismailarilik May 26, 2019
0fe2762
Translate _config.yml (tr)
ismailarilik May 27, 2019
0da4866
Fix and enhance downloads page translation (tr)
ismailarilik Feb 24, 2019
157f29e
Move installation related docs from downloads to installation page (tr)
ismailarilik Feb 24, 2019
1cda69a
Improve installation page (tr)
ismailarilik Feb 25, 2019
d366fe1
Liken translation to the English correspondent
ismailarilik May 27, 2019
c24df26
Update installation doc translation (tr)
ismailarilik May 27, 2019
b918636
Translate missing parts in code examples (tr)
ismailarilik Feb 23, 2019
c35cb5d
Obey "Do not translate code" rule
ismailarilik May 27, 2019
3a14aa2
Add noscript div for code examples in main page (tr)
ismailarilik Feb 23, 2019
14b4973
Translate translatable strings in noscript code example (tr)
ismailarilik Feb 23, 2019
638f5e8
Fix forbidden code point error (zh_tw) (#2074)
ismailarilik May 28, 2019
4eef979
Obey "Do not translate code" rule
ismailarilik May 28, 2019
bb7e66d
Translate about logo page (tr)
ismailarilik May 28, 2019
cb8dad7
Add tr team to CODEOWNERS file (tr)
ismailarilik May 28, 2019
bdcc3dd
Merge pull request #2078 from ismailarilik/add-tr-team-to-codeowners-…
ismailarilik May 28, 2019
3334d62
Merge pull request #2077 from ismailarilik/translate-about-logo
ismailarilik May 28, 2019
1f496cf
Merge pull request #2076 from ismailarilik/translate-config-yml
ismailarilik May 28, 2019
7515aca
Merge pull request #2075 from ismailarilik/add-cx-id
ismailarilik May 28, 2019
68fc2ef
Merge pull request #1979 from ismailarilik/add-noscript
ismailarilik May 28, 2019
cf17196
Remove extra space
ismailarilik May 28, 2019
a533b76
Merge pull request #1980 from ismailarilik/fix-code-examples
ismailarilik May 28, 2019
11a82bb
Make small syntactic change
ismailarilik May 28, 2019
b34d849
Use necessary syntactic quote
ismailarilik May 28, 2019
51398eb
Merge pull request #1985 from ismailarilik/fix-downloads-translation-…
ismailarilik May 28, 2019
83865b3
Translate move-to-git-from-svn news
ismailarilik May 28, 2019
7f2def6
Translate ruby-2-6-3-released news
ismailarilik May 28, 2019
0db3dae
Use "yayın" instead of "sürüm" for "release"
ismailarilik May 28, 2019
f06ee7d
Translate support-of-ruby-2-3-has-ended news (tr)
ismailarilik May 28, 2019
4bdd20d
Use quotes fro translation name for convenience
ismailarilik May 29, 2019
9824961
Use quotes fro translation name for convenience
ismailarilik May 29, 2019
4a771b2
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
19a713a
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
109ce69
Use "bildiri" instead of "rapor" for "report"
ismailarilik May 29, 2019
bbf5adc
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
8efb79a
Merge pull request #2079 from ismailarilik/translate-move-to-git-from…
ismailarilik May 30, 2019
fcf12ab
Merge pull request #2080 from ismailarilik/translate-ruby-2-6-3-relea…
ismailarilik May 30, 2019
48dcc33
Merge pull request #2082 from ismailarilik/translate-support-of-ruby-…
ismailarilik May 30, 2019
1287966
Translate ruby-2-5-5-released news (tr)
ismailarilik May 29, 2019
41f7e20
Use quotes fro translation name for convenience
ismailarilik May 29, 2019
efee0a7
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
6134d3d
Use "bildiri" instead of "rapor" for "report"
ismailarilik May 29, 2019
74c1b71
Use "çok" and proper suffix instead of "çoklu"
ismailarilik May 29, 2019
0cae3e4
Use "sürüm" instead of "yayın"
ismailarilik May 30, 2019
c4f2d74
Translate ruby-2-4-6-released news (tr)
ismailarilik May 28, 2019
98a7308
Use quotes fro translation name for convenience
ismailarilik May 29, 2019
33bb8e6
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
8986a4f
Update vulnerabilities link to tr link
ismailarilik May 29, 2019
fa9b790
Use "sürüm" instead of "yayın"
ismailarilik May 30, 2019
82c41d6
Improve meaning
ismailarilik May 30, 2019
5630559
Translate ruby-2-6-2-released news (tr)
ismailarilik May 29, 2019
cf37105
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
b782985
Use "bildiri" instead of "rapor" for "report"
ismailarilik May 29, 2019
9c45999
Update vulnerabilities link to tr link
ismailarilik May 29, 2019
432e2ce
Use "sürüm" instead of "yayın"
ismailarilik May 30, 2019
819c9e3
Translate ruby-2-5-4-released news (tr)
ismailarilik May 29, 2019
9acc5c4
Use "yayınlamak" instead of "yayımlamak"
ismailarilik May 29, 2019
70aebd8
Use "bildiri" instead of "rapor" for "report"
ismailarilik May 29, 2019
e90afea
Update vulnerabilities link to tr link
ismailarilik May 29, 2019
39aa0b0
Use "sürüm" instead of "yayın" for convenience
ismailarilik May 30, 2019
0c613d5
Translate ruby-2-6-1-released news (tr) (#2087)
ismailarilik May 30, 2019
ad783e5
Translate ruby-2-6-0-released news (tr) (#2088)
ismailarilik May 30, 2019
d3a81db
Add file URLs
nurse May 30, 2019
d6c3037
Merge pull request #2045 from nurse/ruby-2-7-0-preview1-released
nurse May 30, 2019
e42c65e
Ruby 2.7.0-preview1 Released fix release date
nurse May 30, 2019
71ae270
Merge pull request #2091 from nurse/ruby-2-7-0-preview1-released-1
nurse May 30, 2019
8d0fec3
Don't loop but show controls for videos
nurse May 30, 2019
4193b5d
Merge pull request #2093 from nurse/ruby-2-7-0-preview1-released-2
nurse May 30, 2019
c1a04bf
multiple-vulnerabilities-in-rubygems (tr) (#2086)
ismailarilik May 30, 2019
6758087
re-packaged the tarball
nurse May 30, 2019
f4b4a9a
Merge pull request #2094 from nurse/ruby-2-7-0-preview1-released-3
nurse May 30, 2019
64a6100
re-repackaged
nurse May 30, 2019
46c3ae1
Merge pull request #2095 from nurse/ruby-2-7-0-preview1-released-4
nurse May 30, 2019
bed3c8f
Fix typo in 2.7.0-preview1 post (en) (#2097)
jage May 31, 2019
bd894b9
Update translation of about page (tr) (#2092)
ismailarilik May 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pt/ @ruby/www-ruby-lang-org-i18n

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

tr/ @ruby/www-ruby-lang-org-i18n
tr/ @ruby/www-ruby-lang-org-i18n-tr

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

Expand Down
30 changes: 17 additions & 13 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ license:

svn:
stable:
version: 2.6
branch: ruby_2_6
previous:
version: 2.5
branch: ruby_2_5
previous:
old:
version: 2.4
branch: ruby_2_4
old:
version: 2.3
branch: ruby_2_3

locales:
sitelinks:
Expand Down Expand Up @@ -313,6 +313,7 @@ locales:
text: Поиск
tr:
text: Ara
cx_id: "011743037637077038592:5tuc9cqilws"
vi:
text: Tìm
zh_cn:
Expand Down Expand Up @@ -1387,6 +1388,9 @@ locales:
url: /tr/documentation/
# books:
# text: Kitaplar
rubybib:
text: Akademik Araştırma
<<: *rubybib
libraries:
text: Kütüphaneler
url: /tr/libraries/
Expand Down Expand Up @@ -1712,15 +1716,15 @@ locales:
subscribe: Подписаться
unsubscribe: Отписаться
submit: Отправить
# tr:
# list: Mailing List
# first_name: First Name
# last_name: Last Name
# email: Email Address
# action: Action
# subscribe: Subscribe
# unsubscribe: Unsubscribe
# submit: Submit Form
tr:
list: E-posta Listesi
first_name: Ad
last_name: Soyad
email: E-posta Adresi
action: Eylem
subscribe: Abone Ol
unsubscribe: Abonelikten Çık
submit: Formu Gönder
vi:
list: Mailing List
first_name: Tên
Expand Down
5 changes: 5 additions & 0 deletions _data/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# date: date of first stable release (YYYY-MM-DD)
# eol_date: date of EOL (YYYY-MM-DD)

- name: 2.7
status: preview
date:
eol_date:

- name: 2.6
status: normal maintenance
date: 2018-12-25
Expand Down
1 change: 1 addition & 0 deletions _data/downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# optional
preview:

- 2.7.0-preview1

stable:

Expand Down
16 changes: 16 additions & 0 deletions _data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@
# In order to get the release listed on the downloads page,
# you also need to add an entry to `_data/downloads.yml'.

# 2.7 series

- version: 2.7.0-preview1
date: 2019-05-30
post: /en/news/2019/05/30/ruby-2-7-0-preview1-released/
url:
gz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.gz
zip: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.zip
bz2: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.bz2
xz: https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-preview1.tar.xz
sha256:
gz: b61dba9ed01e855000111964363fbd691219ab3c567455434717ecba962747ea
zip: 59da2314822add396f68ce3e8e43e98843d41f4eab2354edc7f793a1ec3f3359
bz2: b20c80adc1324c0ec87bf3f4a66b837771d7a30fc876d83e68e519c623cf0369
xz: 540f11753f5805c1bf560c54a44d1ea04414217c7d319cac165de964e269399f

# 2.6 series

- version: 2.6.3
Expand Down
114 changes: 41 additions & 73 deletions en/community/ruby-core/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,60 +12,36 @@ So, where do you start?

The topics related to Ruby development covered here are:

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

### Using Subversion to Track Ruby Development
### Using Git to Track Ruby Development
{: #following-ruby}

Getting the latest Ruby source code is a matter of an anonymous checkout
from the [Subversion][1] repository. From your command line:
The current primary repository of the latest Ruby source code is
[git.ruby-lang.org/ruby.git][gitrlo].
There is also a [mirror on GitHub][7]. Usually, please use this mirror.

You can get the latest Ruby source code by using Git.
From your command line:

{% highlight sh %}
$ svn co https://svn.ruby-lang.org/repos/ruby/trunk ruby
$ git clone https://github.com/ruby/ruby.git
{% endhighlight %}

The `ruby` directory will now contain the latest source code
for the development version of Ruby (ruby-trunk).
Currently patches applied to the trunk are backported to the stable
{{ site.svn.stable.version }}, {{ site.svn.previous.version }},
and {{ site.svn.old.version }} branches (see below).

If you’d like to follow patching of Ruby {{ site.svn.stable.version }},
you should use the `{{ site.svn.stable.branch }}` branch when checking out:

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

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

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

This will check out the respective development tree into a
`{{ site.svn.stable.branch }}` or `{{ site.svn.previous.branch }}` directory.
Developers working on the maintenance branches are expected to migrate
their changes to Ruby’s trunk, so often the branches are very similar,
with the exception of improvements made by Matz and Nobu to the language
itself.

If you prefer, you may browse [Ruby’s Subversion repository via the web][2].

For information about Subversion, please see the [Subversion FAQ][3]
and the [Subversion book][4]. Alternatively, you may find
[Pragmatic Version Control with Subversion][5] to be a useful introductory book.

### How to Use Git With the Main Ruby Repository
{: #git-ruby}

Those who prefer to use [Git][6] over Subversion can find instructions
with the [mirror on GitHub][7], both for [those with commit access][8]
and [everybody else][9].

### Improving Ruby, Patch by Patch
{: #patching-ruby}

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

To summarize, the steps for building a patch are:

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

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

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

$ svn co https://svn.ruby-lang.org/repos/ruby/branches/{{ site.svn.previous.branch }}
$ git checkout ruby_X_X

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

2. Add your improvements to the code.

3. Create a patch.

$ svn diff > ruby-changes.patch
$ git diff > ruby-changes.patch

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

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

### Rules for Core Developers
{: #coding-standards}

Generally, the developers of Ruby should be familiar with the source
code and the style of development used by the team. To be clear, the
following guidelines should be honored when checking into Subversion:
### Note about branches

The source code of Ruby had been managed under Subversion repository until 22rd April 2019.
Thus, some branches may be still managed under Subversion.
You can view the SVN repository.

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

See also the information in [Ruby’s issue tracker][10].
However, you don't have to care about it (unless you are a branch maintainer).
You can check out the branches in your Git working copy.
For example, run the following command.

{% highlight sh %}
$ git checkout ruby_X_X
{% endhighlight %}

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

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

[gitrlo]: https://git.ruby-lang.org/ruby.git
[mailing-lists]: /en/community/mailing-lists/
[writing-patches]: /en/community/ruby-core/writing-patches/
[1]: http://subversion.apache.org/
[2]: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/
[3]: http://subversion.apache.org/faq.html
[4]: http://svnbook.org
[5]: http://www.pragmaticprogrammer.com/titles/svn/
[6]: http://git-scm.com/
[noncommitterhowto]: https://github.com/shyouhei/ruby/wiki/noncommitterhowto
[svn-viewvc]: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?root=ruby
[7]: https://github.com/ruby/ruby
[8]: https://github.com/shyouhei/ruby/wiki/committerhowto
[9]: https://github.com/shyouhei/ruby/wiki/noncommitterhowto
[10]: https://bugs.ruby-lang.org/
[12]: http://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html
[13]: http://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html#Merging%20with%20patch
[14]: http://www.gnu.org/prep/standards/standards.html#Change-Logs
Loading