Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
openEuler-Advisor
提交
9aaba681
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看板
提交
9aaba681
编写于
8月 22, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
8月 22, 2020
浏览文件
操作
浏览文件
下载
差异文件
!88 修正命令行初始化Filepath参数相对路径不受支持和路径太长问题
Merge pull request !88 from 包成强/master
上级
f2007128
948b9d7e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
4 deletion
+8
-4
packageship/packageship/application/apps/package/serialize.py
...ageship/packageship/application/apps/package/serialize.py
+1
-1
packageship/packageship/pkgship.py
packageship/packageship/pkgship.py
+1
-0
packageship/pkgship.spec
packageship/pkgship.spec
+6
-3
未找到文件。
packageship/packageship/application/apps/package/serialize.py
浏览文件 @
9aaba681
...
...
@@ -186,4 +186,4 @@ class InitSystemSchema(Schema):
"""
configfile
=
fields
.
Str
(
validate
=
validate
.
Length
(
max
=
50
),
required
=
False
,
allow_none
=
True
)
max
=
50
0
),
required
=
False
,
allow_none
=
True
)
packageship/packageship/pkgship.py
浏览文件 @
9aaba681
...
...
@@ -465,6 +465,7 @@ class InitDatabaseCommand(PkgshipCommand):
"""
file_path
=
params
.
filepath
try
:
file_path
=
os
.
path
.
abspath
(
file_path
)
response
=
requests
.
post
(
self
.
write_host
+
'/initsystem'
,
data
=
json
.
dumps
({
'configfile'
:
file_path
}),
headers
=
self
.
headers
)
...
...
packageship/pkgship.spec
浏览文件 @
9aaba681
Name: pkgship
Version: 1.0.0
Release:
6
Release:
7
Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no.
License: Mulan 2.0
URL: https://gitee.com/openeuler/openEuler-Advisor
...
...
@@ -28,7 +28,7 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no.
%check
# change log_path to solve default log_path permission denied problem
# change log_path to solve default log_path permission denied problem
log_path=`pwd`/tmp/
sed -i "/\[LOG\]/a\log_path=$log_path" test/common_files/package.ini
%{__python3} -m unittest test/run_tests.py
...
...
@@ -60,7 +60,7 @@ rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
%files
%doc README.md
%doc README.md
%{python3_sitelib}/*
%config %{_sysconfdir}/pkgship/*
%attr(0755,root,root) %{_bindir}/pkgshipd
...
...
@@ -68,6 +68,9 @@ rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
%changelog
* Fri Aug 21 2020 Chengqiang Bao < baochengqiang1@huawei.com > - 1.0.0-7
- Fixed a problem with command line initialization of the Filepath parameter where relative paths are not supported and paths are too long
* Wed Aug 12 2020 Zhang Tao <zhangtao306@huawei.com> - 1.0.0-6
- Fix the test content to adapt to the new data structure, add BuildRequires for running %check
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录