Skip to content
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

Merged
merged 6 commits into from
Apr 3, 2023

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Mar 26, 2023

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 than
    spreading 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

jyn514 added 6 commits March 25, 2023 20:11
"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.
@jyn514 jyn514 force-pushed the smaller-getting-started branch from 386a204 to 5ce68b8 Compare March 26, 2023 01:33
@JohnTitor JohnTitor added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Mar 26, 2023
@jyn514
Copy link
Member Author

jyn514 commented Apr 3, 2023

bump - does anyone have objections to merging this?

Copy link
Member

@JohnTitor JohnTitor left a 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!

@jyn514 jyn514 merged commit fca8af6 into rust-lang:master Apr 3, 2023
@jyn514 jyn514 deleted the smaller-getting-started branch April 3, 2023 11:42
bors added a commit to rust-lang/rust-clippy that referenced this pull request Apr 3, 2023
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
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Apr 3, 2023
…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
oli-obk pushed a commit to oli-obk/miri that referenced this pull request Apr 4, 2023
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]).
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the submodule explanation to somewhere?
4 participants