Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
openEuler-Advisor
提交
df2023ec
O
openEuler-Advisor
项目概览
openeuler
/
openEuler-Advisor
通知
41
Star
4
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openEuler-Advisor
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
df2023ec
编写于
6月 01, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
6月 01, 2020
浏览文件
操作
浏览文件
下载
差异文件
!14 fix lint warnings
Merge pull request !14 from Shinwell_Hu/master
上级
33d5ad4f
75494311
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
6 deletion
+6
-6
tc_reminder.py
tc_reminder.py
+4
-4
who_maintain.py
who_maintain.py
+2
-2
未找到文件。
tc_reminder.py
浏览文件 @
df2023ec
...
...
@@ -76,8 +76,8 @@ if __name__ == "__main__":
adv
=
Advisor
()
PRs
=
adv
.
get_prs
()
for
pr
in
PRs
:
us
ers
=
[]
us
ers
.
append
(
pr
[
"user"
][
"login"
])
comment
ers
=
[]
comment
ers
.
append
(
pr
[
"user"
][
"login"
])
last_update
=
pr
[
"updated_at"
]
print
(
"URL: https://gitee.com/openeuler/community/pulls/{number}"
.
format
(
number
=
pr
[
"number"
]))
print
(
"Title: "
+
pr
[
"title"
])
...
...
@@ -85,8 +85,8 @@ if __name__ == "__main__":
for
c
in
comm
:
#print("comment updated at:")
#pprint(datetime.strptime(c["updated_at"], adv.time_format))
us
ers
.
append
(
c
[
"user"
][
"login"
])
tc
=
adv
.
filter_out_tc
(
us
ers
)
comment
ers
.
append
(
c
[
"user"
][
"login"
])
tc
=
adv
.
filter_out_tc
(
comment
ers
)
print
(
"Currently involved TC members: "
+
", "
.
join
(
tc
)
+
"
\n
"
)
who_maintain.py
浏览文件 @
df2023ec
...
...
@@ -32,7 +32,7 @@ def get_sigs():
def
get_spec
(
pkg
,
specfile
):
url
=
specfile_url
.
template
.
format
(
package
=
pkg
,
specfile
=
specfile
)
url
=
specfile_url
_
template
.
format
(
package
=
pkg
,
specfile
=
specfile
)
req
=
urllib
.
request
.
Request
(
url
=
url
,
headers
=
headers
)
u
=
urllib
.
request
.
urlopen
(
req
)
return
u
.
read
().
decode
(
"utf-8"
)
...
...
@@ -88,7 +88,7 @@ if __name__ == "__main__":
if
line
.
startswith
(
"%changelog"
):
in_changelog
=
True
if
line
.
startswith
(
"*"
)
and
in_changelog
:
m
=
re
.
match
(
".*\d\d\d\d (.*) .*"
,
line
)
m
=
re
.
match
(
r
".*\d\d\d\d (.*) .*"
,
line
)
if
m
is
None
:
emails
.
add
(
line
)
else
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录