12
CloudStack 技技技 2013/04/20 技技技 / 技技技技技

Cloudstack dev/user sharing

Embed Size (px)

DESCRIPTION

How to involve in Apache CloudStack community as a contributor? Brief guide on CloudStack contribution and play some demos.

Citation preview

Page 1: Cloudstack dev/user sharing

CloudStack 技术沙龙

2013/04/20

开发者 / 使用者交流

Page 2: Cloudstack dev/user sharing

CloudStack 社区的参与内容

• 获得源码• 获得各种资源• 建立开发测试环境• 编译自己的文档• 提交 / 解决 Bug• 提交 Patch 到 Review Board• 帮助本地化文档• 参与讨论或添加新功能需求

Page 3: Cloudstack dev/user sharing

哪里获得源码或其它资源 ?

git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git

http://cloudstack.apache.org/

[email protected]

Page 4: Cloudstack dev/user sharing

建立自己的开发环境git

Java

Ant/Maven

Eclipse

Python

MySql

rpmbuild/dpkg-deb

*nix 系统

Page 5: Cloudstack dev/user sharing

建立自己的测试环境 DevCloud

• DevCloud 作为一个”盒子” , 管理服务器在其中• DevCloud 单独作为 Hypervisor, 本机作为管理服务器

Reference: http://rohityadav.in/logs/devcloud/ http://goo.gl/jcgxm

Let’s Demo

Page 6: Cloudstack dev/user sharing

自己编译最新文档• CloudStack docbook xml• git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git• Redhat publican tool

Reference:https://cwiki.apache.org/confluence/display/CLOUDSTACK/Convert+Installation+Guide+to+Docbook+XMLhttps://cwiki.apache.org/confluence/display/CLOUDSTACK/Publican+Troubleshooting+Guide

Let’s Demo

Page 7: Cloudstack dev/user sharing

提交 / 解决 Bug

https://issues.apache.org/jira/browse/CLOUDSTACK

Page 8: Cloudstack dev/user sharing

打补丁并提交 Review

Reference:https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30746252

1. 迁出代码 $ git clone https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git2. 创建自己的 branch $ git checkout -b mybranch3. 在自己的 branch 上做代码更新 patch4. 提交自己的 patch git commit -m "Insert a meaningful summary of changes here.”5. 提交 patch 到 Review Boardgit format-patch master --stdout > ~/patch-name.patch

上传 patch-name.patch 文件到 Review Board:(选择 cloudstack-git ) https://reviews.apache.org/r/new/

点击: Create Review Request 上传。

Page 9: Cloudstack dev/user sharing

帮助文档本地化1. On transifex web site https://www.transifex.com/projects/p/ACS_DOCS/

2. Using transifex client http://sebgoa.blogspot.com/2012/12/using-transifex-client-to-translate.html

Page 11: Cloudstack dev/user sharing

Enjoy!

Page 12: Cloudstack dev/user sharing

Thanks!