Xueliang is our code star, thanks Xueliang!
wfg@crystal /c/todo% bin/help-star people/*/credit/2020-10-30.md 24.2 Cao Xueliang 18.2 Wu Fengguang 18.0 Yu Chuan 16.9 Wei Jihui 15.0 Wu Zhende 13.6 Liu Shaofei 9.8 Liu Yinsi 9.7 Xu Xijian 8.9 Wang Yong 8.8 Lu Weitao 8.7 Zhou Shengrui 8.1 Tong Qunfeng 7.7 Zhang Yuhang 7.4 Bai Jing 6.2 Cui Yili 6.0 Xiao Shenwei 5.6 Luan Shengde 5.6 Shi Zhichao 5.2 Wang Chenglong 5.1 Zhang Dewan 4.8 Zhang Yale 4.5 Zhang Yu 4.0 Lin Jiaxin 3.9 Sun Yukui 3.5 Li Ping 3.4 Ren Wen 2.3 Du Kaitian 2.3 Hu Xuejiao 1.5 Li Yuanchao 1.1 Lu Kaiyi 0.0 Wang Shuai 0.0 Cui Xucui
Hi, Fengguang:
I tested the igcommit and it works The tested logs as below:
crystal ~/test/todo/people/LuanShengde/credit% git push Enumerating objects: 11, done. Counting objects: 100% (11/11), done. Delta compression using up to 128 threads Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 544 bytes | 544.00 KiB/s, done. Total 6 (delta 3), reused 0 (delta 0) remote: === CheckTodoCommit on bd30b811 === remote: ERROR: Credit name format: Zhang Dawei. remote: Name error or name format error. remote: : Wu zhende, Wu Zhengde, Wang chenglong (NameError) remote: To file:///home/luanshd/todo ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'file:///home/luanshd/todo' luanshd@crystal ~/test/todo/people/LuanShengde/credit%
I checked the /usr/bin/igcommit-receive, and found that the pre-receive is at /c/todo.git, not in directory hooks I wonder if the pre-receive is at a wrong place.
crystal /c/todo.git% ls -al total 52K drwxrwsr-x. 2 wfg team 4.0K Sep 1 15:53 hooks ... lrwxrwxrwx. 1 wfg team 28 Jun 7 19:42 pre-receive -> /c/igcommit/igcommit-receive -rw-rw-r--. 1 zhangyuhang team 469 Sep 1 11:49 .rubocop.yml
Thanks Luan Shengde
On Tue, Nov 03, 2020 at 04:25:40PM +0800, Luan Shengde wrote:
Hi, Fengguang:
I tested the igcommit and it works The tested logs as below:
crystal ~/test/todo/people/LuanShengde/credit% git push Enumerating objects: 11, done. Counting objects: 100% (11/11), done. Delta compression using up to 128 threads Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 544 bytes | 544.00 KiB/s, done. Total 6 (delta 3), reused 0 (delta 0) remote: === CheckTodoCommit on bd30b811 === remote: ERROR: Credit name format: Zhang Dawei. remote: Name error or name format error. remote: : Wu zhende, Wu Zhengde, Wang chenglong (NameError) remote: To file:///home/luanshd/todo ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'file:///home/luanshd/todo' luanshd@crystal ~/test/todo/people/LuanShengde/credit%
I checked the /usr/bin/igcommit-receive, and found that the pre-receive is at /c/todo.git, not in directory hooks I wonder if the pre-receive is at a wrong place.
OK, perhaps it's manually disabled by me this way. I'll restore it to original place.
Thanks, Fengguang
crystal /c/todo.git% ls -al total 52K drwxrwsr-x. 2 wfg team 4.0K Sep 1 15:53 hooks ... lrwxrwxrwx. 1 wfg team 28 Jun 7 19:42 pre-receive -> /c/igcommit/igcommit-receive -rw-rw-r--. 1 zhangyuhang team 469 Sep 1 11:49 .rubocop.yml
Thanks Luan Shengde