openstack 社区

1. 创建一个Launchpad([url]https://launchpad.net/openstack [/url])账号,加入OpenStack社区
2. 在([url]https://www.openstack.org/profile[/url] )上注册账号(应该与1.中账号邮箱一致),并成为Foundation Member(否则后面提交代码有问题)
3. 进入([url]https://review.openstack.org[/url]),登陆。
4. 进入([url]https://review.openstack.org/#/settings/[/url] )填写以下信息
Profile中的Username
在Agreements中签署协议(个人是CLA)
在HTTP Password中Generate Password
在SSH Public Keys中添加一个key
生成秘钥:ssh-keygen
cd /root/.ssh/
5.配置你的git:
mkdir openstack_src
cd openstack_src
git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@youremail.com"

6.
yum install git-review

7.
git config --global gitreview.scheme https   //此步是解决ssh不能够提交的问题,改为https连接方式提交
git config --global gitreview.port 29418 //端口号以实际情况为准
git remote rm gerrit //如前面有提交失败的话,先删除远程仓库


8.
cd openstack_src
git clone https://git.openstack.org/openstack/horizon.git
cd horizon/.git
git remote add gerrit https://git.openstack.org/openstack/horizon.git
cd hooks
cp commit-msg.sample commit-msg
cd ../../
git commit -a --amend 随便修改一行内容
git review -s



参考:

[url]http://docs.openstack.org/contributor-guide/first-timers-quickstart.html#troubleshooting-a-setup[/url]
[url]http://wiki.corp.awcloud.com/pages/viewpage.action?pageId=17727551[/url]
[url]http://wiki.corp.awcloud.com/pages/viewpage.action?pageId=26902647[/url]
[url]http://cloud.51cto.com/art/201507/482284.htm[/url]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值