Thank you for your interest in contributing to the cBioPortal Codebook! This document provides a brief set of guidelines for contributing.
We are curious to learn more about you! We would love to help you get started! The contributors in our community all have different backgrounds. For instance some people have:
- Engineering experience but no to little knowledge of cancer genomics
- Knowledge about cancer genomics but no to little engineering experience
- No engineering nor cancer genomics experience but an eagerness to contribute
if you feel like you don't fall into any of these categories, please reach out so you can help us update the above list 🙂! Note that there are many contributions that can be made to an open source commmunity without coding a single line of code. You can reach us through our public slack channel.
Come and chat with us at https://slack.cbioportal.org 👋
The cBioPortal uses a "fork and pull" model for collaborative software development.
From the GitHub Help Page of Using Pull Requests:
"The fork & pull model lets anyone fork an existing repository and push changes to their personal fork without requiring access be granted to the source repository. The changes must then be pulled into the source repository by the project maintainer. This model reduces the amount of friction for new contributors and is popular with open source projects because it allows people to work independently without upfront coordination."
- Make sure you have a GitHub account.
- Create an issue in the issues tracker, assuming one does not already exist.
- Fork the cbioportal codebook on GitHub. For general instructions on forking a GitHub project, see Forking a Repo and Syncing a fork.
Once you have forked the repo, you need to create your code contributions within a new branch of your forked repo. For general background on creating and managing branches within GitHub, see: Git Branching and Merging.
- To begin, create a topic branch from where you want to base your work.
You usually create a branch like so:
git checkout master
git checkout -b [name_of_your_new_branch]
You then usually commit code changes, and push your branch back to GitHub like so:
git push origin [name_of_your_new_branch]
A few tips:
- Make commits in logical/cohesive units.
When you are ready to submit your pull-request:
- Push your branch to your GitHub project.
- Open the pull request to the branch you've based your work on
For more details on submitting a pull-request, please see: GitHub Guide to Collaborating with issues and pull requests.