diff --git a/common/common.py b/common/common.py index 7bfbcb1bca472176f0d3643ab707aa3ab4b80715..26457910ccbf71f19d7086486399325f4204f519 100644 --- a/common/common.py +++ b/common/common.py @@ -1,8 +1,20 @@ #/bin/env python3 # -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-20 +# ****************************************************************************** + """ -created by: miaokaibo -date: 2020-10-20 15:50 function for all """ diff --git a/common/log_obs.py b/common/log_obs.py index 7e986eed7ad75abf1e4f6668d69adc306471c8bf..b493ee872b95b0cc2b6f8b0007383ed80ad0629f 100644 --- a/common/log_obs.py +++ b/common/log_obs.py @@ -1,5 +1,19 @@ #/bin/env python3 # -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-16 +# ****************************************************************************** + """ logger for all scripts """ diff --git a/common/parser_config.py b/common/parser_config.py index 3ec47729004430dcbb05a4bca2ffe336d0870f1c..590aa97cac981c77d5b83081242e4bacea626f22 100644 --- a/common/parser_config.py +++ b/common/parser_config.py @@ -1,9 +1,20 @@ #/bin/env python3 # -*- encoding=utf8 -*- -""" -created by: miaokaibo -date: 2020-10-20 9:55 +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-20 +# ****************************************************************************** +""" parser config.ini """ import os diff --git a/core/gitee_to_obs.py b/core/gitee_to_obs.py index 9701a8f34c49e2015e2845c6fcabe461f1bee292..ea04658e15f6ae2fedc6091c86dc9e8268077325 100644 --- a/core/gitee_to_obs.py +++ b/core/gitee_to_obs.py @@ -1,8 +1,20 @@ #!/bin/evn python3 - +# -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: yaokai +# Create: 2020-10-26 +# ****************************************************************************** """ -created by :yaokai -date: 2020-10-26 +sync code from gitee to obs """ import sys import os diff --git a/core/package_manager.py b/core/package_manager.py index 8958474cbfcb98239ab42348535887a021ea9124..332a613b2d50a7160b0980a9439f4e6a0fcfbe14 100755 --- a/core/package_manager.py +++ b/core/package_manager.py @@ -1,8 +1,21 @@ #!/bin/env python3 +# -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: wangchong +# Create: 2020-10-26 +# ****************************************************************************** """ -created by: wangchong -date: 2020-10-26 +action for package """ import os diff --git a/core/project_manager.py b/core/project_manager.py index ac385412275a5d7bdb40ac82a1ec8705d866dcd6..be0cce92cda317342cc7aa376ab176d95a42fd19 100644 --- a/core/project_manager.py +++ b/core/project_manager.py @@ -1,9 +1,21 @@ #!/usr/bin/env python3 # -*- encoding=utf-8 -*- +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-29 +# ****************************************************************************** + """ obs project manager -create by: miaokaibo -time: 2020-10-29 """ import re import os diff --git a/core/runner.py b/core/runner.py index cd9caffd4cb8ff8f7687d39c60b75603fff8d22f..2e68636e8a7d7ad5153abadb4c4b491afc605ee2 100644 --- a/core/runner.py +++ b/core/runner.py @@ -1,9 +1,20 @@ #/bin/env python3 # -*- encoding=utf8 -*- -""" -created by: miaokaibo -date: 2020-10-20 9:55 +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-20 +# ****************************************************************************** +""" main script for running """ from common.log_obs import log diff --git a/core/save.py b/core/save.py index ac3dd2aa9bd95bbb8f33561db6eeaf459352a6c8..98184faf06486de8a35fd2257ba4640f9b5dc931 100644 --- a/core/save.py +++ b/core/save.py @@ -1,9 +1,22 @@ #/bin/env python3 # -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-22 +# ****************************************************************************** """ -created by: miaokaibo -date: 2020-10-22 9:30 +save package info """ + import csv import os import sys diff --git a/openeuler_obs.py b/openeuler_obs.py index fa8eecc0a47f29ccf244d507d62c3579a127fb8c..547239fc6a50ea7e8cda333b3d53dacab87c7f39 100644 --- a/openeuler_obs.py +++ b/openeuler_obs.py @@ -1,5 +1,19 @@ - #/bin/env python3 +#/bin/env python3 # -*- encoding=utf8 -*- +#****************************************************************************** +# 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. +# Author: miao_kaibo +# Create: 2020-10-16 +# ****************************************************************************** + """ main script for openeuler-obs """