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

[CCI] update contributing.md #3794

Closed

Conversation

Nicksqain
Copy link
Contributor

Description

CONTRIBUTING.md update:

  • Link to ONBOARDING
  • Help to create the first pull request
  • Basic git commands
  • Add info about changelog

The way I see it, this PR should help newbies who don't know how to work with git. It raises the entry threshold. This is the reference to #6948.

Issues Resolved

#6845

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Alexei Karikov <[email protected]>
Signed-off-by: Alexei Karikov <[email protected]>
@ashwin-pc ashwin-pc added the OSCI Open Source Contributor Initiative label Apr 10, 2023
@joshuarrrr joshuarrrr added the docs Improvements or additions to documentation label Apr 11, 2023
@joshuarrrr joshuarrrr self-assigned this Apr 14, 2023
Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

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

@Nicksqain Thanks so much, there's a lot of great stuff here! The challenge is to make sure we get the right material in the right places, where it will have the biggest impact.

This PR currently adds information about:

  1. Claiming good first issues
  2. Additional DCO guidance
  3. First pull request/git basics guide
  4. How to use the CHANGELOG

Each of these is valuable, but we'll probably want to handle them all separately. One important thing to note is that this CONTRIBUTING.md file is not unique to OpenSearch Dashboards. It's derived from https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md in the community repository for the OpenSearch project. Many of the suggestions here are applicable to any OpenSearch project, and not specific to OpenSearch Dashboards.

For the good first issue instructions, open a PR against https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md, and move them from the Bug Reports section to the Contributing Code section.

For the DCO changes, start with looking at whether there's anything missing from the DCO instructions in that file and open a PR against https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md as needed.

The https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md file is also where you should open a separate PR for the CHANGELOG guidance. Note that there's currently an ongoing effort to improve our changelog processes, so you may be interested in reading opensearch-project/.github#148 to see how it may affect contributors.

Once we've merged changes to https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md, we can make a PR to also merge them into this file, too.

Finally, the first pull request instructions would probably be best as a new section at the bottom of https://github.com/opensearch-project/.github/blob/main/ONBOARDING.md.

I did make some inline suggestions, but I'm going to set this as a draft for now. We can come back to it after the other PRs to the .github repository are complete.

Comment on lines +49 to +58
_Note_: Since you are a beginner, we advise you to start with simple issues.

For this there is a special label "<font color="SlateBlue">**Good first issue**</font>"

Warning! If you have selected an issue and want to get started, check if the issue is free. If for it has already been assigned <br> and there is no pull request for a long time, ask that user using @ (e.g @nickname) if he/she is willing to concede to you.

If the issue has recently been created and there are no appointees, then feel free to write in a comment that you are ready to take on the issue.

Feel free to create an issue if you have not been able to work out the installation, or a bug within the project. Also feel free to ask on the issue page if you are solving a problem but can't figure out the structure of the project.

Copy link
Member

Choose a reason for hiding this comment

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

This whole topic should be moved to the "Contributing Code" section. The idea is that opening and participating in issues is one type of contribution, separate from providing code.

@@ -41,6 +46,16 @@ As with other types of contributions, the first step is to [**open an issue on G

Once you've opened an issue, check out our [Developer Guide](./DEVELOPER_GUIDE.md) for instructions on how to get started.

_Note_: Since you are a beginner, we advise you to start with simple issues.
Copy link
Member

Choose a reason for hiding this comment

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

Not all readers of this document are beginners. We should rephrase to be something like, "The easiest way to get started is with simple issues".

@@ -41,6 +46,16 @@ As with other types of contributions, the first step is to [**open an issue on G

Once you've opened an issue, check out our [Developer Guide](./DEVELOPER_GUIDE.md) for instructions on how to get started.

_Note_: Since you are a beginner, we advise you to start with simple issues.

For this there is a special label "<font color="SlateBlue">**Good first issue**</font>"
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 GitHub will render a label link as the link itself.

Suggested change
For this there is a special label "<font color="SlateBlue">**Good first issue**</font>"
For this there is a special label https://github.com/opensearch-project/OpenSearch-Dashboards/labels/good%20first%20issue


For this there is a special label "<font color="SlateBlue">**Good first issue**</font>"

Warning! If you have selected an issue and want to get started, check if the issue is free. If for it has already been assigned <br> and there is no pull request for a long time, ask that user using @ (e.g @nickname) if he/she is willing to concede to you.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Warning! If you have selected an issue and want to get started, check if the issue is free. If for it has already been assigned <br> and there is no pull request for a long time, ask that user using @ (e.g @nickname) if he/she is willing to concede to you.
Warning! Before getting started, check if the issue is free. If it has already been assigned for a long time and there isn't a pull request yet, ask the assigned user using @ (e.g @nickname) if you can work on it instead.


Warning! If you have selected an issue and want to get started, check if the issue is free. If for it has already been assigned <br> and there is no pull request for a long time, ask that user using @ (e.g @nickname) if he/she is willing to concede to you.

If the issue has recently been created and there are no appointees, then feel free to write in a comment that you are ready to take on the issue.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
If the issue has recently been created and there are no appointees, then feel free to write in a comment that you are ready to take on the issue.
If the issue has no assignees, then feel free to write in a comment that you are ready to take on the issue.

You may type this line on your own when writing your commit messages. However, if your user.name and user.email are set in your git configs, you can use `-s` or `--signoff` to add the `Signed-off-by` line to the end of the commit message.

Fill in your personal details as well as an email that is public on github:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Fill in your personal details as well as an email that is public on github:
Configure `git` with your name and an email that is public on github:

git config user.email "[email protected]"
```

## First pull request
Copy link
Member

Choose a reason for hiding this comment

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

This section should be a separate document. Because it's generic, I'd suggest proposing a new document in https://github.com/opensearch-project/.github

@joshuarrrr joshuarrrr marked this pull request as draft April 21, 2023 19:44
@abbyhu2000 abbyhu2000 added the needs more info Requires more information from poster label May 16, 2023
@dblock
Copy link
Member

dblock commented Jul 22, 2024

Closing as unfinished, please feel free to finish and reopen. Thanks!

[Catch All Triage w/ 1, 2, 3]

@dblock dblock closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation first-time-contributor needs more info Requires more information from poster OSCI Open Source Contributor Initiative
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants