The first step to contributing to AIST is that you need to ensure that you have registered as a contibutor on the AIST website. Look for how to do this on the Welcome page. We use Git Flow process for contributing, below you will find a basic guide to get started with. If you want to read about Git Flow in more detail see the entire guide here https://datasift.github.io/gitflow/IntroducingGitFlow.html.
Create a story in under your project, drag it into "In Progress".
If you want to get started with your own repository see our Guidelines for Creating Repositories page. If you would like to contribute to an existing project then the first thing you will need to do is clone the repository.
git clone <repo_address>
By default the branch will be master, you will need to create your working branch for your story.
git checkout -b my-branch-name
Create commits as you see fit while you are implementing your feature.
git add ./my-file.py
git commit -m "my file implementation"
A pull request (PR) is a request to review your changes as a differential to master or some branch.
Steps:
- From the repository GitHub webpage select Pull Requests
- Click the "New Pull Request" button
- Select the branch you want to have reviewed
- In the review select your team as reviewers
- Create the pull request
There are two requirements that will allow you to merge.
- Your Travis CI is green (passing).
- At least one other contributor has approved your pull request.
Once you have met all the requirements you are free to merge your branch / pull request into the main branch.
If the automation hasn't already moved your story, go to your project and move your story to Done. Now go ahead and pull another story :)