Welcome to the Resonate project! We appreciate your interest in helping us build reliable and scalable distributed systems. To get started, follow these simple steps:
We follow the fork and branch workflow. There will be three Git repositories involved:
- upstream - the resonate-sdk-ts repository on GitHub.
- origin - your GitHub fork of
upstream
. - local - your local clone of
origin
.
These steps are only needed once and not for subsequent changes you might want to make:
-
Fork the
resonate-sdk-ts
repository on GitHub to createorigin
. Visit resonate-sdk-ts GitHub repository and click theFork
button. -
Make a
local
clone of your fork.git clone [email protected]:<your-user-name>/resonate-sdk-ts.git
-
Add a remote pointing from
local
toupstream
.cd resonate git remote add upstream [email protected]:resonatehq/resonate-sdk-ts.git
-
Double check the two remotes are referencing the expected url.
git remote get-url origin # [email protected]:<your-user-name>/resonate-sdk-ts.git git remote get-url upstream # [email protected]:resonatehq/resonate-sdk-ts.git
Here is a outline of the steps needed to make changes to the resonate project.
-
Make a local branch in your clone and pull any recent changes into it.
git switch -c awesome_branch git pull upstream main
-
Make changes and commit to local branch.
git add . git commit -m "dead simple"
-
Pull any changes that may have been made in the upstream repository main branch.
git pull --rebase upstream main # may result in merge conflicts
-
Push your branch to the corresponding branch in your fork.
git push origin awesome_branch
-
Select the branch you are working on in the drop-down menu of branches in your fork. Then hit the
Compare and pull request
button. -
Once your pull request has been reviewed and approved by a maintainer, select the
Squash and merge
option. Edit the commit message as appropriate for the squashed commit. -
Delete the branch from
origin
:git push origin --delete awesome_branch
-
Delete the branch from
local
:git switch main git branch -D awesome_branch
Here are some areas where your contributions would be valuable:
- Bug fixes for existing packages.
- Refactoring efforts to improve code quality.
- Enhancements to our testing and reliability efforts.
Thank you for your contributions and support in building a better Resonate! 🚀