|
1 | 1 | ---
|
2 |
| -title: Reviewing pull requests |
| 2 | +title: プルリクエストのレビュー |
3 | 3 | content_type: concept
|
4 | 4 | main_menu: true
|
5 | 5 | weight: 10
|
6 | 6 | ---
|
7 | 7 |
|
8 | 8 | <!-- overview -->
|
9 | 9 |
|
10 |
| -Anyone can review a documentation pull request. Visit the [pull requests](https://github.com/kubernetes/website/pulls) section in the Kubernetes website repository to see open pull requests. |
| 10 | +ドキュメントのプルリクエストは誰でもレビューすることができます。Kubernetesのwebsiteリポジトリで[pull requests](https://github.com/kubernetes/website/pulls)のセクションに移動し、open状態のプルリクエストを確認してください。 |
11 | 11 |
|
12 |
| -Reviewing documentation pull requests is a |
13 |
| -great way to introduce yourself to the Kubernetes community. |
14 |
| -It helps you learn the code base and build trust with other contributors. |
| 12 | +ドキュメントのプルリクエストのレビューは、Kubernetesコミュニティに自分を知ってもらうためのよい方法の1つです。コードベースについて学んだり、他のコントリビューターとの信頼関係を築く助けともなるはずです。 |
15 | 13 |
|
16 |
| -Before reviewing, it's a good idea to: |
| 14 | +レビューを行う前には、以下のことを理解しておくとよいでしょう。 |
17 | 15 |
|
18 |
| -- Read the [content guide](/docs/contribute/style/content-guide/) and |
19 |
| - [style guide](/docs/contribute/style/style-guide/) so you can leave informed comments. |
20 |
| -- Understand the different |
21 |
| - [roles and responsibilities](/docs/contribute/participate/roles-and-responsibilities/) |
22 |
| - in the Kubernetes documentation community. |
| 16 | +- [コンテンツガイド](/docs/contribute/style/content-guide/)と[スタイルガイド](/docs/contribute/style/style-guide/)を読んで、有益なコメントを残せるようにする。 |
| 17 | +- Kubernetesのドキュメントコミュニティにおける[役割と責任](/docs/contribute/participate/roles-and-responsibilities/)の違いを理解する。 |
23 | 18 |
|
24 | 19 | <!-- body -->
|
25 | 20 |
|
26 |
| -## Before you begin |
| 21 | +## はじめる前に |
27 | 22 |
|
28 |
| -Before you start a review: |
| 23 | +レビューを始める前に、以下のことを心に留めてください。 |
29 | 24 |
|
30 |
| -- Read the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) and ensure that you abide by it at all times. |
31 |
| -- Be polite, considerate, and helpful. |
32 |
| -- Comment on positive aspects of PRs as well as changes. |
33 |
| -- Be empathetic and mindful of how your review may be received. |
34 |
| -- Assume good intent and ask clarifying questions. |
35 |
| -- Experienced contributors, consider pairing with new contributors whose work requires extensive changes. |
| 25 | +- [CNCFの行動規範](https://github.com/cncf/foundation/blob/master/code-of-conduct.md)を読み、いかなる時にも行動規範にしたがって行動するようにする。 |
| 26 | +- 礼儀正しく、思いやりを持ち、助け合う気持ちを持つ。 |
| 27 | +- 変更点だけでなく、PRのポジティブな側面についてもコメントする。 |
| 28 | +- 相手の善意を前提として、疑問点を明確にする質問をする。 |
| 29 | +- 経験を積んだコントリビューターの場合、コンテンツに大幅な変更が必要な新規のコントリビューターとペアを組んで作業に取り組むことを考える。 |
36 | 30 |
|
37 |
| -## Review process |
| 31 | +## レビューのプロセス |
38 | 32 |
|
39 |
| -In general, review pull requests for content and style in English. |
| 33 | +一般に、コンテンツや文体に対するプルリクエストは、英語でレビューを行います。 |
40 | 34 |
|
41 |
| -1. Go to |
42 |
| - [https://github.com/kubernetes/website/pulls](https://github.com/kubernetes/website/pulls). |
43 |
| - You see a list of every open pull request against the Kubernetes website and |
44 |
| - docs. |
| 35 | +1. [https://github.com/kubernetes/website/pulls](https://github.com/kubernetes/website/pulls)に移動します。Kubernetesのウェブサイトとドキュメントに対するopen状態のプルリクエスト一覧が表示されます。 |
45 | 36 |
|
46 |
| -2. Filter the open PRs using one or all of the following labels: |
47 |
| - - `cncf-cla: yes` (Recommended): PRs submitted by contributors who have not signed the CLA cannot be merged. See [Sign the CLA](/docs/contribute/new-content/overview/#sign-the-cla) for more information. |
48 |
| - - `language/en` (Recommended): Filters for english language PRs only. |
49 |
| - - `size/<size>`: filters for PRs of a certain size. If you're new, start with smaller PRs. |
| 37 | +2. open状態のPRに、以下に示すラベルを1つ以上使って絞り込みます。 |
50 | 38 |
|
51 |
| - Additionally, ensure the PR isn't marked as a work in progress. PRs using the `work in progress` label are not ready for review yet. |
| 39 | + - `cncf-cla: yes` (推奨): CLAにサインしていないコントリビューターが提出したPRはマージできません。詳しい情報は、[CLAの署名](/docs/contribute/new-content/overview/#sign-the-cla)を読んでください。 |
| 40 | + - `language/en` (推奨): 英語のPRだけに絞り込みます。 |
| 41 | + - `size/<size>`: 特定の大きさのPRだけに絞り込みます。レビューを始めたばかりの人は、小さなPRから始めてください。 |
52 | 42 |
|
53 |
| -3. Once you've selected a PR to review, understand the change by: |
54 |
| - - Reading the PR description to understand the changes made, and read any linked issues |
55 |
| - - Reading any comments by other reviewers |
56 |
| - - Clicking the **Files changed** tab to see the files and lines changed |
57 |
| - - Previewing the changes in the Netlify preview build by scrolling to the PR's build check section at the bottom of the **Conversation** tab and clicking the **deploy/netlify** line's **Details** link. |
| 43 | + さらに、PRがwork in progressとしてマークされていないことも確認してください。`work in progress`ラベルの付いたPRは、まだレビューの準備ができていない状態です。 |
58 | 44 |
|
59 |
| -4. Go to the **Files changed** tab to start your review. |
60 |
| - 1. Click on the `+` symbol beside the line you want to comment on. |
61 |
| - 2. Fill in any comments you have about the line and click either **Add single comment** (if you have only one comment to make) or **Start a review** (if you have multiple comments to make). |
62 |
| - 3. When finished, click **Review changes** at the top of the page. Here, you can add |
63 |
| - add a summary of your review (and leave some positive comments for the contributor!), |
64 |
| - approve the PR, comment or request changes as needed. New contributors should always |
65 |
| - choose **Comment**. |
| 45 | +3. レビューするPRを選んだら、以下のことを行い、変更点について理解します。 |
| 46 | + - PRの説明を読み、行われた変更について理解し、関連するissueがあればそれも読みます。 |
| 47 | + - 他のレビュアのコメントがあれば読みます。 |
| 48 | + - **Files changed**タブをクリックし、変更されたファイルと行を確認します。 |
| 49 | + - **Conversation**タブの下にあるPRのbuild checkセクションまでスクロールし、**deploy/netlify**の行の**Details**リンクをクリックして、Netlifyのプレビュービルドで変更点をプレビューします。 |
66 | 50 |
|
67 |
| -## Reviewing checklist |
| 51 | +4. **Files changed**タブに移動してレビューを始めます。 |
| 52 | + 1. コメントしたい場合は行の横の`+`マークをクリックします。 |
| 53 | + 2. その行に関するコメントを書き、**Add single comment**(1つのコメントだけを残したい場合)または**Start a review**(複数のコメントを行いたい場合)のいずれかをクリックします。 |
| 54 | + 3. コメントをすべて書いたら、ページ上部の**Review changes**をクリックします。ここでは、レビューの要約を追加できます(コントリビューターにポジティブなコメントも書きましょう!)。必要に応じて、PRを承認したり、コメントしたり、変更をリクエストします。新しいコントリビューターの場合は**Comment**だけが行えます。 |
68 | 55 |
|
69 |
| -When reviewing, use the following as a starting point. |
| 56 | +## レビューのチェックリスト |
70 | 57 |
|
71 |
| -### Language and grammar |
| 58 | +レビューするときは、最初に以下の点を確認してみてください。 |
72 | 59 |
|
73 |
| -- Are there any obvious errors in language or grammar? Is there a better way to phrase something? |
74 |
| -- Are there any complicated or archaic words which could be replaced with a simpler word? |
75 |
| -- Are there any words, terms or phrases in use which could be replaced with a non-discriminatory alternative? |
76 |
| -- Does the word choice and its capitalization follow the [style guide](/docs/contribute/style/style-guide/)? |
77 |
| -- Are there long sentences which could be shorter or less complex? |
78 |
| -- Are there any long paragraphs which might work better as a list or table? |
| 60 | +### 言語と文法 |
79 | 61 |
|
80 |
| -### Content |
| 62 | +- 言語や文法に明らかな間違いはないですか? もっとよい言い方はないですか? |
| 63 | +- もっと簡単な単語に置き換えられる複雑な単語や古い単語はありませんか? |
| 64 | +- 使われている単語や専門用語や言い回しで差別的ではない別の言葉に置き換えられるものはありませんか? |
| 65 | +- 言葉選びや大文字の使い方は[style guide](/docs/contribute/style/style-guide/)に従っていますか? |
| 66 | +- もっと短くしたり単純な文に書き換えられる長い文はありませんか? |
| 67 | +- 箇条書きやテーブルでもっとわかりやすく表現できる長いパラグラフはありませんか? |
81 | 68 |
|
82 |
| -- Does similar content exist elsewhere on the Kubernetes site? |
83 |
| -- Does the content excessively link to off-site, individual vendor or non-open source documentation? |
| 69 | +### コンテンツ |
84 | 70 |
|
85 |
| -### Website |
| 71 | +- 同様のコンテンツがKubernetesのサイト上のどこかに存在しませんか? |
| 72 | +- コンテンツが外部サイト、特定のベンダー、オープンソースではないドキュメントなどに過剰にリンクを張っていませんか? |
86 | 73 |
|
87 |
| -- Did this PR change or remove a page title, slug/alias or anchor link? If so, are there broken links as a result of this PR? Is there another option, like changing the page title without changing the slug? |
88 |
| -- Does the PR introduce a new page? If so: |
89 |
| - - Is the page using the right [page content type](/docs/contribute/style/page-content-types/) and associated Hugo shortcodes? |
90 |
| - - Does the page appear correctly in the section's side navigation (or at all)? |
91 |
| - - Should the page appear on the [Docs Home](/docs/home/) listing? |
92 |
| -- Do the changes show up in the Netlify preview? Be particularly vigilant about lists, code blocks, tables, notes and images. |
| 74 | +### ウェブサイト |
93 | 75 |
|
94 |
| -### Other |
| 76 | +- PRはページ名、slug/alias、アンカーリンクの変更や削除をしていますか? その場合、このPRの変更の結果、リンク切れは発生しませんか? ページ名を変更してslugはそのままにするなど、他の選択肢はありませんか? |
| 77 | +- PRは新しいページを作成するものですか? その場合、次の点に注意してください。 |
| 78 | + - ページは正しい[page content type](/docs/contribute/style/page-content-types/)と関係するHugoのshortcodeを使用していますか? |
| 79 | + - セクションの横のナビゲーション(または全体)にページは正しく表示されますか? |
| 80 | + - ページは[Docs Home](/docs/home/)に一覧されますか? |
| 81 | +- Netlifyのプレビューで変更は確認できますか? 特にリスト、コードブロック、テーブル、備考、画像などに注意してください。 |
95 | 82 |
|
96 |
| -For small issues with a PR, like typos or whitespace, prefix your comments with `nit:`. This lets the author know the issue is non-critical. |
| 83 | +### その他 |
97 | 84 |
|
| 85 | +PRに関して誤字や空白などの小さな問題を指摘する場合は、コメントの前に`nit:`と書いてください。こうすることで、PRの作者は問題が深刻なものではないことが分かります。 |
0 commit comments