aops-ceres/aops-ceres.spec

146 lines
4.4 KiB
RPMSpec
Raw Normal View History

2022-11-22 20:45:13 +08:00
Name: aops-ceres
2023-10-23 14:22:34 +08:00
Version: v1.3.3
Release: 1
2022-11-22 20:45:13 +08:00
Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on.
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
2022-11-22 20:45:13 +08:00
BuildRequires: python3-setuptools
2023-04-17 21:26:25 +08:00
Requires: python3-requests python3-jsonschema python3-libconf
2022-11-23 14:12:55 +08:00
Requires: python3-concurrent-log-handler dmidecode
2022-11-22 20:45:13 +08:00
Provides: aops-ceres
Conflicts: aops-agent
%description
An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on.
2023-10-23 14:22:34 +08:00
%package -n dnf-hotpatch-plugin
Summary: dnf hotpatch plugin
Requires: python3-hawkey python3-dnf syscare >= 1.1.0
%description -n dnf-hotpatch-plugin
dnf hotpatch plugin, it's about hotpatch query and fix
2022-11-22 20:45:13 +08:00
%prep
%autosetup -n %{name}-%{version}
2022-11-22 20:45:13 +08:00
# build for aops-ceres
%py3_build
# install for aops-ceres
%py3_install
2023-10-23 14:22:34 +08:00
# install for aops-dnf-plugin
cp -r hotpatch %{buildroot}/%{python3_sitelib}/dnf-plugins/
2022-11-22 20:45:13 +08:00
%files
%doc README.*
%attr(0644,root,root) %{_sysconfdir}/aops/ceres.conf
%attr(0644,root,root) /opt/aops/register_example.json
2022-11-22 20:45:13 +08:00
%{python3_sitelib}/aops_ceres*.egg-info
%{python3_sitelib}/ceres/*
%{_bindir}/aops-ceres
2023-10-23 14:22:34 +08:00
%files -n dnf-hotpatch-plugin
%{python3_sitelib}/dnf-plugins/*
2022-11-22 20:45:13 +08:00
%changelog
2023-10-23 14:22:34 +08:00
* Wed Oct 11 2023 wenxin<shusheng.wen@outlook.com> - v1.3.3-1
- add hotpatch plugin
* Wed Sep 20 2023 wenxin<shusheng.wen@outlook.com> - v1.3.2-1
- fix query fixed cves info error by dnf
* Tue Sep 19 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-5
- update func about querying applied hotpatch info
* Tue Sep 19 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-4
- update method of querying fixed cves by dnf plugin
* Wed Sep 13 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-3
- add file sync func
* Wed Sep 13 2023 wenxin<shusheng.wen@outlook.com> - v1.3.1-2
- update func named set_hotpatch_status_by_dnf_plugin
2023-09-11 19:54:59 +08:00
* Mon Sep 11 2023 zhuyuncheng<zhu-yuncheng@huawei.com> - v1.3.1-1
- update rollback task logic, better returned log
- update status code and return None when installed_rpm or available_rpm is empty
2023-08-30 15:32:44 +08:00
* Wed Aug 30 2023 wenxin<shusheng.wen@outlook.com> - v1.3.0-3
- update query disk info func
* Tue Aug 29 2023 wenxin<shusheng.wen@outlook.com> - v1.3.0-2
- fix bug: repeated display of vulnerabilities fixed by hotpatch
2023-08-29 18:53:52 +08:00
* Tue Aug 29 2023 wenxin<shusheng.wen@outlook.com> - v1.3.0-1
- update vulnerability scanning method and vulnerability fix method
2023-06-30 21:10:09 +08:00
* Fri Jun 30 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-7
- update release
* Fri Jun 30 2023 gongzhengtang<gong_zhengtang@163.com> - v1.2.1-6
- Match the correctly applied hot patches
2023-06-21 10:55:53 +08:00
* Wed Jun 21 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-5
- update hostpatch info query func
* Fri Jun 09 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-4
- fix issue: cve fix result doesn't match log
2023-06-02 15:21:17 +08:00
* Fri Jun 02 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-3
- update cve scan and cve fix
* Thu Jun 01 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-2
- modify the return result when no hot patch is matched
2023-05-23 11:55:34 +08:00
* Tue May 23 2023 wenixn<shusheng.wen@outlook.com> - v1.2.1-1
- the client supports hot patch cve rollback
2023-05-11 12:24:38 +08:00
* Thu May 11 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-4
- fix hotpatch fail show succeed bug
2023-05-09 11:24:34 +08:00
* Tue May 9 2023 ptyang<1475324955@qq.com> - v1.2.0-3
- fix hotpatch fail show succeed bug
* Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2
- fix shell command return error;update registe funciton
2023-04-17 21:26:25 +08:00
* Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1
- change usage of the ceres, don't used it as a service
- update function: scan cve and fix cve
- udpate cve fix, support for hotpatch
* Fri Dec 23 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-4
- Handle when the http response result is not 200
2022-12-07 18:00:20 +08:00
* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-3
- update cve fix
* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-2
- modify args of register func, add register file template
2022-11-25 18:35:31 +08:00
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
2023-04-17 21:26:25 +08:00
- remove test cases that use the responses module
2022-11-25 18:35:31 +08:00
2022-11-23 14:12:55 +08:00
* Wed Nov 23 2022 wenxin<shusheng.wen@outlook.com> - v1.0.0-3
- remove test case: remove test case about register
2022-11-23 11:39:23 +08:00
* Wed Nov 23 2022 wenxin<shusheng.wen@outlook.com> - v1.0.0-2
- update register: add field os_version for register
2022-11-23 14:12:55 +08:00
2022-11-22 20:45:13 +08:00
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init