Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
openEuler-Advisor
提交
f01fb3a9
O
openEuler-Advisor
项目概览
openeuler
/
openEuler-Advisor
通知
30
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f01fb3a9
编写于
8月 25, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
8月 25, 2020
浏览文件
操作
浏览文件
下载
差异文件
!97 修复yaml bug和版本解析bug
Merge pull request !97 from Monday/master
上级
f9d1f000
86b85e9f
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
20 addition
and
11 deletion
+20
-11
advisors/check_upstream.py
advisors/check_upstream.py
+1
-1
advisors/helper/version_exceptions.yaml
advisors/helper/version_exceptions.yaml
+4
-0
advisors/version_recommend.py
advisors/version_recommend.py
+4
-0
upstream-info/gnu-free-fonts.yaml
upstream-info/gnu-free-fonts.yaml
+1
-1
upstream-info/netpbm.yaml
upstream-info/netpbm.yaml
+1
-1
upstream-info/pcre.yaml
upstream-info/pcre.yaml
+1
-1
upstream-info/postgresql-odbc.yaml
upstream-info/postgresql-odbc.yaml
+3
-3
upstream-info/psacct.yaml
upstream-info/psacct.yaml
+5
-4
未找到文件。
advisors/check_upstream.py
浏览文件 @
f01fb3a9
...
...
@@ -60,7 +60,7 @@ def clean_tags(tags, info):
separator_regex
=
re
.
compile
(
info
[
"seperator"
])
result_list
=
[
separator_regex
.
sub
(
"."
,
x
)
for
x
in
result_list
]
result_list
=
[
x
for
x
in
result_list
if
len
(
x
)
>
0
and
x
[
0
].
isdigit
()]
result_list
=
[
x
for
x
in
result_list
if
x
and
x
[
0
].
isdigit
()]
return
result_list
...
...
advisors/helper/version_exceptions.yaml
浏览文件 @
f01fb3a9
...
...
@@ -23,3 +23,7 @@ sombok:
shadow
:
-
'
1999'
-
'
2000'
gmp
:
-
'
2v0v2'
-
'
2v0v1'
-
'
2v0'
advisors/version_recommend.py
浏览文件 @
f01fb3a9
...
...
@@ -329,6 +329,8 @@ class VersionTypeXYZ(VersionType):
version_candidate
=
[]
version_digital
=
re
.
split
(
r
'[._-]'
,
current_version
)
# 将版本号做拆分
if
len
(
version_entry
)
<=
1
:
# 如果当前版本号仅一位,不能判断维护版本号
return
'.'
.
join
(
version_digital
)
xy
=
version_digital
[
0
:
2
]
for
version
in
version_entry
:
version_temp
=
re
.
split
(
r
'[._-]'
,
version
)
...
...
@@ -387,6 +389,8 @@ class VersionTypeXYZ(VersionType):
version_candidate
.
clear
()
for
version
in
version_list
:
# 将第二位最大的列入候选列表,准备第三位比较
if
len
(
version
)
<=
1
:
# 过滤仅一位的版本号
continue
if
y
==
version
[
1
]:
version_candidate
.
append
(
version
)
...
...
upstream-info/gnu-free-fonts.yaml
浏览文件 @
f01fb3a9
version_control
:
NA
src_repo
:
http
s://svn.savannah.gnu.org/viewvc
/freefont
src_repo
:
http
://svn.savannah.gnu.org/svn
/freefont
tag_repo
:
RELEASE_
separator
:
.
upstream-info/netpbm.yaml
浏览文件 @
f01fb3a9
...
...
@@ -2,4 +2,4 @@ version_control: svn
src_repo
:
https://svn.code.sf.net/p/netpbm/code
tag_dir
:
release_number
tag_prefix
:
^v
separator
:
.
separator
:
.
\ No newline at end of file
upstream-info/pcre.yaml
浏览文件 @
f01fb3a9
version_control
:
svn
src_repo
:
svn://vcs.pcre.org/pcre/code
/trunk
src_repo
:
svn://vcs.pcre.org/pcre/code
tag_prefix
:
pcre-
seperator
:
.
upstream-info/postgresql-odbc.yaml
浏览文件 @
f01fb3a9
version_control
:
git
src_repo
:
https://git.postgresql.org/git
web/?p=
psqlodbc.git
tag_prefix
:
"
^
v
"
seperator
:
"
.
"
src_repo
:
https://git.postgresql.org/git
/
psqlodbc.git
tag_prefix
:
"
^
REL-
"
seperator
:
"
_
"
upstream-info/psacct.yaml
浏览文件 @
f01fb3a9
version_control
:
svn
src_repo
:
http://svn.savannah.gnu.org/svn/acct/
tag_prefix
:
^
seperator
:
.
version_control
:
gnu-ftp
src_repo
:
acct
tag_pattern
:
acct-(.*).tar.gz(.sig)?
seperator
:
"
."
svn_url
:
http://svn.savannah.gnu.org/svn/acct/
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录