-
Notifications
You must be signed in to change notification settings - Fork 69
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
docs: add instructions and details to contributors guide #105
Conversation
13f2c0c
to
3dbb6a3
Compare
By way of example, I have submitted a pull request for backporting on the I've also, inadvertently, provided examples of force pushing minor changes to my fork. lol Currently our CI is configured to build all branches, but ultimately I think it should only be building |
3dbb6a3
to
cd3d1e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest we simplify this contributing file and link to other standard contributing guides.
Other very popular and successful CE SDKs do not have a contributing guide as far as I see. I would imagine most people don't want to read a custom guide.
Perhaps raise this issue in the weekly CE SDK call and get consensus.
cd3d1e8
to
d79a1d0
Compare
So I raised this in the #cloudeventssdk Slack channel and got zero engagement. The fact that the Go SDK (or any of the others) don't have contributor's guides doesn't mean in my mind that it's OK not to. It's pretty standard practice, and if I were contributing to those repos, I would make the same suggestion. Do you have some suggested contribution guides that you think we should link to? Are there specific concerns you have with my proposed workflow suggestions, other than "people don't want to read that"? Is it just the I loosely based the workflow portion of this on the Node.js contributor's guide, which is actually much more detailed and longer than what I have written. Of course I realize that it's a much bigger project as well, so our processes don't need to be as strict. But don't you think it would be nice to have a standard set of recommendations for contributors to follow? It's not like I'm saying nothing will land unless you follow these steps. It just makes it easy to point to an existing doc when people have questions about how to go about it. And it makes the commit log appear clean and consistent. I want to keep the barriers to contribution low. I want first time contributors to feel confident in their work, so that it's less scary to submit a PR to a new org. I think providing more - not less - information, tips, guidance is a way to achieve that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this initiative, as soon as is merged i think all our SDKs should adopt this. sdk-rust has a small guide that just explains the basis of configuring rust and the commands to build/test/fmt and how to signoff commits, but i'm definitely looking for something more complete as this guide.
You're missing the part about commits signoff, you can copy it shamelessly from https://github.com/cloudevents/sdk-rust/blob/master/CONTRIBUTING.md#suggesting-a-change
Signed-off-by: Lance Ball <lball@redhat.com>
d79a1d0
to
3c870b5
Compare
@slinkydeveloper suggestions applied. Thanks for taking a look. @grant I removed the branch management stuff - well, pared it way down - and moved it to the "Contributors" section. Also, not sure if you saw my comment earlier:
|
@lance Thanks for the improvements. I'm hoping for a simple guide of vital need-to-know information. Here are some simple guides that we use at Google:
I think a common standard among all SDKs would be ideal as we care about SDK all major languages. A paragraph about a language-specific contribution sounds fine though. |
@grant OK, I can make those changes - but would like to pull the git instructions out and include a linked step by step guide for those just getting started. I know that when I began contributing to other OSS projects in the past, I personally found these kinds of guides helpful. Sound like a reasonable compromise? |
@lance Sounds fine.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @lance! It's amazing.
Great job @lance, can you port the same guide in other sdks? |
@slinkydeveloper sure can - will put it on the todo list. |
Signed-off-by: Lance Ball <lball@redhat.com>
OK - the PR guidelines were pulled into a separate document, the maintainer tips were pulled out into a second document, and the main contributing doc was greatly simplified. Can I get an approval on this @grant? |
Thanks for the improvements Lance. I'll remove my review request to unblock you though. |
@grant does that mean you are not explicitly blocking this from landing, just registering dissent? I'm not clear. |
I just don't approve or request changes. Usually it's not good to merge a PR with requested changes. I just dismissed my review. As stated I don't really agree with adding any more info about So, while I can appreciate |
Now sdk-go has adopted these documents - I'm going to land this. |
Fixes: #85
Fixes: #72
Signed-off-by: Lance Ball lball@redhat.com