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

docs: add onboarding code contributor guide #1725

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SaxenaAnushka102
Copy link
Contributor

Description

PR related to First project: Onboarding Contributor Guides
Added the Onboarding Code Contributor Guide
Related issue(s)
#1622


Welcome to the AsyncAPI community! We’re excited to have you here. Think of AsyncAPI as a collaborative puzzle—your contributions are essential to completing it. This guide will help you get started smoothly.

---
Copy link
Contributor

Choose a reason for hiding this comment

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

I would rather remove these lines everywhere, as they are not consistent (there is no line before the last h2 heading) and also add visual noise

Suggested change
---


## Tools You’ll Need
- **Git and GitHub**: Your tools for collaboration. Get familiar with forking, branching, and pull requests.
- **Code Editor**: Your favourite IDEs like VS Code.
Copy link
Contributor

Choose a reason for hiding this comment

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

Technically speaking, VS Code is not an IDE, it's a code editor

Screenshot 2025-02-20 at 9 56 02 PM
Suggested change
- **Code Editor**: Your favourite IDEs like VS Code.
- **Code Editor**: Your tool to work with the source code of our repositories and version control. For example, VS Code, Sublime Text, JetBrains IDEs, or any other tool you prefer.

## Tools You’ll Need
- **Git and GitHub**: Your tools for collaboration. Get familiar with forking, branching, and pull requests.
- **Code Editor**: Your favourite IDEs like VS Code.
- **Node.js & NPM**: AsyncAPI relies on JavaScript, so ensure these are installed and configured.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- **Node.js & NPM**: AsyncAPI relies on JavaScript, so ensure these are installed and configured.
- **Node.js and npm**: AsyncAPI relies on JavaScript/TypeScript, so ensure these are installed and configured.


## Starting Small
- Look for `good first issue` or `help wanted` labels in the repository. These are beginner-friendly issues to get you started.
- Join our [Slack workspace](https://t.co/YbJQ4ghX7Q) for help and to connect with the community.
Copy link
Contributor

Choose a reason for hiding this comment

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

@thulieblack just a thought: I remember one of our Mentorship meetings, where you said that dedicated Slack channels act as your target audience, mentors, tutors, so you should use them to get as much feedback as possible and don't be afraid to ask questions, as someone said "The only stupid question is the one that is not asked".
I think it's worth adding this info to slack-etiquette because I bet that "what and how to ask in channels" is a common stumbling stone for newcomers.

Comment on lines +35 to +36
- Your **fork** is the `origin`.
- The official AsyncAPI repository is the `upstream`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be deleted

# git@github.com:asyncapi/generator.git

git remote add upstream <upstream git repo>
git remote set-url --push upstream no_push
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure that this step is required? If I'm not mistaken, regular contributors will receive the standard Permission denied error when trying to push to upstream directly.

Comment on lines +51 to +54
### Verify with:
```bash
git remote -v
```
Copy link
Contributor

Choose a reason for hiding this comment

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

You showed an example above, so I think it would be useful for newcomers to see example output of this command as well. Or even better, show output of git remote -v before adding upstream, and after.

Verify that upstream has been set:

git remote -v

Example output:

origin  https://github.com/<username>/generator.git (fetch)
origin  https://github.com/<username>/generator.git (push)
upstream        git@github.com:asyncapi/generator.git (fetch)
upstream        git@github.com:asyncapi/generator.git (push)

```

### Keeping Your Fork in Sync
Before starting new work, sync your fork with the upstream:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Before starting new work, sync your fork with the upstream:
Before starting new work, sync your `origin` with the `upstream`:

git checkout -b myfeature
```

## Submitting Your First Pull Request
Copy link
Contributor

Choose a reason for hiding this comment

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

This section tells nothing about how to actually submit a pull request from origin to upstream

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