Using Sandbox for Practice

_images/os_background.png

Sandbox repository

_images/sandbox-git-repo-website.png

Sandbox Launchpad

_images/sandbox-lp-website.png

Learning example with two Sandboxes

Nota

  • Try to emphasize the synergy of using repository integration with bug management to students!

Sandbox Launchpad Bug list

_images/sandbox-list-bugs.png

Report a bug - Summary

_images/sandbox-report-a-bug-summary.png

Report a bug - Details

Nota

  • Detailed description should include the OpenStack release that was running, log snippets showing the error, steps to recreate the error and any vendor hardware possibly involved.
  • Details need to be sufficient for a developer to narrow down where the failure occurred and/or recreate the failure.
_images/sandbox-report-a-bug-details.png

Bug Report Submission

_images/sandbox-report-a-bug-submission.png

Bug Assigning

_images/sandbox-lp-assign.png

Nota

  • Should not take the bug if you are not planning to work on the bug.

Bug Assigned

_images/sandbox-lp-assignee-changed.png

Local branch creation

$ git checkout -b [BRANCH_NAME]
_images/sandbox-git-checkout-branch.png

Working to get a commit

_images/sandbox-git-new-file.png

Checking work status

$ git status
_images/sandbox-git-status.png

Add the file and commit

$ git add [FILE_PATH]
$ git commit -a
_images/sandbox-git-commit-message.png

Commit log message

$ git log
_images/sandbox-git-log.png

Uploading to Gerrit

$ git review master

(Note: In some environments need to use 'git-review master')

_images/sandbox-git-review.png

Sandbox Status

_images/sandbox-gerrit-submission.png _images/sandbox-lp-message-added.png

Invite peer as Reviewer

_images/sandbox-gerrit-add-reviewer.png

Added as Reviewer

_images/sandbox-gerrit-add-reviewer-added.png

Reading review invitation

_images/sandbox-review-invitation.png

Reviewing with comment

_images/sandbox-reviewer-commenting.png _images/sandbox-reviewer-comment.png

Publish comment

_images/sandbox-reviewer-publish-comment.png

Review Score & Results

_images/sandbox-reviewer-scoring.png _images/sandbox-reviewer-comment-results.png

Check peer's Review

_images/sandbox-committer-checking.png

Revising file(s)

_images/sandbox-committer-revise.png

Amending the commit

$ git commit -a --amend
_images/sandbox-committer-amending.png

Uploading a new patchset

_images/sandbox-committer-git-review-again.png _images/sandbox-gerrit-another-patchset.png

Seeing new comment

_images/sandbox-gerrit-patchsets.png _images/sandbox-gerrit-click-file.png

Comment reply

_images/sandbox-gerrit-checking-comment.png _images/sandbox-gerrit-checking-comment-answer.png _images/sandbox-gerrit-still-draft-comment.png

Publish comment reply

_images/sandbox-gerrit-publish-comment.png _images/sandbox-gerrit-comment-publish-result.png

Review again

_images/sandbox-bug-reporter-review.png _images/sandbox-core-reviewer-score.png

Merged!

_images/sandbox-scores.png _images/sandbox-gerrit-merged.png

Home Work

Nota