Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 556C318FAF for ; Tue, 9 Jun 2015 08:38:28 +0000 (UTC) Received: (qmail 91847 invoked by uid 500); 9 Jun 2015 08:38:27 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 91747 invoked by uid 500); 9 Jun 2015 08:38:27 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 91730 invoked by uid 99); 9 Jun 2015 08:38:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 08:38:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AB637DFA70; Tue, 9 Jun 2015 08:38:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sebgoa@apache.org To: commits@cloudstack.apache.org Date: Tue, 09 Jun 2015 08:38:28 -0000 Message-Id: <055ddea8f31f4d46981fc73def372b90@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/4] cloudstack-www git commit: fix dev page fix dev page Project: http://git-wip-us.apache.org/repos/asf/cloudstack-www/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-www/commit/c62a92f3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-www/tree/c62a92f3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-www/diff/c62a92f3 Branch: refs/heads/asf-site Commit: c62a92f3649195622e8ccb8381cde5ece36f272b Parents: 9122c73 Author: Sebastien Goasguen Authored: Tue Jun 9 10:19:29 2015 +0200 Committer: Sebastien Goasguen Committed: Tue Jun 9 10:19:29 2015 +0200 ---------------------------------------------------------------------- source/developers.markdown | 61 ++++++++++++++--------------------------- 1 file changed, 21 insertions(+), 40 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack-www/blob/c62a92f3/source/developers.markdown ---------------------------------------------------------------------- diff --git a/source/developers.markdown b/source/developers.markdown index 29e0d0e..e6f24e5 100644 --- a/source/developers.markdown +++ b/source/developers.markdown @@ -2,6 +2,8 @@ title: Developer Resources for Apache CloudStack --- +Title: Developer Resources for Apache CloudStack +
@@ -24,13 +26,23 @@ title: Developer Resources for Apache CloudStack

If you're a committer on an Apache project, it means that you can commit directly to the project's repository. For instance, with Apache CloudStack committers are allowed to directly push commits into the git repository.

-

Non-committers, however, have to submit patches for review. Don't worry, it's not an onerous process at all. The first time you submit a patch, it will take a minute or two to create an account on Review Board, but it's a piece of cake from start to finish.

+

Non-committers, however, have to submit patches for review. Apache CloudStack accepts GitHub pull requests. If you are new to Git and GitHub, check these two links:

+

+

+

+ +

Apache CloudStack has a read-only mirror on GitHub that is kept in sync with the canonical Git repo maintained by the Apache Software Foundation. Submitting GitHub pull requests is the easiest way to get your contribution upstream. For detailed instructions see the link below:

+ +
GitHub Contribution Guidelines
-

Assumptions

+

Submitting a patch through JIRA

-

For the purpose of this post, we'll assume that you already have a system with Git and have found a bug to fix or have a feature that you'd like to submit, and you're willing to contribute that code or documentation under the Apache License 2.0.

+

While we encourage you to submit your contribution through GitHub pull requests, you can also attach a patch in a JIRA ticket. For the purpose of these instructions, we'll assume that you already have a system with Git and have found a bug to fix or have a feature that you'd like to submit, and you're willing to contribute that code or documentation under the Apache License 2.0.

-

Further, if you're fixing a bug we'll assume that you've either filed a bug report or are submitting a fix for a known bug. If you find a bug and would like to fix it, that's awesome! Please be sure to file the bug too, though.

+

Further, if you're fixing a bug we'll assume that you've either filed a bug report (where you will attach your patch) or are submitting a fix for a known bug. If you find a bug and would like to fix it, that's awesome! Please be sure to file the bug too, though.

If you want to add a feature, you should bring it up for discussion on the dev@cloudstack.apache.org mailing list before implementing it. This ensures that it meshes with the plans that other contributors have for Apache CloudStack, and that you're not doing redundant work. Other developers may also have ideas for the feature or suggestions that will help you land the feature without having to re-do the work. More information about our mailing lists can be found here.

@@ -69,45 +81,13 @@ $ git checkout -b mybranch
git commit -m "Insert a meaningful summary of changes here."
-

Finally, you're going to create a patch to upload to Review Board:

+

Finally, you can create a patch and attach it to the JIRA issue that you created for the bug you are fixing.

git format-patch master --stdout > ~/patch-name.patch
-

Using Review Board

- -

Review Board is the main method of sending patches to the Apache CloudStack project. That's not to say that a patch sent directly to the mailing list will be ignored, but the strong preference is that patches be submitted through Review Board. Don't worry, it's a very easy tool to use.

- -

If you haven't already, create an account with Review Board. Registering only requires an email address, first name, and last name. After you're registered, head to New Review Request and select the repository (cloudstack-git) and upload the patch (diff) created with git.

- -

Click Create Review Request and then fill out the information required. Specifically:

- -
    -
  1. Summary
  2. -
  3. Groups (choose cloudstack)
  4. -
  5. People (only use if you need specific committers to review changes)
  6. -
  7. Description
  8. -
  9. Testing Done
  10. -
- -

The Summary will be the subject that's sent to the cloudstack-dev mailing list. So if your summary is "fixed feature foo" the subject of the mail sent to the list will be "Review Request: fixed feature foo". Try to be descriptive with the Summary. If you're submitting a patch for a bug, please be sure to include the bug number in the summary. (Like "Bugfix CS-15942: Fixing problem with redundant routers.")

+

Review

-

The description should be a full description of what you've done. Please be specific, and include enough information that any reviewer will be able to look at your patch without asking for follow-up information. You need to include the bug ID that your patch relates to as well (ex: CLOUDSTACK-XXX ).

- -

If you're submitting a patch that modifies code, adds features, etc. you should test before submitting. Please be sure to describe your tests here.

- -

Once you're sure everything is OK, go ahead and submit the patch. But that's not the end of the process. The work isn't done until the patch is committed!

- -

Review

- -

Once you've submitted your patch, you should receive a response within a few days. If you receive no response within a week, please ping the cloudstack-dev mailing list. One of the features of Review Board is that shows all of the requests and when they were posted, and the committers know that they should be responsible for reviewing patches in a timely fashion.

- -

When your patch is reviewed, it may be accepted as-is or you may be asked to make changes. If you're asked to make changes, please work with the committer to see the patch through to acceptance.

- -

If the patch is accepted and committed, you have one last task (don't worry, it's minor and kind of satisfying).

- -

Go back to Review Board, click My Dashboard and then Outgoing Reviews. Go to your submission, you should see a "Ship it!" message from the reviewer. Click the Close button and choose Submitted. The status has now changed from pending to submitted.

- -

That's it – you've helped make Apache CloudStack a better project. Thanks!

+

Once you've submitted your pull request, you should receive a response within a few days. If you receive no response within a week, please ping the cloudstack-dev mailing list (dev@cloudstack.apache.org).

Screencast

@@ -130,7 +110,7 @@ $ git checkout -b mybranch Jira -Reviewboard +Contribution Guidelines ASF Jenkins @@ -183,3 +163,4 @@ git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
+