Login | Register
My pages Projects Community openCollabNet

argouml
Wiki: Diff for "Working with git, github, gerrit, gerrithub and repo"

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

 

Differences between revisions 1 and 4 (spanning 4 versions)

Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 1. '''repo start''' '''''your_local_topic_branch_name''''' '''''argouml argouml-cpp argouml-csharp ... and other projects affected change''''' # Create a branch to work on.  1. '''repo start''' '''''your_local_topic_branch_name''''' '''--all''' # Create a branch to work on.
Line 30: Line 30:

=== Using gerrithub to review changes in the list of projects ===
Initialize with '''repo init -u ssh://review.gerrithub.io:29418/argouml-tigris-org/manifest.git''' instead.

Normal development cycle

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

  2. repo start your_local_topic_branch_name --all # 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
        User YOUR-GITHUB-USER-NAME
    
  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.

Using gerrithub to review changes in the list of projects

Initialize with repo init -u ssh://review.gerrithub.io:29418/argouml-tigris-org/manifest.git instead.

Working with git, github, gerrit, gerrithub and repo (last edited 2019-07-19 22:40:16 -0700 by linus)