-
Notifications
You must be signed in to change notification settings - Fork 522
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
Consolidate, deduplicate, and link information for getting started #1653
Conversation
"Getting Started" is already *very* long; this shrinks it a bit, and puts similar info closer together.
This is advanced info that most contributors won't need to know; and for experienced contributors, it means the info is at the top of the page instead of needing to scroll.
There was a lot of information duplicated between the two, and it wasn't clear which one to look. This commit changes `contributing.md` to be strictly for contribution procedures, and moves "what should I work on" sections to "Getting Started". This also consolidates the links in `about-this-guide.md` rather than spreading them between about-this-guide, getting-started, and contributing. I suggest using https://rustc-dev-guide.org/git.html#moving-large-sections-of-code to review this commit.
386a204
to
5ce68b8
Compare
bump - does anyone have objections to merging this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just skimmed, but overall looks great to me, thank you!
Update subtree sync docs for changes in rustc-dev-guide Companion PR to rust-lang/rustc-dev-guide#1653. That still keeps a `contributing.html` with an "External Contributions" section, so hopefully it won't be too disruptive. changelog: none
…ulacrum Update contributing links for rustc-dev-guide changes Companion PR to rust-lang/rustc-dev-guide#1653. - Remove unused reference link in CONTRIBUTING.md - Change the contributing_url for triagebot to the getting started page
Update contributing links for rustc-dev-guide changes Companion PR to rust-lang/rustc-dev-guide#1653. - Remove unused reference link in CONTRIBUTING.md - Change the contributing_url for triagebot to the getting started page
Building Rust will also use external git repositories tracked using [git | ||
submodules]. The complete list may be found in the [`.gitmodules`] file. Some | ||
of these projects are required (like `stdarch` for the standard library) and | ||
some of them are optional (like [Miri]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still indicates that Miri is a submodule, and is allowed to fail -- which is not true any more.
|
||
Rust's build system builds a number of tools that make use of the internals of | ||
the compiler and that are hosted in a separate repository, and included in Rust | ||
via git submodules (such as [Miri]). If these tools break because of your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another stray reference to a Miri submodule
Fixes #1455.
I highly recommend reviewing this commit-by-commit, as well as using Tips for reviewing - Moving large sections of code.
Move some info out of "Getting Started" to "How to build and run"
"Getting Started" is already very long; this shrinks it a bit, and
puts similar info closer together.
Outline the external repositories section
This is advanced info that most contributors won't need to know; and for experienced contributors, it means the info is at the top of the page
instead of needing to scroll.
Rearrange the "getting started" and contributing.md sections
There was a lot of information duplicated between the two, and it wasn't clear which one to look at. This changes
contributing.md
to be strictly for contribution procedures, and moves "what should I work on" sections to "Getting Started".This also consolidates the links in
about-this-guide.md
rather thanspreading them between about-this-guide, getting-started, and
contributing.
Link to bug-fix-procedure.md from the contribution procedure section
Remove duplicate section on new features in CONTRIBUTING.md
Add a few more TOC sections