=encoding utf8 =head1 NAME =begin original Mojolicious::Guides::Contributing - Contributing to Mojolicious =end original Mojolicious::Guides::Contributing - Mojoliciousへの貢献 =head1 OVERVIEW (説明) =begin original There are many ways to contribute to L, this guide will show you a few of them. =end original Mojoliciousに貢献する方法は たくさんあります。このガイドはそのうちの少しを紹介します。 =head1 REPORTING BUGS (バグのレポート) =begin original We use the L, so you'll need to create a (free) GitHub account to be able to submit issues, comments and pull requests. =end original 私たちはLを使っています。 問題を提出したり、コメントしたり、リクエストをプルするために、 無料のGitHubのアカウントを作成してください。 =begin original First of all, make sure you are using the latest version of L, it is quite likely that your bug has already been fixed. If that doesn't help, take a look at the list of currently open issues, perhaps it has already been reported by someone else and you can just add a comment confirming it. =end original まず最初に最新のLであることを確認してください。 あなたのバグは修正されていることが多いです。 もしだめであれば、現在オープンされているイシューの一覧を見てください。 だれかがすでにレポートしていれば、それに追加してください。 =begin original If it hasn't been reported yet, try to prepare a test case demonstrating the bug, you are not expected to fix it yourself, but you'll have to make sure the developers can replicate your problem. Sending in your whole application generally does more harm than good, the C directory of this distribution has many good examples for how to do it right. Writing a test is usually the hardest part of fixing a bug, so the better your test case the faster it can be fixed. ;) =end original もしまだレポートされていなければ、バグのテストケースを準備してください。 自分自身で修正する必要はないですが、開発者がその問題を確実に再現できるようにしてください。 アプリケーション全体を送信するのは一般的にいってよい面よりも悪い面のほうが多いです。 このディストリビューションのtディレクトリにはどのようにするかを知るためのよいサンプルがたくさんあります。 通常はテストを書くことはバグを修正することよりも大変なことなので、 テストケースをよりよいものにすれば、修正も早くなるでしょう。 =begin original And don't forget to add a descriptive title and text, when you create a new issue. If your issue does not contain enough information or is unintelligible, it might get closed pretty quickly. But don't be disheartened, if there's new activity it will get reopened just as quickly. =end original 新しいイシューを作成するときはタイトルとテキストを追加することも 忘れないようにしてください。問題に十分な情報が含まれていないか、理解できない場合は、 すぐに閉じられる可能性があります。しかし、新しいものがあったとしても、落胆しないでください アクティビティはすぐに再開されます。 =head2 Reporting security issues (セキュリティの問題の報告) =begin original Please report security issues directly to the pumpkin-holder via email, which is currently Sebastian Riedel (C), and give us a few days to develop and release a proper fix. =end original セキュリティの問題は直接担当者のCPANのEメールアドレスにレポートしてください。 現在はSebastian Riedel (C)です。数日後には開発して、適切な修正をリリースします。 =head1 RESOLVING ISSUES (問題の解決にむけて) =begin original There are many ways in which you can help us resolve existing issues on the L. =end original 存在する問題を解決するのを手助けするためにLに 多くの方法があります。 =begin original Can you replicate the problem on your computer? Add a comment saying that you're seeing the same. Perhaps you can provide additional information that will make it easier for others to replicate the problem, maybe even contribute a better test case. =end original あなたのコンピューターは問題を再現できますか。 同じものを見た場合はコメントを追加してください。 他の人が問題を再現を容易にするために追加の情報を提供できます。 テストケースに貢献できるかもしれません。 =begin original And for all code contributions we very much appreciate additional testing and code review, just add a comment to show your approval or to point out flaws that need to be addressed. =end original すべてのコードの貢献のために、 わたしたちは追加の試験とコードのレビューを評価します。 賛成の意を表明するためにコメントを追加したり、 取り組むべき弱い部分を指摘することができます。 =head1 CONTRIBUTING DOCUMENTATION (ドキュメントへの貢献) =begin original One of the easiest ways to contribute to L is through documentation improvements. While the L are carefully curated by the core team, everybody with a (free) GitHub account can make changes and add new information to the L. =end original Lへの貢献の簡単な方法のひとつに、 ドキュメントを改善するというものがあります。 Lはコアチームによって注意深く書かれたものですが、 GitHubのアカウントをもっていれば、 変更したり新しい情報をLに追加することができます。 =begin original Pull requests with additions or changes to the documentation included in the L distribution follow the same rules as code contributions. Please don't send pull requests for overly simplistic changes, such as the addition of a comma or semicolon. =end original Lディストリビューションを含むドキュメントへの追加または変更を伴うプルリクエスト は、コードコントリビューションと同じルールに従います。お願いします コンマまたはセミコロンの追加など、過度に単純な変更をプルリクエストで送信しないでください。 。 =head1 CONTRIBUTING CODE (コードへの貢献) =begin original All code contributions should be sent as L. But please try to avoid pull requests with very simplistic changes, such as a single typo fix somewhere in the documentation or comments. =end original コードへの貢献はL. によって行ってください。ただし、次のような非常に単純な変更を伴うプルリクエストは避けるようにしてください。 ドキュメントまたはコメントのどこかで、1つのタイプミス修正。 =begin original An expressive title and detailed description are invaluable during the review process, which usually ends when members of the community have voiced their opinions and the core team voted for or against a change. All code changes should emulate the style of the surrounding code, include tests that fail without them, and update relevant documentation. =end original 意味のあるタイトルと詳細な説明はレビューのプロセスにおいては貴重です。 コミュニティのメンバーが意見を言ったり、コアチームが変更に 賛成したり、反対したりするときに、終了します。 すべてのコードの変更は周囲のコードと調和させてください。 それがなければ失敗するコードを含めて、関連するドキュメントも アップデートしてください。 =begin original While the L distribution covers a wide range of features, we are rather conservative when it comes to adding new ones. So if your contribution is not a simple bug fix, it is B that you discuss it in advance on the L or the official IRC channel C<#mojo> on C (L), to avoid unnecessary work and to increase its chances of getting accepted. =end original Lへの貢献は広い範囲の機能に及びますが、 新しい機能が追加されるときは保守的です。 もし貢献がバグフィックスでなければ、LかC (L)のC<#mojo>で先立って議論によって同意を得ていれば、 劇的に機会を増やすことができます。 =begin original Any member of the core team can call for a vote with a GitHub comment mentioning the team C<@mojolicious/core>. Then there will be a review period of 14 days (or less if enough votes have been cast), after which all votes are counted and the pull request will be accepted or rejected. =end original コアチームのメンバーは誰でも、GitHubのコメントを記載した投票を求めることができます。 チームC <@mojolicious/core>。その後、14日間のレビュー期間があります(または 十分な票が投​​じられた場合はそれより少ない)、その後、すべての票がカウントされ、 プルリクエストは受け入れられるか拒否されます。 =begin original The following mission statement and rules are the foundation of all L and L development. Please make sure that your contribution aligns well with them before sending a pull request. =end original 以下のミッションステートメントとルールは、 LとLの基盤になっています。 プルリクエストを送る前に、あなたの貢献が 同じ方針であることを確かめてください。 =head2 Mission statement (ミッションステートメント) =begin original L is a web development toolkit, with all the basic tools and helpers needed to write simple web applications and higher level web frameworks, such as L. =end original LはPerlのWebフレームワークのための実行環境です。簡単なWebアプリケーションを書いたり、 Lのような高レベルなWebフレームワークを書くための基本的なツールとヘルパを提供しています。 =begin original All components should be reusable in other projects, and in a UNIXish way only loosely coupled. =end original すべてのコンポーネントは疎結合にして他のプロジェクトやUNIX的な方法で再利用可能であるべきです。 =begin original Especially for people new to Perl it should be as easy as possible to install L and get started. Writing web applications can be one of the most fun ways to learn a language! =end original 特にPerlを始める人にとって、Lのインストールとスタートは簡単である必要があります。 Webアプリケーションを書くことは、言語を覚えるもっとも面白い方法のひとつです! =begin original For developers of other web frameworks, it should be possible to reuse all the infrastructure and just consider the higher levels of the L distribution an example application. =end original 他のWebフレームワークの開発者のために、すべてのインフラは再利用可能であるべきですし、 より高レベルのLのディストリビューションは、サンプルアプリケーションだと考えることができます。 =head2 Rules (ルール) =over 2 =begin original Web development should be easy and fun, this is what we optimize for. =end original Web開発は簡単で楽しいものにする必要があります。これは私たちが最適化することです。 =begin original The web is a moving target, to stay relevant we have to stay in motion too. =end original ウェブは移動する目標であり、追いついていくために 私たちもまた動き続けなければなりません。 =begin original Keep it simple, no magic unless absolutely necessary. =end original シンプルに保ってください。絶対に必要とされるときを除いてマジックを使わないでください。 =begin original The installation process should be as fast and painless as possible. (Less than a minute on most common hardware is a good rule of thumb) =end original インストールの処理は、できるだけ速く、無痛であるべきです。 (最も一般的なハードウェアにおいて、1分以内が経験にもとづく目安です) =begin original The addition and modification of features is decided by majority vote or the pumpkin-holder. =end original 機能の追加と修正は、多数派の投票かパンプキングの決定によります。 =begin original Any core developer may nominate a new one, who must then be accepted by a 2/3 majority vote. =end original コア開発者は新しい機能を提案することができます。2/3の多数決の票が必要です。 =begin original The pumpkin-holder has veto rights and may select their successor. =end original パンプキングは拒否権を持ち、後継者を選択できます。 =begin original It's not a feature without a test and documentation. =end original 機能を作るときはテストとドキュメントも作りましょう。 =begin original A feature is only needed when the majority of the user base benefits from it. =end original 機能は多くのユーザの視点から見て利益があるときにのみ必要とされます。 =begin original Features may only be changed in a major release, to fix a serious security issue, or after being deprecated for at least 3 months. =end original 少なくともひとつのメジャーリリースの期間の間か3ヶ月の期間において、 廃止予定の宣言をしなければ、機能は変更してはいけません。 =begin original Refactoring and deprecations should be avoided if there are no substantial benefits. =end original 重要な機能がそれに依存していない限りは、 機能のリファクタリングと廃止予定(Deprecating)にすることは是が非でも避けるべきです。 =begin original New features can be marked as experimental to be excluded from deprecation policies. =end original 実験的なものとしてマークされている新しい機能は廃止のポリシーの対象外になります。 =begin original A major release is signaled by a new major version number and a unique code name based on a Unicode character. =end original メジャーリリースは新しいバージョン番号によって示され、ユニコード文字をベースにした新しいユニークなコードがしるしになります。 =begin original Only add dependencies if absolutely necessary and make them optional if possible. =end original 絶対に必要なときだけ、必要条件(prereqs)を追加してください。 そして、できればそれらをオプションにしてください。 =begin original Domain specific languages should be avoided in favor of Perl-ish solutions. =end original Perl的な解決方法を支持するので、ドメイン固有言語は避けます。 =begin original No inline POD. =end original インラインPODは使用しません。 =begin original Documentation belongs to the guides, module POD is just an API reference. =end original ドキュメントはガイドに属し、モジュールのPODは単なるAPIリファレンスにします。 =begin original The main focus of the included documentation should be on examples, no walls of text. (An example for every one or two sentences is a good rule of thumb) =end original 埋め込みのドキュメンテーションの主な観点は、たくさんのテキストの解説ではなく、サンプルコードです。 (1つか2つのセンテンス毎にサンプルを記述するのが、経験則にもとづく目安です) =begin original Everything should be ordered alphabetically if possible, or at least be consistent if not. =end original すべてはできればアルファベット順に並べます。 =begin original The master source code repository should always be kept in a stable state, use feature branches for actual development. =end original master ソースコードのレポジトリは常に安定状態で保たれるべきであり、 実際の開発には機能のためのブランチを使用してください。 =begin original Code has to be run through L with the included L<.perltidyrc|https://github.com/mojolicious/mojo/blob/master/.perltidyrc>, and everything should look like it was written by a single person. =end original コードは同梱された L<.perltidyrc|https://github.com/mojolicious/mojo/blob/master/.perltidyrc>で L を通してください。 すべてが独りの人間によって書かれたように記述してください。 =begin original Functions and methods should be as short as possible, no spaghetti code. =end original スパゲッティコードにならないように、 メソッドと関数はできるだけ短くしてください。 =begin original Comments should be correctly capitalized, and funny if possible, punctuation is optional if it doesn't increase readability. =end original コメントは正しく先頭を大文字にして もし可能であればユーモアのあるものにしてください。 読みやすさを増さないのであれば、任意です。 =begin original No names outside of C. =end original C以外には名前を書かないでください =back =head1 DONATIONS (寄付金) =begin original L is open source and free to use. However, the amount of effort needed to maintain the project and develop new features for it is not sustainable without proper financial backing. You can support the ongoing development of L through PayPal (C). =end original L はオープンソースであり、無料で使用できます。しかし、 プロジェクトを維持し、新しい機能を開発するためのたくさんの努力は 適切な財政的支援なしで持続可能ではありません。継続的にサポートできます PayPal Cを通して、Lの継続的な開発をサポートできます。 =begin original If you run a business and use L in a revenue generating product, it makes business sense to support L development. Because it ensures that the project your product relies on stays healthy and actively maintained. It can also help your exposure within the community and will make it easier to attract L developers. =end original 事業を営み、収益を生み出す製品でLを使用する場合、Lの開発をサポートするのはビジネス上、理にかなっています。 そのことは、製品が依存するプロジェクトが健全であり、積極的にメンテナンスされていることを保証します。 また、コミュニティ内での露出に役立ち、L開発者を引きつけるのがより簡単になります =begin original Please email us (C) if you have any questions about becoming a sponsor. =end original ご質問がある場合は、メール(C)でお問い合わせください。 スポンサーになる。 =head1 CODE OF CONDUCT (行動規範) =begin original Like the technical community as a whole, the L team and community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the mission - including mentorship, teaching, and connecting people. =end original 技術コミュニティ全体と同様に、L チームとコミュニティは 世界中の専門家とボランティアの両方で構成されており、 メンターシップ、教育、人をつなぐことを含む、ミッションのあらゆる側面に取り組みます。 =begin original Diversity is one of our huge strengths, but it can also lead to communication issues and unhappiness. To that end, we have a few ground rules that we ask people to adhere to. This code applies equally to founders, mentors and those seeking help and guidance. =end original 多様性は私たちの大きな強みの1つですが、コミュニケーションの問題と不幸にもつながります 。そのために、従うべきいくつかの基本的なルールがあります。 このコードは、創設者、メンター、ヘルプとガイダンスを求める人に、等しく適用されます =begin original This isn't an exhaustive list of things that you can't do. Rather, take it in the spirit in which it’s intended - a guide to make it easier to enrich all of us and the technical communities in which we participate. =end original これは、できないことを網羅したリストではありません。むしろ、それを取り入れる 意図された精神です。私たちと私たちが参加している技術コミュニティすべてをより豊かにするためのガイド 。 =begin original This code of conduct applies to all spaces managed by the L project. This includes IRC, the mailing lists, the issue tracker, and any other forums created by the project team which the community uses for communication. In addition, violations of this code outside these spaces may affect a person's ability to participate within them. =end original この行動規範は、Lプロジェクトが管理するすべてのスペースに適用されます。 これには、IRC、メーリングリスト、問題トラッカー、コミュニティがコミュニケーションに使用するプロジェクトチームによって作成されたフォーラム、を含みます。 加えて、これらのスペース外でこの規範に違反するは、それらの人々を忍耐する個人の能力に影響を及ぼします。 =begin original If you believe someone is violating the code of conduct, we ask that you report it by emailing Joel Berger (C) or other members of L. =end original 誰かが行動規範に違反していると思われる場合は、報告するようお願いします Joel Berger(C)または他のメンバーにメールで送信するL。 =over 2 =item * B (* B<フレンドリーで忍耐強くあります。>) =item * B We strive to be a community that welcomes and supports people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability. (* B<歓迎すること> 私たちは、すべての背景とアイデンティティの人々を歓迎し、支援するコミュニティになるよう努めています。これには以下が含まれますが、これらに限定されません。 あらゆる人種、民族、文化、出身国、色、移民のメンバー ステータス、社会的および経済的クラス、教育レベル、性別、性的指向、 性同一性と表現、年齢、規模、家族の地位、政治的信念、 宗教、精神的および身体的能力。) =item * B Your work will be used by other people, and you in turn will depend on the work of others. Any decision you take will affect users and colleagues, and you should take those consequences into account when making decisions. Remember that we're a world-wide community, so you might not be communicating in someone else's primary language. (* B<思いやること> あなたの仕事は他の人によって使われ、あなたは 一方で他の人の仕事に依存します。あなたがするあらゆる決定は、ユーザーと仲間に影響を及ぼします。 そしてあなたは決定するときは、作るときに、それらの結果を考慮に入れる必要があります。 私たちは世界的なコミュニティであることに注意してください。 それゆえ、他人の第一言語でコミュニケーションしないようにできます。) =item * B Not all of us will agree all the time, but disagreement is no excuse for poor behavior and poor manners. We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack. It’s important to remember that a community where people feel uncomfortable or threatened is not a productive one. Members of the L community should be respectful when dealing with other members as well as with people outside the L community. (* B<敬意を払うこと>全員が常に同意するわけではないが、 意見の相違は、悪い振る舞いと悪いマナーの言い訳にはなりません。私たちはすべて 時々不満を感じますが、その不満が個人攻撃に変わるのを許すことはできません 人々が不快感や脅迫を感じる場所は、生産的でないコミュニティであることを覚えておくことが重要です 。L コミュニティ外の人々に対するのと同じように、他のメンバーを扱う場合に L コミュニティのメンバーは、敬意を持ち合うべきです、) =item * B We are a community of professionals, and we conduct ourselves professionally. Be kind to others. Do not insult or put down other participants. Harassment and other exclusionary behavior aren't acceptable. This includes, but is not limited to: (* B<選択した言葉に注意してください。>私たちは専門家のコミュニティです。 ですので、私たちは専門的に行動します。他人に優しくしてください。 他の参加者を侮辱したり、落としめたりしないでください。ハラスメントおよびその他の排他的 振る舞いは受け入れられません。これには次のものが含まれますが、これらに限定されません。) =over 2 =item * Violent threats or language directed against another person. (* 他の人に対する暴力的な脅迫または言葉。) =item * Discriminatory jokes and language. (* 差別的なジョークと言葉。) =item * Posting sexually explicit or violent material. (* 性的に露骨または暴力的な素材を投稿する。) =item * Posting (or threatening to post) other people's personally identifying information ("doxing"). (* 他人の個人を特定する投稿(または投稿の脅迫)情報(「ドキシング」)。) =item * Personal insults, especially those using racist or sexist terms. (* 個人への侮辱、特に人種差別的または性差別的な言葉を使用するもの。) =item * Unwelcome sexual attention. (* 望ましくない性的注意) =item * Advocating for, or encouraging, any of the above behavior. (* 上記の行動のいずれかを提唱、または奨励する。) =item * Repeated harassment of others. In general, if someone asks you to stop, then stop. (* 他人への嫌がらせを繰り返した。一般に、誰かが停止するように頼んだら、その後、停止してください。) =back =item * B Disagreements, both social and technical, happen all the time and L is no exception. It is important that we resolve disagreements and differing views constructively. Remember that we’re different. The strength of L comes from its varied community, people from a wide range of backgrounds. Different people have different perspectives on issues. Being unable to understand why someone holds a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to err and blaming each other doesn’t get us anywhere. Instead, focus on helping to resolve issues and learning from mistakes. (* B<意見が合わない場合は、理由を理解してください> 意見の相違、社会的 技術的にも常に発生し、L も例外ではありません。それは 不一致や意見の相違を建設的に解決することが重要です。 私たちは違うことを忘れないでください。 Lの強みは、 多様なコミュニティ、幅広いバックグラウンドを持つ人々。さまざまな人々が持っています 問題に関するさまざまな視点。誰かが持っている理由を理解できない 視点は彼らが間違っているという意味ではありません。誤ることは人間であることを忘れないでください そして、お互いを責めても、私たちはどこにも行きません。代わりに、 問題を解決し、間違いから学ぶ。) =back =head1 FORK POLICY (フォークポリシー) =begin original The L core team believes that there is a lot of value in the entire toolkit being a unified project. Forks drain resources from a project, not just mindshare but also very valuable bug reports and patches, which can have very serious security implications. Therefore we ask that you please not publically fork pieces of the L distribution without our consent. As doing so is against our express wishes, individuals who engage in unauthorized forking may be denied from participating in community sponsored spaces. =end original Lコアチームは、全体に多くの価値があると考えています ツールキットは統合プロジェクトです。フォークは、マインドシェアだけでなく、 深刻なセキュリティへの影響を含む非常に貴重なバグレポートとパッチなどプロジェクトからリソースを消費します。 したがって、私たちの同意なく Lディストリビューションの断片を、同意なしにフォークするのをやめてください。 そうするように許可されていないフォークに従事している私たちの明確な願いに反している コミュニティ主催のスペースへの参加が拒否される場合があります。 =begin original For developers considering the use of a forked module, we strongly recommend that you make yourself familiar with its history and track record. While many parts of L have been forked in the past, very few forks have been able to keep up with L development, and most are missing critical bug fixes. =end original 分岐モジュールの使用を検討している開発者には、強くお勧めします その歴史と実績に精通していること。多くの Lの一部は過去にフォークされていますが、 L開発に遅れずについていくことができているフォークはほとんどありません ほとんどは、深刻なバグ修正を失っています。 =head1 MORE (より学ぶには) =begin original You can continue with L now or take a look at the L, which contains a lot more documentation and examples by many different authors. =end original Lを学び続けてください。またLを見ることもできます。wikiには多くのユーザーによる多くのドキュメントやサンプルがあります。 =head1 SUPPORT (サポート) =begin original If you have any questions the documentation might not yet answer, don't hesitate to ask on the L or the official IRC channel C<#mojo> on C (L). =end original ドキュメントに答えが見つからなくって質問があるときは、Lか 公式のIRCチャンネルであるC (L)のC<#mojo>でためらわずに質問してください。 =begin meta Translate: 木本裕紀 Translate: 前山将人 Update: SHIRAKATA Kentaro (8.12) =end meta =cut