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

[Merged by Bors] - Comprehensive CONTRIBUTING.md #2040

Closed

Conversation

alice-i-cecile
Copy link
Member

@alice-i-cecile alice-i-cecile commented Apr 29, 2021

RENDERED

Improves #910. As discussed in #1309, we'll need to synchronize content between this and the Bevy website in some way (and clean up the .github file perhaps?).

I think doing it as a root-directory file is nicer for discovery, but that's a conversation I'm interested in having.

This document is intended to be helpful to beginners to open source and Bevy, and captures what I've learned about our informal practices and values.

Reviewers: I'm particularly interested in:

  • opinions on the items What we're trying to build, where I discuss some of the project's high-level values and goals
  • more relevant details on the bevy subcrates for Getting oriented
  • useful tricks and best practices that I missed
  • better guidance on how to contribute to the Bevy book from @cart <3

@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation A-Meta About the project itself labels Apr 29, 2021
@alice-i-cecile
Copy link
Member Author

alice-i-cecile commented Apr 29, 2021

I still need to add the advice on Contributing Docs from the official book but I'm not really sure how to do so elegantly.

Perhaps it belongs in docs folders in bevy and bevy-website with links in this file?

EDIT: Figured it: these are specialized instructions for the bevy-website and belong in a CONTRIBUTING.md file there instead.

@alice-i-cecile
Copy link
Member Author

Once this is merged, I think it could work nicely as a dedicated blog post for discoverability and promotion to broader communities :)

@alice-i-cecile
Copy link
Member Author

alice-i-cecile commented Apr 29, 2021

as a noob to git and rust, it appears that on windows, line endings are changed when a git repo is cloned, when i tried to run cargo fmt on my first pr, git marked all files as changed and i couldn’t find why, i think it should be mentioned somewhere perhaps..

From @TheLeonsver1 <3

Does anyone have concrete guidance on this issue and how to fix it? We should mention it quickly but I'm not convinced I know enough to give good advice.

Copy link
Contributor

@MinerSebas MinerSebas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things that should probably also be mentioned.

  • When adding a new example, also add it to the ./examples/README.md File.
  • When creating a new crate, add in the Author field of the Cargo.toml a "Bevy Contributors <bevyengine@gmail.com>" entry and add the new crate to the ./tools./publish.sh File.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@alice-i-cecile alice-i-cecile force-pushed the better-contributing branch 3 times, most recently from 226ba34 to f267886 Compare April 30, 2021 00:47
CONTRIBUTING.md Outdated Show resolved Hide resolved
Copy link
Contributor

@colepoirier colepoirier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this was all I was able to get through tonight, more to come tomorrow :)

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
@giusdp
Copy link
Contributor

giusdp commented May 1, 2021

Thanks for pointing me to this PR @alice-i-cecile !
Being a newcomer I can give you my noob experience to this new doc, but it might be a lot of text.

The Getting Oriented section is a nice addition, the first time I started exploring Bevy was overwhelming especially opening the main repo and seeing all those crates! In the future the number of repos will probably increase as well and for the next newcomers it will be even worse, having this section that gives an overview on the organization is amazing. I also believe that an ARCHITECTURE.md doc (#910 (comment)) that explains more in depth the bevy repo is necessary (or at least I'd love it!).

The "How we work together" and "Contributing your ideas" sections:
To be honest I kinda got confused here. From existing docs I know that to contribute I have to fork, do my stuff, run some commands to check for warnings and make a PR. Here this is only explained in the last section, with the title implying it's only for the case of adding novelty features (at least it's how I understood it). The "How we work together" section talks about the contributing process lifecycle, and explains how it works contributing small changes and complex changes. I thought this was the most important section to start working, I probably would have just jumped ahead and read a subsection describing the area where I want to contribute and stop there, using as reference "How we work together". I think many people might not read "Contributing your ideas" because it seems something advanced.

Last thing, it's more for myself, I re-read docs a lot of times so a table of contents might be nice?

Overall it was great! Way better than the existing doc, and best of all it was reassuring! 😄

@mockersf
Copy link
Member

mockersf commented May 1, 2021

There is now a built in ToC in all markdown files rendered on GitHub!

Screenshot 2021-05-01 at 13 52 32

But as this file probably won't evolve that much, we could still have one more visible. No preference for me, just wanted to mention this new GitHub feature

@alice-i-cecile
Copy link
Member Author

Anyone want to help me fix broken links? >.> I'm a little sick of it right now and I'm not sure what it needs.

@NathanSWard
Copy link
Contributor

Anyone want to help me fix broken links? >.> I'm a little sick of it right now and I'm not sure what it needs.

I can help out tomorrow :)

@cart cart added this to the Bevy 0.6 milestone Jul 10, 2021
@cart cart added the S-Pre-Relicense This PR was made before Bevy added the Apache license. Cannot be merged or used for other work label Jul 23, 2021
@mockersf mockersf removed the S-Pre-Relicense This PR was made before Bevy added the Apache license. Cannot be merged or used for other work label Jul 24, 2021
@cart
Copy link
Member

cart commented Aug 14, 2021

Just expanded, updated (to account for recent renames and process changes), and tweaked a bunch of stuff. Feel free to discuss any / all of these changes. @alice-i-cecile lemme know if/when you're cool with merging this.

@alice-i-cecile
Copy link
Member Author

@cart those changes look great to me. I'm good to merge now, then we can migrate it over to the website later <3

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated

## How we work together

Making a game engine is a huge project and facilitating collaboration is a lot of work. At the moment @cart is our only paid contributor, so [go sponsor him!](https://github.com/sponsors/cart).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Making a game engine is a huge project and facilitating collaboration is a lot of work. At the moment @cart is our only paid contributor, so [go sponsor him!](https://github.com/sponsors/cart).
Making a game engine is a huge project and facilitating collaboration is a lot of work. At the moment @cart is our only paid contributor, so [go sponsor him!](https://github.com/sponsors/cart)

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
@cart
Copy link
Member

cart commented Aug 14, 2021

bors r+

bors bot pushed a commit that referenced this pull request Aug 14, 2021
[**RENDERED**](https://github.com/alice-i-cecile/bevy/blob/better-contributing/CONTRIBUTING.md)

Improves #910. As discussed in #1309, we'll need to synchronize content between this and the Bevy website in some way (and clean up the .github file perhaps?).

I think doing it as a root-directory file is nicer for discovery, but that's a conversation I'm interested in having.

This document is intended to be helpful to beginners to open source and Bevy, and captures what I've learned about our informal practices and values.

Reviewers: I'm particularly interested in:
- opinions on the items **What we're trying to build**, where I discuss some of the project's high-level values and goals
- more relevant details on the `bevy` subcrates for **Getting oriented**
- useful tricks and best practices that I missed
- better guidance on how to contribute to the Bevy book from @cart <3
@bors bors bot changed the title Comprehensive CONTRIBUTING.md [Merged by Bors] - Comprehensive CONTRIBUTING.md Aug 14, 2021
@bors bors bot closed this Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Meta About the project itself C-Docs An addition or correction to our documentation S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.