mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-27 16:06:03 +00:00
61 lines
2.3 KiB
Markdown
61 lines
2.3 KiB
Markdown
## How to submit a bug report
|
|
|
|
If you're just reporting a bug, please see:
|
|
|
|
http://doc.rust-lang.org/complement-bugreport.html
|
|
|
|
## Submitting an issue
|
|
|
|
Please submit issues here for bug reports or implementation details. For feature
|
|
requests, language changes, or major changes to the libraries, please submit an
|
|
issue against the [RFCs repository](https://github.com/rust-lang/rfcs).
|
|
|
|
## Pull request procedure
|
|
|
|
Pull requests should be targeted at Rust's `master` branch.
|
|
Before pushing to your Github repo and issuing the pull request,
|
|
please do two things:
|
|
|
|
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your
|
|
local changes against the `master` branch. Resolve any conflicts
|
|
that arise.
|
|
|
|
2. Run the full Rust test suite with the `make check` command. You're
|
|
not off the hook even if you just stick to documentation; code
|
|
examples in the docs are tested as well! Although for simple
|
|
wording or grammar fixes, this is probably unnecessary.
|
|
|
|
Pull requests will be treated as "review requests", and we will give
|
|
feedback we expect to see corrected on
|
|
[style](http://aturon.github.io/) and
|
|
substance before pulling. Changes contributed via pull request should
|
|
focus on a single issue at a time, like any other. We will not accept
|
|
pull-requests that try to "sneak" unrelated changes in.
|
|
|
|
Normally, all pull requests must include regression tests (see
|
|
[Note-testsuite](https://github.com/rust-lang/rust/wiki/Note-testsuite))
|
|
that test your change. Occasionally, a change will be very difficult
|
|
to test for. In those cases, please include a note in your commit
|
|
message explaining why.
|
|
|
|
In the licensing header at the beginning of any files you change,
|
|
please make sure the listed date range includes the current year. For
|
|
example, if it's 2014, and you change a Rust file that was created in
|
|
2010, it should begin:
|
|
|
|
```
|
|
// Copyright 2010-2014 The Rust Project Developers.
|
|
```
|
|
|
|
# Coordination and communication
|
|
|
|
Get feedback from other developers on
|
|
[internals.rust-lang.org][internals], and
|
|
[#rust-internals][pound-rust-internals].
|
|
|
|
[pound-rust-internals]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
|
|
[internals]: http://internals.rust-lang.org
|
|
|
|
For more details, please refer to
|
|
[Note-development-policy](https://github.com/rust-lang/rust/wiki/Note-development-policy).
|