gecko-dev/servo/CONTRIBUTING.md

57 строки
2.5 KiB
Markdown
Исходник Обычный вид История

# Contributing to Servo
Servo welcomes contribution from everyone. Here are the guidelines if you are
thinking of helping us:
## Contributions
Contributions to Servo or its dependencies should be made in the form of GitHub
pull requests. Each pull request will be reviewed by a core contributor
(someone with permission to land patches) and either landed in the main tree or
given feedback for changes that would be required. All contributions should
follow this format, even those from core contributors.
Should you wish to work on an issue, please claim it first by commenting on
the GitHub issue that you want to work on it. This is to prevent duplicated
efforts from contributors on the same issue.
Head over to [Servo Starters](http://servo.github.io/servo-starters/) to find
good tasks to start with. If you come across words or jargon that do not make
sense, please check [the glossary](docs/glossary.md) first. If there's no
matching entry, please make a pull request to add one with the content `TODO`
so we can correct that!
See [`HACKING_QUICKSTART.md`](docs/HACKING_QUICKSTART.md) for more information
on how to start working on Servo.
## Pull Request Checklist
- Branch from the master branch and, if needed, rebase to the current master
branch before submitting your pull request. If it doesn't merge cleanly with
master you may be asked to rebase your changes.
- Commits should be as small as possible, while ensuring that each commit is
correct independently (i.e., each commit should compile and pass tests).
- If your patch is not getting reviewed or you need a specific person to review
it, you can @-reply a reviewer asking for a review in the pull request or a
comment, or you can ask for a review in `#servo` on `irc.mozilla.org`.
servo: Merge #1859 - Move content tests to src/test/content for consistency (from kmcallister:move); r=jdm And update `CONTRIBUTING.md`. Source-Repo: https://github.com/servo/servo Source-Revision: d79c8a10cfd07be712826d831394814cdfec71af --HG-- rename : servo/src/test/html/content/harness.js => servo/src/test/content/harness.js rename : servo/src/test/html/content/test.jpg => servo/src/test/content/test.jpg rename : servo/src/test/html/content/test.png => servo/src/test/content/test.png rename : servo/src/test/html/content/test_DOMParser.html => servo/src/test/content/test_DOMParser.html rename : servo/src/test/html/content/test_Event.html => servo/src/test/content/test_Event.html rename : servo/src/test/html/content/test_MouseEvent.html => servo/src/test/content/test_MouseEvent.html rename : servo/src/test/html/content/test_childnodes.html => servo/src/test/content/test_childnodes.html rename : servo/src/test/html/content/test_collections.html => servo/src/test/content/test_collections.html rename : servo/src/test/html/content/test_create_element.html => servo/src/test/content/test_create_element.html rename : servo/src/test/html/content/test_documentElement.html => servo/src/test/content/test_documentElement.html rename : servo/src/test/html/content/test_document_body.html => servo/src/test/content/test_document_body.html rename : servo/src/test/html/content/test_document_characterSet.html => servo/src/test/content/test_document_characterSet.html rename : servo/src/test/html/content/test_document_characterSet_default.html => servo/src/test/content/test_document_characterSet_default.html rename : servo/src/test/html/content/test_document_characterSet_invalid.html => servo/src/test/content/test_document_characterSet_invalid.html rename : servo/src/test/html/content/test_document_characterSet_long.html => servo/src/test/content/test_document_characterSet_long.html rename : servo/src/test/html/content/test_document_characterSet_short.html => servo/src/test/content/test_document_characterSet_short.html rename : servo/src/test/html/content/test_document_compatMode.html => servo/src/test/content/test_document_compatMode.html rename : servo/src/test/html/content/test_document_compatMode_loose.html => servo/src/test/content/test_document_compatMode_loose.html rename : servo/src/test/html/content/test_document_compatMode_strict.html => servo/src/test/content/test_document_compatMode_strict.html rename : servo/src/test/html/content/test_document_contenttype.html => servo/src/test/content/test_document_contenttype.html rename : servo/src/test/html/content/test_document_createProcessingInstruction.html => servo/src/test/content/test_document_createProcessingInstruction.html rename : servo/src/test/html/content/test_document_doctype.html => servo/src/test/content/test_document_doctype.html rename : servo/src/test/html/content/test_document_getElementById.html => servo/src/test/content/test_document_getElementById.html rename : servo/src/test/html/content/test_document_getElementsByName.html => servo/src/test/content/test_document_getElementsByName.html rename : servo/src/test/html/content/test_document_head.html => servo/src/test/content/test_document_head.html rename : servo/src/test/html/content/test_document_implementation.html => servo/src/test/content/test_document_implementation.html rename : servo/src/test/html/content/test_document_set_node_value.html => servo/src/test/content/test_document_set_node_value.html rename : servo/src/test/html/content/test_document_title_nontextchildren.html => servo/src/test/content/test_document_title_nontextchildren.html rename : servo/src/test/html/content/test_document_url.html => servo/src/test/content/test_document_url.html rename : servo/src/test/html/content/test_element_attribute.html => servo/src/test/content/test_element_attribute.html rename : servo/src/test/html/content/test_element_attributes.html => servo/src/test/content/test_element_attributes.html rename : servo/src/test/html/content/test_empty_clientrect.html => servo/src/test/content/test_empty_clientrect.html rename : servo/src/test/html/content/test_event_dispatch.html => servo/src/test/content/test_event_dispatch.html rename : servo/src/test/html/content/test_event_dispatch_dynamic.html => servo/src/test/content/test_event_dispatch_dynamic.html rename : servo/src/test/html/content/test_event_dispatch_order.html => servo/src/test/content/test_event_dispatch_order.html rename : servo/src/test/html/content/test_event_listener.html => servo/src/test/content/test_event_listener.html rename : servo/src/test/html/content/test_exception.html => servo/src/test/content/test_exception.html rename : servo/src/test/html/content/test_getBoundingClientRect.html => servo/src/test/content/test_getBoundingClientRect.html rename : servo/src/test/html/content/test_getElementsByTagName.html => servo/src/test/content/test_getElementsByTagName.html rename : servo/src/test/html/content/test_global.html => servo/src/test/content/test_global.html rename : servo/src/test/html/content/test_htmlcollection.html => servo/src/test/content/test_htmlcollection.html rename : servo/src/test/html/content/test_img_width_height.html => servo/src/test/content/test_img_width_height.html rename : servo/src/test/html/content/test_innerHTML.html => servo/src/test/content/test_innerHTML.html rename : servo/src/test/html/content/test_load_event.html => servo/src/test/content/test_load_event.html rename : servo/src/test/html/content/test_mainelement.html => servo/src/test/content/test_mainelement.html rename : servo/src/test/html/content/test_navigator.html => servo/src/test/content/test_navigator.html rename : servo/src/test/html/content/test_node_contains.html => servo/src/test/content/test_node_contains.html rename : servo/src/test/html/content/test_node_insertBefore.html => servo/src/test/content/test_node_insertBefore.html rename : servo/src/test/html/content/test_node_isEqualNode.html => servo/src/test/content/test_node_isEqualNode.html rename : servo/src/test/html/content/test_node_replaceChild.html => servo/src/test/content/test_node_replaceChild.html rename : servo/src/test/html/content/test_parentnodes.html => servo/src/test/content/test_parentnodes.html rename : servo/src/test/html/content/test_prototypes.html => servo/src/test/content/test_prototypes.html rename : servo/src/test/html/content/test_proxy_setter.html => servo/src/test/content/test_proxy_setter.html rename : servo/src/test/html/content/test_script_src_attribute.html => servo/src/test/content/test_script_src_attribute.html rename : servo/src/test/html/content/test_textcontent.html => servo/src/test/content/test_textcontent.html rename : servo/src/test/html/content/test_title.html => servo/src/test/content/test_title.html rename : servo/src/test/html/content/test_union.html => servo/src/test/content/test_union.html rename : servo/src/test/html/content/test_window.html => servo/src/test/content/test_window.html
2014-03-08 04:19:24 +04:00
- Add tests relevant to the fixed bug or new feature. For a DOM change this
servo: Merge #5710 - Retire content tests (from Ms2ger:content); r=saneyuki Source-Repo: https://github.com/servo/servo Source-Revision: 53d2432c90ab9ef171dfbef8e22ed3f58fcef8f0 --HG-- rename : servo/tests/content/parsable_mime/application/font-woff/test.wof => servo/tests/unit/net/parsable_mime/application/font-woff/test.wof rename : servo/tests/content/parsable_mime/application/ogg/small.ogg => servo/tests/unit/net/parsable_mime/application/ogg/small.ogg rename : servo/tests/content/parsable_mime/application/pdf/test.pdf => servo/tests/unit/net/parsable_mime/application/pdf/test.pdf rename : servo/tests/content/parsable_mime/application/postscript/test.ps => servo/tests/unit/net/parsable_mime/application/postscript/test.ps rename : servo/tests/content/parsable_mime/application/vnd.ms-fontobject/vnd.ms-fontobject => servo/tests/unit/net/parsable_mime/application/vnd.ms-fontobject/vnd.ms-fontobject rename : servo/tests/content/parsable_mime/application/x-gzip/test.gz => servo/tests/unit/net/parsable_mime/application/x-gzip/test.gz rename : servo/tests/content/parsable_mime/application/x-rar-compressed/test.rar => servo/tests/unit/net/parsable_mime/application/x-rar-compressed/test.rar rename : servo/tests/content/parsable_mime/application/zip/test.zip => servo/tests/unit/net/parsable_mime/application/zip/test.zip rename : servo/tests/content/parsable_mime/audio/aiff/test.aif => servo/tests/unit/net/parsable_mime/audio/aiff/test.aif rename : servo/tests/content/parsable_mime/audio/basic/test.au => servo/tests/unit/net/parsable_mime/audio/basic/test.au rename : servo/tests/content/parsable_mime/audio/midi/test.mid => servo/tests/unit/net/parsable_mime/audio/midi/test.mid rename : servo/tests/content/parsable_mime/audio/mpeg/test.mp3 => servo/tests/unit/net/parsable_mime/audio/mpeg/test.mp3 rename : servo/tests/content/parsable_mime/audio/wave/test.wav => servo/tests/unit/net/parsable_mime/audio/wave/test.wav rename : servo/tests/content/parsable_mime/image/bmp/test.bmp => servo/tests/unit/net/parsable_mime/image/bmp/test.bmp rename : servo/tests/content/parsable_mime/image/gif/test87a => servo/tests/unit/net/parsable_mime/image/gif/test87a rename : servo/tests/content/parsable_mime/image/gif/test89a.gif => servo/tests/unit/net/parsable_mime/image/gif/test89a.gif rename : servo/tests/content/parsable_mime/image/jpeg/test.jpg => servo/tests/unit/net/parsable_mime/image/jpeg/test.jpg rename : servo/tests/content/parsable_mime/image/png/test.png => servo/tests/unit/net/parsable_mime/image/png/test.png rename : servo/tests/content/parsable_mime/image/webp/test.webp => servo/tests/unit/net/parsable_mime/image/webp/test.webp rename : servo/tests/content/parsable_mime/image/x-icon/test.ico => servo/tests/unit/net/parsable_mime/image/x-icon/test.ico rename : servo/tests/content/parsable_mime/image/x-icon/test_cursor.ico => servo/tests/unit/net/parsable_mime/image/x-icon/test_cursor.ico rename : servo/tests/content/parsable_mime/text/html/text_html_a_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_a_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_a_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_a_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_b_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_b_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_b_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_b_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_body_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_body_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_body_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_body_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_br_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_br_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_br_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_br_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_comment_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_comment_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_comment_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_comment_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_div_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_div_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_div_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_div_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_font_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_font_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_font_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_font_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_h1_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_h1_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_h1_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_h1_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_head_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_head_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_head_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_head_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_p_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_p_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_p_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_p_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_page_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_page_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_page_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_page_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_script_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_script_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_script_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_script_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_style_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_style_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_style_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_style_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_table_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_table_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_table_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_table_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_3e_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_title_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_20.html rename : servo/tests/content/parsable_mime/text/html/text_html_title_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_20_u.html rename : servo/tests/content/parsable_mime/text/html/text_html_title_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_3e.html rename : servo/tests/content/parsable_mime/text/html/text_html_title_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_3e_u.html rename : servo/tests/content/parsable_mime/text/plain/utf16bebom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf16bebom.txt rename : servo/tests/content/parsable_mime/text/plain/utf16lebom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf16lebom.txt rename : servo/tests/content/parsable_mime/text/plain/utf8bom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf8bom.txt rename : servo/tests/content/parsable_mime/text/xml/feed.atom => servo/tests/unit/net/parsable_mime/text/xml/feed.atom rename : servo/tests/content/parsable_mime/text/xml/feed.rss => servo/tests/unit/net/parsable_mime/text/xml/feed.rss rename : servo/tests/content/parsable_mime/text/xml/test.xml => servo/tests/unit/net/parsable_mime/text/xml/test.xml rename : servo/tests/content/parsable_mime/unknown/open_type => servo/tests/unit/net/parsable_mime/unknown/open_type rename : servo/tests/content/parsable_mime/unknown/true_type.ttf => servo/tests/unit/net/parsable_mime/unknown/true_type.ttf rename : servo/tests/content/parsable_mime/unknown/true_type_collection.ttc => servo/tests/unit/net/parsable_mime/unknown/true_type_collection.ttc rename : servo/tests/content/parsable_mime/video/avi/test.avi => servo/tests/unit/net/parsable_mime/video/avi/test.avi rename : servo/tests/content/parsable_mime/video/mp4/test.mp4 => servo/tests/unit/net/parsable_mime/video/mp4/test.mp4 rename : servo/tests/content/parsable_mime/video/webm/test.webm => servo/tests/unit/net/parsable_mime/video/webm/test.webm
2015-04-16 13:41:56 +03:00
will usually be a web platform test; for layout, a reftest. See our [testing
guide](https://github.com/servo/servo/wiki/Testing) for more information.
For specific git instructions, see [GitHub workflow 101](https://github.com/servo/servo/wiki/Github-workflow).
## Conduct
In all Servo-related forums, we follow the [Rust Code of Conduct](http://www.rust-lang.org/conduct.html). For escalation or moderation issues, please contact Jack (jmoffitt@mozilla.com) and Lars (larsberg@mozilla.com) instead of the Rust moderation team.
## Communication
Servo contributors frequent the `#servo` channel on [`irc.mozilla.org`](https://wiki.mozilla.org/IRC).
You can also join the [`dev-servo` mailing list](https://lists.mozilla.org/listinfo/dev-servo).