Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-copr-cli for openSUSE:Factory
checked in at 2022-12-09 13:18:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-copr-cli (Old)
and /work/SRC/openSUSE:Factory/.python-copr-cli.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-copr-cli"
Fri Dec 9 13:18:07 2022 rev:4 rq:1041747 version:1.104
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-copr-cli/python-copr-cli.changes
2022-09-27 20:14:28.245898215 +0200
+++
/work/SRC/openSUSE:Factory/.python-copr-cli.new.1835/python-copr-cli.changes
2022-12-09 13:19:34.083571250 +0100
@@ -1,0 +2,7 @@
+Wed Dec 7 15:55:47 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 1.104:
+ - move to GitHub home page
+ - add parameter for custom method repos
+
+-------------------------------------------------------------------
Old:
----
copr-cli-1.103.tar.gz
New:
----
copr-cli-1.104.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-copr-cli.spec ++++++
--- /var/tmp/diff_new_pack.2joylo/_old 2022-12-09 13:19:34.579573885 +0100
+++ /var/tmp/diff_new_pack.2joylo/_new 2022-12-09 13:19:34.583573906 +0100
@@ -16,9 +16,8 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-copr-cli
-Version: 1.103
+Version: 1.104
Release: 0
Summary: Copr cli
License: GPL-2.0-or-later
@@ -76,6 +75,7 @@
%files %{python_files}
%license LICENSE
%python_alternative %{_bindir}/copr-cli
-%{python_sitelib}/*
+%{python_sitelib}/copr_cli
+%{python_sitelib}/copr_cli-%{version}*-info
%changelog
++++++ copr-cli-1.103.tar.gz -> copr-cli-1.104.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/.coveragerc
new/copr-cli-1.104/.coveragerc
--- old/copr-cli-1.103/.coveragerc 1970-01-01 01:00:00.000000000 +0100
+++ new/copr-cli-1.104/.coveragerc 2021-12-12 16:37:48.000000000 +0100
@@ -0,0 +1,10 @@
+[report]
+exclude_lines =
+ pragma: no cover
+ def __repr__
+ if self.debug:
+ if settings.DEBUG
+ raise AssertionError
+ raise NotImplementedError
+ if 0:
+ if __name__ == .__main__.:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/Makefile new/copr-cli-1.104/Makefile
--- old/copr-cli-1.103/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/copr-cli-1.104/Makefile 2022-11-13 21:33:19.000000000 +0100
@@ -0,0 +1,14 @@
+.PHONY: check test lint unittests
+
+# we keep this serialized to avoid messed standard output
+check:
+ $(MAKE) unittests
+ $(MAKE) lint
+
+test: check
+
+unittests:
+ ./run_tests.sh -vv -s
+
+lint:
+ vcs-diff-lint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/PKG-INFO new/copr-cli-1.104/PKG-INFO
--- old/copr-cli-1.103/PKG-INFO 2022-08-18 15:02:42.817345100 +0200
+++ new/copr-cli-1.104/PKG-INFO 2022-11-29 14:16:38.202402800 +0100
@@ -1,8 +1,8 @@
Metadata-Version: 2.1
Name: copr-cli
-Version: 1.103
+Version: 1.104
Summary: CLI tool to run copr
-Home-page: https://pagure.io/copr/copr
+Home-page: https://github.com/fedora-copr/copr
Author: Pierre-Yves Chibon
Author-email: [email protected]
License: GPLv2+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/copr new/copr-cli-1.104/copr
--- old/copr-cli-1.103/copr 1970-01-01 01:00:00.000000000 +0100
+++ new/copr-cli-1.104/copr 2021-12-12 16:37:48.000000000 +0100
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+# Run copr-cli script directly from git.
+# Copyright (C) 2016 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+absdir="$(dirname "$(readlink -f "$0")")"
+export PYTHONPATH="$absdir:$absdir/../python${PYTHONPATH+:$PYTHONPATH}"
+python3 -m copr_cli.main "$@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/copr-cli.spec
new/copr-cli-1.104/copr-cli.spec
--- old/copr-cli-1.103/copr-cli.spec 2022-08-18 15:01:47.000000000 +0200
+++ new/copr-cli-1.104/copr-cli.spec 2022-11-26 21:55:00.000000000 +0100
@@ -9,12 +9,12 @@
%global min_python_copr_version 1.120.3.dev
Name: copr-cli
-Version: 1.103
+Version: 1.104
Release: 1%{?dist}
Summary: Command line interface for COPR
License: GPLv2+
-URL: https://pagure.io/copr/copr
+URL: https://github.com/fedora-copr/copr
# Source is created by:
# git clone %%url && cd copr
@@ -132,6 +132,10 @@
%changelog
+* Sat Nov 26 2022 Jakub Kadlcik <[email protected]> 1.104-1
+- move to GitHub home page
+- add parameter for custom method repos
+
* Tue Aug 16 2022 Jiri Kyjovsky <[email protected]> 1.103-1
- add packit_forge_projects_allowed for Copr projects
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/copr_cli/main.py
new/copr-cli-1.104/copr_cli/main.py
--- old/copr-cli-1.103/copr_cli/main.py 2022-08-18 15:01:47.000000000 +0200
+++ new/copr-cli-1.104/copr_cli/main.py 2022-11-17 20:15:24.000000000 +0100
@@ -407,7 +407,7 @@
'script': ''.join(args.script.readlines()),
}
for arg in ['script_chroot', 'script_builddeps',
- 'script_resultdir']:
+ 'script_resultdir', 'script_repos']:
data[arg] = getattr(args, arg)
return self.process_build(args,
self.client.build_proxy.create_from_custom, data)
@@ -1304,6 +1304,10 @@
'--script-resultdir',
help='where SCRIPT generates the result, relatively to script\'s '
'$PWD (defaults to \'.\')')
+ parser_custom_args_parent.add_argument(
+ '--script-repos',
+ help="space separated string of additional repo urls for script
dependencies"
+ )
#########################################################
### Build options ###
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/copr_cli.egg-info/PKG-INFO
new/copr-cli-1.104/copr_cli.egg-info/PKG-INFO
--- old/copr-cli-1.103/copr_cli.egg-info/PKG-INFO 2022-08-18
15:02:42.000000000 +0200
+++ new/copr-cli-1.104/copr_cli.egg-info/PKG-INFO 2022-11-29
14:16:37.000000000 +0100
@@ -1,8 +1,8 @@
Metadata-Version: 2.1
Name: copr-cli
-Version: 1.103
+Version: 1.104
Summary: CLI tool to run copr
-Home-page: https://pagure.io/copr/copr
+Home-page: https://github.com/fedora-copr/copr
Author: Pierre-Yves Chibon
Author-email: [email protected]
License: GPLv2+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/copr_cli.egg-info/SOURCES.txt
new/copr-cli-1.104/copr_cli.egg-info/SOURCES.txt
--- old/copr-cli-1.103/copr_cli.egg-info/SOURCES.txt 2022-08-18
15:02:42.000000000 +0200
+++ new/copr-cli-1.104/copr_cli.egg-info/SOURCES.txt 2022-11-29
14:16:38.000000000 +0100
@@ -1,6 +1,10 @@
+.coveragerc
LICENSE
MANIFEST.in
+Makefile
+copr
copr-cli.spec
+pylintrc
requirements.txt
run_tests.sh
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/pylintrc new/copr-cli-1.104/pylintrc
--- old/copr-cli-1.103/pylintrc 1970-01-01 01:00:00.000000000 +0100
+++ new/copr-cli-1.104/pylintrc 2022-11-13 21:33:19.000000000 +0100
@@ -0,0 +1,121 @@
+# Copr clients pylint configuration
+
+[MASTER]
+# Pickle collected data for later comparisons.
+persistent=no
+
+init-hook=
+ import os
+ import subprocess
+ gitrootdir = subprocess.check_output(["git", "rev-parse",
"--show-toplevel"]).decode("utf-8").strip()
+ sys.path.insert(0, os.path.join(gitrootdir, '.pylintpath'))
+ import copr_pylintrc
+ copr_pylintrc.init()
+
+
+# Our own pylint transformations.
+load-plugins=pylint_copr_plugin
+
+[MESSAGES CONTROL]
+# Reasoning for wide warning ignore
+# ---------------------------------
+# import-error
+# This is to fix our Jenkins CI where we do not have all the build
+# requirements for all our sub-components. We can afford not listening to
+# this error because our packaging CI would discover the problems anyways.
+# useless-object-inheritance
+# We need to keep compatibility with Python 2 for EL6 and EL7.
+# consider-using-f-string
+# We still support Python 2.7 (EL7) for clients.
+# unspecified-encoding
+# Python2.7: TypeError: 'encoding' is an invalid keyword argument for this
function
+disable=import-error,useless-object-inheritance,super-with-arguments,consider-using-f-string,unspecified-encoding
+
+[VARIABLES]
+# A regular expression matching names used for dummy variables (i.e. not used).
+dummy-variables-rgx=_|dummy
+
+
+[BASIC]
+# Regular expression which should only match correct module names
+module-rgx=([a-zA-Z_][a-zA-Z0-9_]+)$
+
+# Regular expression which should only match correct module level names
+const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
+
+# Regular expression which should only match correct class names
+class-rgx=[a-zA-Z_][a-zA-Z0-9_]+$
+
+# Regular expression which should only match correct function names
+function-rgx=[a-z_][a-zA-Z0-9_]{,42}$
+
+# Regular expression which should only match correct method names
+method-rgx=[a-z_][a-zA-Z0-9_]{,42}$
+
+# Regular expression which should only match correct instance attribute names
+attr-rgx=[a-z_][a-zA-Z0-9_]{,30}$
+
+# Regular expression which should only match correct argument names
+argument-rgx=[a-z_][a-zA-Z0-9_]{,30}$
+
+# Regular expression which should only match correct variable names
+variable-rgx=[a-z_][a-zA-Z0-9_]{,30}$
+
+# Regular expression which should only match correct list comprehension /
+# generator expression variable names
+inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
+
+# Regular expression which should only match correct class sttribute names
+class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,42}|(__.*__))$
+
+# Good variable names which should always be accepted, separated by a comma
+good-names=i,j,k,ex,Run,_
+
+# Bad variable names which should always be refused, separated by a comma
+bad-names=foo,bar,baz,toto,tutu,tata
+
+[DESIGN]
+
+# Maximum number of arguments for function / method
+max-args=10
+
+# Maximum number of locals for function / method body
+max-locals=20
+
+# Maximum number of return / yield for function / method body
+max-returns=6
+
+# Maximum number of branch for function / method body
+max-branches=20
+
+# Maximum number of statements in function / method body
+max-statements=50
+
+# Maximum number of parents for a class (see R0901).
+max-parents=7
+
+# Maximum number of attributes for a class (see R0902).
+max-attributes=7
+
+# Minimum number of public methods for a class (see R0903).
+min-public-methods=1
+
+# Maximum number of public methods for a class (see R0904).
+max-public-methods=20
+
+
+[FORMAT]
+# Maximum number of characters on a single line.
+max-line-length=120
+
+# Maximum number of lines in a module
+max-module-lines=1000
+
+# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
+# tab).
+indent-string=' '
+
+
+[MISCELLANEOUS]
+# List of note tags to take in consideration, separated by a comma.
+notes=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/copr-cli-1.103/setup.py new/copr-cli-1.104/setup.py
--- old/copr-cli-1.103/setup.py 2022-08-18 15:01:47.000000000 +0200
+++ new/copr-cli-1.104/setup.py 2022-11-26 21:55:00.000000000 +0100
@@ -26,12 +26,12 @@
__description__ = "CLI tool to run copr"
__author__ = "Pierre-Yves Chibon"
__author_email__ = "[email protected]"
-__url__ = "https://pagure.io/copr/copr"
+__url__ = "https://github.com/fedora-copr/copr"
setup(
name=__name__,
- version="1.103",
+ version="1.104",
description=__description__,
long_description=long_description,
author=__author__,