Login | Register
My pages Projects Community openCollabNet

Wiki: Working with git, github, gerrit, gerrithub and repo

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Revision 1 as of 2019-07-18 14:55:51 -0700

Edit this page | Links to this page | Page information | Attachments | Refresh page


Normal development cycle

  1. repo sync # to get all changes from upstream.

  2. repo start your_local_topic_branch_name argouml argouml-cpp argouml-csharp ... and other projects affected change # Create a branch to work on.

  3. cd argouml # Work in the projects in turn.

  4. Make the change.
  5. Build and test.
  6. Commit the change.
  7. repo upload # Upload your work for review.

  8. Monitor the created changes at https://review.gerrithub.io. This could involve making more changes, git commit --amend and repo upload a patched change.

  9. Eventually the change is Code-Reviewed and Verified and Submitted. If a change is not immediately commented on Code-Reviewed and Verified, mail Linus.

For details on how to move around between branches to work on other changes while waiting, see the repo documentation.

Review work

  1. Go to https://review.gerrithub.io

  2. Find all argouml-tigris-org projects.
  3. Comment on all suggested changes and give them their score.

Setup the environment

  1. Install git, repo, ssh
  2. Unless you have done so before, create your github.com account and set up the ssh key.
  3. Unless you have done so before, create your gerrithub.io account with your github.com credentials.
  4. Configure ssh to use your github user name when contacting gerrithub

    Host review.gerrithub.io
  5. Create a new directory for your work and cd to it.

  6. repo init -u git@github.com:argouml-tigris-org/manifest.git # Set up repo and download the list of argouml projects.

  7. repo sync # Download all argouml projects from github.