官方是不是该出个贡献代码的教程
Tofloor
poster avatar
linusboyle
deepin
2018-07-31 17:55
Author
github交了pr一个星期了没消息。我知道有个叫开发者中心的东西,但那都多少年没更新了。
勉强从各个地方东拼西凑找到了gerrit,然后……不会用:-\
文档中心的nginx又挂了……心好累
谁能给一篇完整的教程?
Reply Favorite View the author
All Replies
avatar
六七八九十
deepin
2018-07-31 18:36
#1
本帖最后由 mianyz 于 2018-8-1 09:47 编辑

hao hao hao
Reply View the author
avatar
BingoLove
deepin
2018-07-31 18:44
#2
github只看,不合并的,要提交pr要到https://cr.deepin.io/
Reply View the author
avatar
BLumia
deepin
2018-07-31 18:46
#3
  1. sudo apt install git-review
Copy the Code


把 gerrit review 工具装上。

然后去 cr 拉代码,clone 的时候选 Clone with commit-msg hook 。然后本地正常修改操作 git add, git commit 之类,commit 完觉得可以开始 review 了就

  1. git review <分支名> -r origin
Copy the Code


就是了。




面向社区的开发协作目前的确不怎么完善,改善这个也只能慢慢来了(
Reply View the author
avatar
justforlxz
deepin
2018-07-31 18:52
#4
有时间我录个视频吧
Reply View the author
avatar
linusboyle
deepin
2018-08-01 04:28
#5
https://bbs.deepin.org/post/166745
把 gerrit review 工具装上。

然后去 cr 拉代码,clone 的时候选 Clone with commit-msg hook 。然后本 ...

em……不过,代码规范啦命名规范啦什么的都没找到啊
Reply View the author
avatar
linusboyle
deepin
2018-08-01 17:14
#6
Gosh!刚传上去网站就挂了
Reply View the author
avatar
BLumia
deepin
2018-08-01 17:33
#7
https://bbs.deepin.org/post/166745
em……不过,代码规范啦命名规范啦什么的都没找到啊

我记得大部分 repo 的 readme 里都有个指向 开发者代码贡献指南 ( https://github.com/linuxdeepin/developer-center/wiki/Contribution-Guidelines-for-Developers ) 的链接来着。命名规范代码格式之类只有个别 repo 有放出来,以及各个不同 repo 用的格式啥的也可能不一样,一般你要改哪里,格式和命名习惯保持一致就是了。

今天早上停电了半小时,有些服务可能没起来,等等就是了。
Reply View the author
avatar
linusboyle
deepin
2018-08-01 18:31
#8
https://bbs.deepin.org/post/166745
我记得大部分 repo 的 readme 里都有个指向 开发者代码贡献指南 ( https://github.com/linuxdeepin/devel ...

nani? 网站时不时挂掉原来是停电的原因么
Reply View the author