diff --git a/advisors/issue_report.py b/advisors/issue_report.py old mode 100644 new mode 100755 diff --git a/command/issue_report b/command/issue_report new file mode 100755 index 0000000000000000000000000000000000000000..fe29097422e0d8e61ef25e2cb2803d204a08363a --- /dev/null +++ b/command/issue_report @@ -0,0 +1,25 @@ +#!/usr/bin/env python3 +#****************************************************************************** +# Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. +# licensed under the Mulan PSL v2. +# You can use this software according to the terms and conditions of the Mulan PSL v2. +# You may obtain a copy of Mulan PSL v2 at: +# http://license.coscl.org.cn/MulanPSL2 +# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR +# PURPOSE. +# See the Mulan PSL v2 for more details. +# +# ******************************************************************************/ +""" +This is an automatic script for create issue report for openEuler +""" +from advisors.issue_report import main + + +if __name__ == '__main__': + try: + main() + except Exception as error: + print("WARNING: Command execution error") + print(error.message) diff --git a/openEuler-Advisor.spec b/openEuler-Advisor.spec index fb5a08e9cd8b19bbd8dc182693c2e07825d57f96..67012b1b8e47fc964f2c9101c42c292aa655e3a3 100644 --- a/openEuler-Advisor.spec +++ b/openEuler-Advisor.spec @@ -45,8 +45,12 @@ py.test-%{python3_version} -vv tests || : %attr(0755,root,root) %{_bindir}/tc_reminder %attr(0755,root,root) %{_bindir}/which_archived %attr(0755,root,root) %{_bindir}/prow_review_tool +%attr(0755,root,root) %{_bindir}/issue_report %changelog +* Mon Apr 24 2021 licihua - 1.0-5 +- issue_report: support issue_report + * Fri Jan 22 2021 licihua - 1.0-4 - check_abi: add miss require "libabigail"