-
Notifications
You must be signed in to change notification settings - Fork 70
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
Document code reviews best practices in MAINTAINERS #32
Comments
Hi @dblock I want to work on this issue, or support on this issue if you are working on it. Please assign me this issue. Also let me know what to do. |
Thanks @AmanKumar6603, I am not working on this. |
Hi @dblock , can you tell me what to do, as per my understanding, I have to add a document for code review to the Maintainer. Is that right? |
I think so. I don't have a better answer to what to do, sorry. I'd like the additions to MAINTAINERS.md to have answers to the above questions and that maintainers in the 100+ repos in this org can agree to. |
Whom I should approach for clear understanding over it. @dblock |
@AmanKumar6603 Are you asking for an SME on these items? If you're not a subject matter expert on them yourself, consider picking up another work-item. |
@dblock No I am saying that where I have to add these changes, in maintainer? As per my understanding I have to write down all answers to the above mentioned question in (https://github.com/opensearch-project/.github/blob/main/MAINTAINERS.md) |
I'll take this one please, happy to write it up into a PR. I would also suggest on the security side to use GitHub CodeQL and other free capabilities to do code scanning. Within the CNCF we also use other tools to analyze security and viability: https://clomonitor.io and https://securityscorecards.dev/ I implemented both on Jaeger if interested. |
Was going to work on this, and I don't believe the answers to these questions belong in I can incorporate parts of these ideas into the new files for OpenSearch, however I am not as tuned into how some of this works for the project. If you are okay with me taking a crack at both I can, otherwise let me know. I would also add answers to other questions aside from the list above which is a good start. Thanks @dblock ! |
At first, I thought that the only thing I don't love about CONTRIBUTING_GUIDELINES is that it's a very long name ;) In general we adopted DEVELOPER_GUIDE in the repos in OpenSearch which I think are similar to your CONTRIBUTING.md (example), so probably what you want in guidelines actually does belong in our style contributing (general purpose contributing)? I am also open to other ideas like a REVIEWING.md and whatever else you want to PR. Maybe start with the non-controversial parts and we can figure out the rest in subsequent PRs. |
So these questions in your initial issue:
|
I am pretty sure I was typing these from a brainstorm with someone, so I don't have all the answers :)
Personally I would say maintainers do their best without any SLAs, and that is what should be stated.
Many repos require 2 approvers, most repos require squash only.
I would write something along the lines that say that the PR should make things better, not worse, and should not create tech debt for others (I know @andrross has opinions here).
I think this should be specific about PRs, not just "act with empathy". One idea is to say that maintainers should be clear about what is a must have vs. should have vs. nice to have in the PR to help the contributor get the PR over the merge line.
Do not, but we should ask around ;) |
Pushed the first fix on this now via #228 Should we discuss these open items on the TSC meeting? |
Commented that we already have a lot of this in https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md. I'd prefer we discussed things like these on GitHub, but of course the TSC is also a good place. |
Add to MAINTAINERS
The text was updated successfully, but these errors were encountered: