Download - Cloudstack dev/user sharing
![Page 1: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/1.jpg)
CloudStack 技术沙龙
2013/04/20
开发者 / 使用者交流
![Page 2: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/2.jpg)
CloudStack 社区的参与内容
• 获得源码• 获得各种资源• 建立开发测试环境• 编译自己的文档• 提交 / 解决 Bug• 提交 Patch 到 Review Board• 帮助本地化文档• 参与讨论或添加新功能需求
![Page 3: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/3.jpg)
哪里获得源码或其它资源 ?
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
http://cloudstack.apache.org/
![Page 4: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/4.jpg)
建立自己的开发环境git
Java
Ant/Maven
Eclipse
Python
MySql
rpmbuild/dpkg-deb
*nix 系统
![Page 5: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/5.jpg)
建立自己的测试环境 DevCloud
• DevCloud 作为一个”盒子” , 管理服务器在其中• DevCloud 单独作为 Hypervisor, 本机作为管理服务器
Reference: http://rohityadav.in/logs/devcloud/ http://goo.gl/jcgxm
Let’s Demo
![Page 6: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/6.jpg)
自己编译最新文档• 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](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/7.jpg)
提交 / 解决 Bug
https://issues.apache.org/jira/browse/CLOUDSTACK
![Page 8: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/8.jpg)
打补丁并提交 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](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/9.jpg)
帮助文档本地化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 10: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/10.jpg)
建议新功能
主题开头 : [PROPOSAL]
![Page 11: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/11.jpg)
Enjoy!
![Page 12: Cloudstack dev/user sharing](https://reader034.vdocuments.mx/reader034/viewer/2022051514/54b5b49d4a79596e0a8b4599/html5/thumbnails/12.jpg)
Thanks!