Skip to content

Contributing doc #127

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
merged 6 commits into from
Jul 28, 2015
Merged

Contributing doc #127

merged 6 commits into from
Jul 28, 2015

Conversation

myronmarston
Copy link
Member

Start of rspec/rspec-mocks#986. I'm kinda basing this off of bundler's files. More to come.

@JonRowe
Copy link
Member

JonRowe commented Jul 13, 2015

Looks good to me so far!

@myronmarston myronmarston force-pushed the add-contributing-docs branch from ebf1ae0 to 85df1e1 Compare July 14, 2015 16:06
@myronmarston myronmarston force-pushed the add-contributing-docs branch from 85df1e1 to c9091c1 Compare July 25, 2015 06:15
@myronmarston myronmarston changed the title WIP: contributing doc Contributing doc Jul 25, 2015
@myronmarston
Copy link
Member Author

OK, I think this is ready for review. @lizrush, as the one who originally requested this (in rspec/rspec-mocks#986), can you take a look and let us know if this is the kind of thing you were looking for? Are there any general gotchas you ran into not covered here?

You can see how these files look when rendered:

# Contributing

RSpec is a community-driven project that has benefited from improvements from over over *500* contributors.
We welcome contributions from *everyone*. While contributing, please follow the project [code of conduct](../code_of_conduct.md), so that everyone can be included.
Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, this code of conduct link doesn't appear to be working (at least not from https://github.com/rspec/rspec-core/blob/update-common-markdown-files-2015-07-24-for-master/CONTRIBUTING.md).

Any one got an idea for how to fix this? There's also the DEVELOPMENT file link below with the same problem.

@xaviershay
Copy link
Member

Reading @lizrush's original request, we haven't covered everything on her list yet. (e.g. squash commits?) There's also a lot of material here, which could be intimidating. What do you think about a "Pull Request Checklist" somewhere near the top. (Maybe linking to relevant sections for more detail?)

Something like:

  • Documentation reflects changes and renders correctly.
  • Tests are passing.
  • No new Ruby warnings.
  • Rubocop passes.
  • Commits are squashed.
  • No changelog entry.

This might also help with a feeling I have that the DEVELOPMENT file is too much information to fit in my head. It's a bit of a wall of text. Needs some kind of ToC or introduction. Checklist probably covers that.

to measure and enforce test coverage. If the coverage falls below a
project-specific threshold, the build will fail.

## Cukes
Copy link
Member

Choose a reason for hiding this comment

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

Need to describe what is appropriate for cukes. Maybe:

  • Cukes are our documentation. Only user facing examples that help demonstrate usage. Anything else should be in specs.
  • Duplication between YARD and cukes is ok.

@myronmarston
Copy link
Member Author

Thanks, @xaviershay. I covered some of your feedback but there's more to do (which I'll have to do another time -- time to put the kids to bed!).

@myronmarston
Copy link
Member Author

OK, @xaviershay, I think I addressed all your feedback. Let me know what you think of the new organization. You can see rendered examples on the rspec-core PR.

@xaviershay
Copy link
Member

Fantastic, thanks. Ship it!

@myronmarston
Copy link
Member Author

Thanks, @xaviershay. Merged in all repos

myronmarston added a commit that referenced this pull request Jul 28, 2015
@myronmarston myronmarston merged commit 74c03e2 into master Jul 28, 2015
@myronmarston myronmarston deleted the add-contributing-docs branch July 28, 2015 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants