Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
openEuler-Advisor
提交
aff5982b
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看板
提交
aff5982b
编写于
8月 25, 2020
作者:
L
Leo Fang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bugfix for rule and remove old name file
Signed-off-by:
N
Leo Fang
<
leofang_94@163.com
>
上级
5043e1f0
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
28 deletion
+8
-28
advisors/helper/ver_rec_excpt.yaml
advisors/helper/ver_rec_excpt.yaml
+0
-25
advisors/simple-update-robot.py
advisors/simple-update-robot.py
+8
-3
未找到文件。
advisors/helper/ver_rec_excpt.yaml
已删除
100644 → 0
浏览文件 @
5043e1f0
---
# version recommend exception list
gegl04
:
-
'
20001120.v002'
gimp
:
-
'
19990910'
nss
:
-
'
334.20030307'
glibc
:
-
'
9000'
kata-shim
:
-
'
20191207'
kata-runtime
:
-
'
20191207'
kata-proxy
:
-
'
20191207'
kata-agent
:
-
'
20191207'
kexec-tools
:
-
'
200'
sombok
:
-
'
2011'
shadow
:
-
'
1999'
-
'
2000'
advisors/simple-update-robot.py
浏览文件 @
aff5982b
...
...
@@ -37,7 +37,9 @@ def download_source_url(spec, o_ver, n_ver):
return
False
elif
source
.
startswith
(
"http"
)
or
source
.
startswith
(
"ftp"
):
fn
=
os
.
path
.
basename
(
source
)
for
time
in
range
(
2
):
n
=
0
while
n
<
2
:
n
+=
1
if
subprocess
.
call
([
"curl"
,
"-m"
,
"600"
,
"-L"
,
source
,
"-o"
,
fn
]):
continue
else
:
...
...
@@ -60,7 +62,9 @@ def download_upstream_url(gt, repo, n_ver):
if
rp_yaml
[
"version_control"
]
==
"github"
:
url
=
"https://github.com/{rp}/archive/{nv}.tar.gz"
.
format
(
rp
=
rp_yaml
[
"src_repo"
],
nv
=
n_ver
)
fn
=
"{rp}.{nv}.tar.gz"
.
format
(
rp
=
repo
,
nv
=
n_ver
)
for
time
in
range
(
2
):
n
=
0
while
n
<
2
:
n
+=
1
if
subprocess
.
call
([
"curl"
,
"-m"
,
"600"
,
"-L"
,
url
,
"-o"
,
fn
]):
continue
else
:
...
...
@@ -319,7 +323,8 @@ if __name__ == "__main__":
pars
.
add_argument
(
"-fc"
,
"--fork_then_clone"
,
help
=
"Fork src-openeuler repo into users, then clone to local"
,
action
=
"store_true"
)
pars
.
add_argument
(
"-b"
,
"--build_pkg"
,
help
=
"Build package in local"
,
action
=
"store_true"
)
pars
.
add_argument
(
"-pcpi"
,
"--push_create_pr_issue"
,
help
=
"Push update repo, create PR and issue"
,
action
=
"store_true"
)
pars
.
add_argument
(
"-pcpi"
,
"--push_create_pr_issue"
,
help
=
"Push update repo, create PR and issue"
,
action
=
"store_true"
)
args
=
pars
.
parse_args
()
user_gitee
=
gitee
.
Gitee
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录