Skip to content

Some updates for the contributing file. #1705

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 4 commits into from
Apr 24, 2018
Merged

Conversation

fables-tales
Copy link
Member

No description provided.

Copy link
Member

@JonRowe JonRowe left a comment

Choose a reason for hiding this comment

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

Great! Remind me is rspec-rails seperate on our file management here? The others are all managed from rspec-dev...


## `Small` issues

Small issues are the ones that we be believe are best suited for new
Copy link
Member

Choose a reason for hiding this comment

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

Personally I feel these lines would read better as These issues ... as its a bit repetitious at the moment.


Small issues are the ones that we be believe are best suited for new
contributors to get started on. They represent a meaningful contribution to the
project that can be made that should not be too hard to pull off.
Copy link
Member

Choose a reason for hiding this comment

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

This reads a bit funny to me, how about They represent a potential meaningful contribution to the project that should not be too hard to pull off.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

## `Triage` issues

Triage issues are ones that have been labelled by the maintainers that we
believe do not currently have enough information for them to be reproduced by
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: currently have enough information to be reproduced by


Issues that have reproduction cases have a repository that we can clone that
enable us to quickly determine the issue is valid and then start debugging
within RSpec. These issues are good ones to tackle to help us actively fix bugs.
Copy link
Member

Choose a reason for hiding this comment

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

Do we do this on other repos?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've been doing this on RR for a while, not sure about the other repos.

Copy link
Member

Choose a reason for hiding this comment

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

The interactions between rspec and rails in rspec-rails and subtle enough that having a clonable repo is pretty important here. For the other repos, it's much less so; often times the description from the user is sufficient, or a snippet from them. Sometimes we can't reproduce and do ask for a repo.

@myronmarston
Copy link
Member

We might consider creating an Issue template. For example, here's Elixir's:

https://github.com/elixir-lang/elixir/blob/master/ISSUE_TEMPLATE.md

You can see how this looks when you create a new issue:

https://github.com/elixir-lang/elixir/issues/new

Thoughts?

@fables-tales
Copy link
Member Author

@myronmarston would you propose that instead of these changes, or as an additional step?

@myronmarston
Copy link
Member

In addition to. The changes here are fine, but I think it would make for fewer issues where we have to ask the user for more details if we give them a template to fill out that provides the details we need.

@fables-tales
Copy link
Member Author

@JonRowe @myronmarston I've made some edits to contributing.md and added an issue template. Can I get another review pass?

Copy link
Member

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

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

Left a few comments, but I don't consider them merge blockers.

These issues are the ones that we be believe are best suited for new
contributors to get started on. They represent a potential meaningful
contribution to the project that should not be too hard to pull off.
## `Triage` issues
Copy link
Member

Choose a reason for hiding this comment

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

There should be a line break between the paragraph and the next section header.

These issues are ones that have been labelled by the maintainers that we
believe do not currently have enough information to be reproduced the RSpec
team. You can help us move triage issues into `ready to go` or `has reproduction
case` (for feature requests or bugs) as a seriously meaningful contribution.
Copy link
Member

Choose a reason for hiding this comment

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

The way this sentence is worded, it sounds like people can help us by changing the issue label. I think it would be better to state what is needed to get a triaged issue into one of these states.


Issues that have reproduction cases have a repository that we can clone that
enable us to quickly determine the issue is valid and then start debugging
within RSpec. These issues are good ones to tackle to help us actively fix bugs.
Copy link
Member

Choose a reason for hiding this comment

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

The interactions between rspec and rails in rspec-rails and subtle enough that having a clonable repo is pretty important here. For the other repos, it's much less so; often times the description from the user is sufficient, or a snippet from them. Sometimes we can't reproduce and do ask for a repo.

follow. If you can't do all of these, don't worry, but if you can it'll help us
resolve your bug faster!

-->
Copy link
Member

Choose a reason for hiding this comment

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

Is the idea of the HTML comments that it won't render on the github UI if they are left in place?

Copy link
Member

Choose a reason for hiding this comment

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

Yes


-->

## Description of issue
Copy link
Member

