Learn how to setup your development environment to contribute to Atmosphere Pro
Steps in this module
Now that you have your fork all setup and you’ve appropriately setup your repository to be following the Contributing Standards, it’s time to get to the fun part- coding!
- Fetch the latest changes from the upstream repository.
git fetch upstream
- Reset your fork’s trunk to be exactly as the upstream trunk branch. IMPORTANT: Do this only at the beginning when you begin working on your contribution. It will overwrite and delete and local changes you’ve made and make it exactly as the code we have it in the upstream trunk branch.
git checkout trunk git reset --hard upstream/trunk git push --force
- Make your changes to the code.
Make edits to your code then stage your changes, commit, then push to your origin trunk.
Be sure to follow the semantic commits guide to be a truly clean programmer.
# make changes git add . git commit -m "feat: here are my changes!" # commit message should describe the changes you've made git push origin trunk
- Once you are ready to make a pull request, head over to your personal fork on GitHub and click “Pull Requests.”
- Then click “New Pull Request.”
- Make sure it is going from your own personal trunk to the upstream trunk.
Fill out the PR form. We have an add-on that scans for semantic PRs. Follow the Semantic Guidelines that we use. Your PR title should be something like
feat: new encrypted file transfer feature.
Create the pull request
Congratulations! You are awesome. You’ve made a contribution to one of our Flutter apps that aims to “Flip the Internet” by providing developers a platform to implement end-to-end encryption in their devices and apps.
Head over to our Discord and give a gentle ping to the managers of the repository to let them know you’ve made a contribution.