Skip to content

Commit 2c8b737

Browse files
author
Lifei Chen
authored
Merge pull request #17 from hustclf/feature-detailed-info
#10 Add detailed info of markdown
2 parents f7a5a7f + 20c074f commit 2c8b737

2 files changed

Lines changed: 44 additions & 28 deletions

File tree

that_is_me_on_github.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,70 @@
33
## User Info
44
username: [Lifei Chen](https://github.com/hustclf)
55

6+
email: [hustclf@gmail.com](hustclf@gmail.com)
7+
68
followers: 11
9+
10+
![avatar](https://avatars1.githubusercontent.com/u/13963737?v=4 "avatar")
11+
712
813
## Owned Repostories
9-
Total: 8
14+
Total: 7
1015

11-
* [weixinCrawler](https://github.com/hustclf/weixinCrawler), folks: 7
12-
13-
* [RateLimiter](https://github.com/hustclf/RateLimiter), folks: 0
16+
* [weixinCrawler](https://github.com/hustclf/weixinCrawler), stars: 9, folks: 7
1417

15-
* [PHPRedisSentinel](https://github.com/hustclf/PHPRedisSentinel), folks: 0
18+
* [RateLimiter](https://github.com/hustclf/RateLimiter), stars: 6, folks: 0
1619

17-
* [kafka-streams-examples](https://github.com/hustclf/kafka-streams-examples), folks: 0
20+
* [PHPRedisSentinel](https://github.com/hustclf/PHPRedisSentinel), stars: 2, folks: 0
1821

19-
* [log_generator](https://github.com/hustclf/log_generator), folks: 0
22+
* [that_is_me_on_github](https://github.com/hustclf/that_is_me_on_github), stars: 1, folks: 0
2023

21-
* [hustclf.github.io](https://github.com/hustclf/hustclf.github.io), folks: 0
24+
* [kafka-streams-examples](https://github.com/hustclf/kafka-streams-examples), stars: 1, folks: 0
2225

23-
* [that_is_me_on_github](https://github.com/hustclf/that_is_me_on_github), folks: 0
26+
* [log_generator](https://github.com/hustclf/log_generator), stars: 1, folks: 0
2427

25-
* [gitment-comments](https://github.com/hustclf/gitment-comments), folks: 0
28+
* [hustclf.github.io](https://github.com/hustclf/hustclf.github.io), stars: 0, folks: 0
2629

2730
## Pull Requests
2831
Total: 12
2932

3033
kafka
3134

32-
* [KAFKA-8187 Bugfix for branch 2.0](https://github.com/apache/kafka/pull/6849) \[open\]
35+
* [KAFKA-8187 Bugfix for branch 2.0](https://github.com/apache/kafka/pull/6849) \[open\] \[not_merged\]
3336

34-
* [KAFKA-8187: Add wait time for other thread in the same jvm to free the locks](https://github.com/apache/kafka/pull/6818) \[closed\]
37+
* [KAFKA-8187: Add wait time for other thread in the same jvm to free the locks](https://github.com/apache/kafka/pull/6818) \[closed\] \[merged\]
3538

36-
* [KAFKA-8348 document optimized](https://github.com/apache/kafka/pull/6707) \[closed\]
39+
* [KAFKA-8348 document optimized](https://github.com/apache/kafka/pull/6707) \[closed\] \[merged\]
3740

38-
* [MINOR:Replace duplicated code with common function in utils](https://github.com/apache/kafka/pull/6819) \[closed\]
41+
* [MINOR:Replace duplicated code with common function in utils](https://github.com/apache/kafka/pull/6819) \[closed\] \[merged\]
3942

40-
* [MINOR: Document improvement for JMH-Benchmark module](https://github.com/apache/kafka/pull/6682) \[closed\]
43+
* [MINOR: Document improvement for JMH-Benchmark module](https://github.com/apache/kafka/pull/6682) \[closed\] \[merged\]
4144

4245
faust
4346

44-
* [MINOR: fix bug of example in doc](https://github.com/robinhood/faust/pull/353) \[closed\]
47+
* [MINOR: fix bug of example in doc](https://github.com/robinhood/faust/pull/353) \[closed\] \[merged\]
4548

4649
flink-deployer
4750

48-
* [Replace Cancel with Terminate](https://github.com/ing-bank/flink-deployer/pull/37) \[closed\]
51+
* [Replace Cancel with Terminate](https://github.com/ing-bank/flink-deployer/pull/37) \[closed\] \[merged\]
4952

50-
* [Support new command: terminate](https://github.com/ing-bank/flink-deployer/pull/36) \[closed\]
53+
* [Support new command: terminate](https://github.com/ing-bank/flink-deployer/pull/36) \[closed\] \[not_merged\]
5154

52-
* [Support new command: terminate](https://github.com/ing-bank/flink-deployer/pull/35) \[closed\]
55+
* [Support new command: terminate](https://github.com/ing-bank/flink-deployer/pull/35) \[closed\] \[not_merged\]
5356

5457
kubeedge
5558

56-
* [doc: optimize slack url in readme and readme_zn](https://github.com/kubeedge/kubeedge/pull/255) \[closed\]
59+
* [doc: optimize slack url in readme and readme_zn](https://github.com/kubeedge/kubeedge/pull/255) \[closed\] \[merged\]
5760

5861
flink
5962

60-
* [[FLINK-11819][Documentation] Fix wrong description about attribute order by supported now](https://github.com/apache/flink/pull/7901) \[closed\]
63+
* [[FLINK-11819][Documentation] Fix wrong description about attribute order by supported now](https://github.com/apache/flink/pull/7901) \[closed\] \[not_merged\]
6164

6265
kafkacat
6366

64-
* [Fix bugs for wrong format when consuming message with json format](https://github.com/edenhill/kafkacat/pull/166) \[closed\]
67+
* [Fix bugs for wrong format when consuming message with json format](https://github.com/edenhill/kafkacat/pull/166) \[closed\] \[merged\]
6568

66-
## Issues:
69+
## Issues:
6770
Total: 4
6871

6972
flink-deployer

that_is_me_on_github.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,19 @@ def _render_user(user_info: NamedUser):
3636
## User Info
3737
username: [{}]({})
3838
39+
email: [{}]({})
40+
3941
followers: {}
42+
43+
![avatar]({} "avatar")
44+
4045
""".format(
41-
user_info.name, user_info.html_url, user_info.followers
46+
user_info.name,
47+
user_info.html_url,
48+
user_info.email,
49+
user_info.email,
50+
user_info.followers,
51+
user_info.avatar_url,
4252
)
4353

4454
@staticmethod
@@ -52,9 +62,9 @@ def _render_repos(repos: List[Repository]):
5262

5363
for repo in repos:
5464
tpl += """
55-
* [{}]({}), folks: {}
65+
* [{}]({}), stars: {}, folks: {}
5666
""".format(
57-
repo.name, repo.html_url, repo.forks
67+
repo.name, repo.html_url, repo.stargazers_count, repo.forks
5868
)
5969

6070
return tpl
@@ -75,9 +85,12 @@ def _render_prs(prs: Dict[str, List[Issue]]):
7585
)
7686
for pr in items:
7787
tpl += """
78-
* [{}]({}) \[{}\]
88+
* [{}]({}) \[{}\] \[{}\]
7989
""".format(
80-
pr.title, pr.html_url, pr.state
90+
pr.title,
91+
pr.html_url,
92+
pr.state,
93+
"merged" if pr.as_pull_request().is_merged() else "not_merged",
8194
)
8295

8396
return tpl

0 commit comments

Comments
 (0)