Choose a reason for hiding this comment

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

I think instead of the description of the issue, we should ask for observed behavior and expected behavior. Often times we get issues where users describe the problem, but the behavior is what we would expect. Then we have to go back and forth with the user to get them to explain what about the behavior was unexpected. Asking for them to explain observed vs expected behavior up front will hep, I think.

Copy link

@ashleygwilliams ashleygwilliams left a comment

Choose a reason for hiding this comment

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

overall this looks good! a few things on naming and rewording questions to optimize for end user success

@@ -23,3 +23,29 @@ If you'd like to help make RSpec better, here are some ways you can contribute:
If you need help getting started, check out the [DEVELOPMENT](DEVELOPMENT.md) file for steps that will get you up and running.

Thanks for helping us make RSpec better!

## `Small` issues

Choose a reason for hiding this comment

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

i would use literally anything other than small. 2 reasons:

  • downplays the effort of new contributors
  • doesn't properly signal that these issues should be reserved for new contributors

recommendations: your-first-PR, starter-issue

i would also recommend a PRs welcome tag that flags that PRs are welcome, and then put another tag alongside it that flags that it would be good for a new contributor

another consideration: when you talk about "first" issues, do you mean first contribution to the rspec collection of software, OR first contribution ever? this will inform the name of the tag you use as well as the amount of scaffolding that you'll need to provide in the issue.


These issues are the ones that we be believe are best suited for new
contributors to get started on. They represent a potential meaningful
contribution to the project that should not be too hard to pull off.

Choose a reason for hiding this comment

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

i would considered adding/reframing this text based on how you answer the above issues/questions

contributors to get started on. They represent a potential meaningful
contribution to the project that should not be too hard to pull off.

## `Triage` issues

Choose a reason for hiding this comment

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

maybe this should be "need reproduction"- triage is a label i've seen on many repos as triaged which flags that it has already been triaged, and as a result may have the opposite effect.

believe do not currently have enough information to be reproduced the RSpec
team. While not directly counted by the GitHub contribution graph, we consider
helping us triage issues to the point where they can be reproduced as an
extremely meaningful contribution.

Choose a reason for hiding this comment

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

you might add classic "how to triage" advice, e.g. what versions of X, Y, Z.

Choose a reason for hiding this comment

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

ah, based on the subsequent section it sounds like you want a repo with a repro case in it for this. you should say that!

enable us to quickly determine the issue is valid and then start debugging
within RSpec. These issues are good ones to tackle to help us actively fix bugs.

## Maintenance branches

Choose a reason for hiding this comment

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

this seems very different than the previous sections, you might consider putting this is a different section. it is a not a issue label so perhaps "dev env" or something like this is a better move. either way i'd get it out of this section.


-->

## Observed behaviour

Choose a reason for hiding this comment

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

before this question, you should ask "what were you trying to do"-

differs from the current behaviour.
-->

## Can you provide an example app?

Choose a reason for hiding this comment

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

you want a link, so you should say link...

Copy link
Member

Choose a reason for hiding this comment

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

Isn't mention on line 45?

5. Provide a link to a github repo, a description of the app and what you're expecting here
-->

## What Ruby, Rails and RSpec versions are you using?

Choose a reason for hiding this comment

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

honestly i'd put this as the very first question and i'd consider making it 3 separate questions. people don't read and will only answer this partially which will be a bummer


-->

## Did this problem exist before you upgraded to Rails 5?

Choose a reason for hiding this comment

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

you could put checkboxes or radio boxes for yes/no here

Choose a reason for hiding this comment

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

if you want a freeform answer you might widen this to "did you notice this bug after a specific update or event? please explain. e.g. updated to rails 5"

benoittgt added a commit to benoittgt/rspec-rails that referenced this pull request Dec 9, 2017
benoittgt added a commit to benoittgt/rspec-rails that referenced this pull request Dec 9, 2017
@JonRowe JonRowe merged commit 8ed95b3 into master Apr 24, 2018
sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
@pirj pirj deleted the contributing-updates branch March 12, 2020 09:44
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.

5 participants