-
Notifications
You must be signed in to change notification settings - Fork 515
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
Make contributing.md into a series of tutorials #775
Comments
Thanks for getting this moving with rust-lang/compiler-team#320! I would like to see the first two chapters reorganized so that they follow the typical order of a contribution to
The basic idea is that you could follow along section-by-section, picking the "typical in-tree contribution" that you are interested in. Things that don't fit into this framework like "Errors and Lints" would be moved to a later chapter. I'd also like to have an "Out-of-tree contributions" chapter, although I'm not sure if the |
@rust-lang/wg-rustc-dev-guide was actually planning to focus on guide organize this sprint. @spastorino also had thoughts about this. One major question is how much stuff should go in the guide vs the forge. I do like the idea of organizing the chapters in order of what someone might need. |
My impression of the guide/forge split is that the forge is specifically targeted at org members while the guide is targeted at everyone who wants to contribute. I envisioned that sections like "licensing" and "bors" would contain only the minimum amount of information needed by new contributors. |
@ecstatic-morse This was my original intention for the rustc-dev-guide too. However, @nikomatsakis and @spastorino were looking to move to a model where the guide only contains information about how the compiler works, and other more procedure-related documentation would go to the forge. The thought was that the guide is getting rather long, and moving stuff to the forge would help make it less overwhelming. Personally, I still like the idea of the guide being a 1-stop shop for contributors.... |
It's true, I've been advocating for documentation of procedures and things to move to forge, with rustc-dev-guide more focused on "how the code works", but I think that having some minimal coverage of bors and so forth would be ok, perhaps with the details over at forge. Still, I don't quite agree with @ecstatic-morse's version that forge is mostly of interest to "org members". I imagine that forge would be a good place to go and learn about MCPs, for example, and that seems a bit out of scope to me for rustc-dev-guide. But I do think it's reasonable that you could find everything you need to make a "small contribution" in the rustc-dev-guide. |
Exactly what @nikomatsakis have said. The model I like is something like what was suggested ... "the guide only contains information about how the compiler works, and other more procedure-related documentation would go to the forge" but including also what Niko have said ... with some minimal coverage of other stuff that lives in forge that we could link for further details. |
[FWIW some feedback from someone who is (again :) ) attempting to learn Rust, encountered a small typo in standard lib docs & wanted to contribute a fix (https://github.com/rust-lang/rust/pull/77050).] It seems the recent decision/changes to use the A potential contributor's journeye.g. currently, as a first time contributor, as of 1.46.0 I:
or, I:
This is in contrast to the (apparently previous) experience changed by rust-lang/rust@3f6928f#diff-6a3371457528722a734f3c51d9238c13L1 which would instead lead to a Descriptions of
|
Link to "Contributing to Rust" rather than "Getting Started". Change to link to "Contributing to Rust" chapter of `rustc` Dev Guide, primarily on the basis that: * The GitHub "first contribution" Issue "pop-up" says "Be sure to review the [contributing guidelines] and [code of conduct]" and links to this file. * The "Bug Report" section _seems_ to restrict itself to if "a compiler error message [told] you to come here". * The previous content of `CONTRIBUTING.md` now lives in the "Contributing to Rust" chapter. When/if the guide/"Getting Started" section gets revised to not be `rustc`-specific, the choice of linked chapter could be updated. In the meantime this prevents leading first time contributors into a confusing cul de sac. _[I wasn't planning to make a PR for this until discussion in rust-lang#77215 concluded but the discovery that the "first issue" pop-up also links to this document IMO makes it a higher priority to make the link useful sooner rather than later.]_ Related issues: * rust-lang#77215 * rust-lang/rustc-dev-guide#775 (comment)
Link to "Contributing to Rust" rather than "Getting Started". Change to link to "Contributing to Rust" chapter of `rustc` Dev Guide, primarily on the basis that: * The GitHub "first contribution" Issue "pop-up" says "Be sure to review the [contributing guidelines] and [code of conduct]" and links to this file. * The "Bug Report" section _seems_ to restrict itself to if "a compiler error message [told] you to come here". * The previous content of `CONTRIBUTING.md` now lives in the "Contributing to Rust" chapter. When/if the guide/"Getting Started" section gets revised to not be `rustc`-specific, the choice of linked chapter could be updated. In the meantime this prevents leading first time contributors into a confusing cul de sac. _[I wasn't planning to make a PR for this until discussion in rust-lang#77215 concluded but the discovery that the "first issue" pop-up also links to this document IMO makes it a higher priority to make the link useful sooner rather than later.]_ Related issues: * rust-lang#77215 * rust-lang/rustc-dev-guide#775 (comment)
as per rust-lang/compiler-team#296
cc @ecstatic-morse
We probably also want to figure out how to integrate relevant existing walkthrough sections (e.g. https://rustc-dev-guide.rust-lang.org/walkthrough.html) and planned ones.
The text was updated successfully, but these errors were encountered: