Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2022-02-17 23:40:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Thu Feb 17 23:40:12 2022 rev:240 rq:955550 version:4.4.0+20220217.b8f67f4e

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2022-02-09 
20:40:09.978514646 +0100
+++ /work/SRC/openSUSE:Factory/.crmsh.new.1958/crmsh.changes    2022-02-17 
23:41:39.827700349 +0100
@@ -1,0 +2,17 @@
+Thu Feb 17 04:54:00 UTC 2022 - xli...@suse.com
+
+- Update to version 4.4.0+20220217.b8f67f4e:
+  * Dev: configure.ac: update version as 4.4.0
+  * Update ChangeLog for release 4.4.0
+
+-------------------------------------------------------------------
+Wed Feb 09 15:43:58 UTC 2022 - xli...@suse.com
+
+- Update to version 4.4.0+20220209.0eb4fa28:
+  * Dev: remove unused files for origin unit tests way
+  * Dev: setup.py: update install requires
+  * Dev: README: update with unit tests steps
+  * Dev: crmsh-ci.yml: Add python3.6 and 3.10 into unit test list
+  * Dev: tox: Adjust tox.ini, add py36 and py310 in envlist
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.4.0+20220208.5e6dca1d.tar.bz2

New:
----
  crmsh-4.4.0+20220217.b8f67f4e.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.Fsby1N/_old  2022-02-17 23:41:40.415700345 +0100
+++ /var/tmp/diff_new_pack.Fsby1N/_new  2022-02-17 23:41:40.415700345 +0100
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.4.0+20220208.5e6dca1d
+Version:        4.4.0+20220217.b8f67f4e
 Release:        0
 URL:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Fsby1N/_old  2022-02-17 23:41:40.467700344 +0100
+++ /var/tmp/diff_new_pack.Fsby1N/_new  2022-02-17 23:41:40.467700344 +0100
@@ -9,7 +9,7 @@
 </service>
 <service name="tar_scm">
   <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
-  <param 
name="changesrevision">5e6dca1d792624fce4c5b65d279d015895558135</param>
+  <param 
name="changesrevision">b8f67f4e0eb53af9396d854a8ab740460c70c7ce</param>
 </service>
 </servicedata>
 (No newline at EOF)

++++++ crmsh-4.4.0+20220208.5e6dca1d.tar.bz2 -> 
crmsh-4.4.0+20220217.b8f67f4e.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.4.0+20220208.5e6dca1d/.github/workflows/crmsh-ci.yml 
new/crmsh-4.4.0+20220217.b8f67f4e/.github/workflows/crmsh-ci.yml
--- old/crmsh-4.4.0+20220208.5e6dca1d/.github/workflows/crmsh-ci.yml    
2022-02-08 09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/.github/workflows/crmsh-ci.yml    
2022-02-17 05:38:34.000000000 +0100
@@ -22,20 +22,24 @@
 jobs:
   unit_test:
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version: ['3.6', '3.8', '3.10']
+      fail-fast: false
     timeout-minutes: 5
     steps:
     - uses: actions/checkout@v2
     - name: Set up Python
       uses: actions/setup-python@v2
       with:
-        python-version: 3.8
+        python-version: ${{ matrix.python-version }}
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
         pip install tox
     - name: Test with pytest in tox
       run: |
-        tox -v
+        tox -v -e${{ matrix.python-version }}
 
   functional_test_crm_report_bugs:
     runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/ChangeLog 
new/crmsh-4.4.0+20220217.b8f67f4e/ChangeLog
--- old/crmsh-4.4.0+20220208.5e6dca1d/ChangeLog 2022-02-08 09:44:29.000000000 
+0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/ChangeLog 2022-02-17 05:38:34.000000000 
+0100
@@ -1,5 +1,19 @@
-* Thu Jan 14 2022 Xin Liang <xli...@suse.com>
+* Thu Feb 17 2022 Xin Liang <xli...@suse.com>
 - Release 4.4.0
+- Dev: README: update with unit tests steps
+- Dev: crmsh-ci.yml: Add python3.6 and 3.10 into unit test list
+- Dev: tox: Adjust tox.ini, add py36 and py310 in envlist
+
+* Thu Feb 8 2022 Xin Liang <xli...@suse.com>
+- Release 4.4.0 rc2
+- Fix: sbd: not overwrite SYSCONFIG_SBD and sbd-disk-metadata if input 
'n'(bsc#1194870)
+- Dev: bootstrap: the joining node retries an active cluster
+- Dev: behave: Change docker cgroup driver as systemd
+- Dev: ui_node: Use diff and patch instead of replace cib
+- Dev: crm report: Add dpkg support
+
+* Thu Jan 14 2022 Xin Liang <xli...@suse.com>
+- Release 4.4.0 rc1
 - Fix: bootstrap: Don't change pacemaker.service bootup preference 
(bsc#1194616)
 - Fix: log: Change the log file owner as hacluster:haclient (bsc#1194619)
 - Dev: crm.conf: Add OCF_1_1_SUPPORT flag to control ocf 1.1 feature
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/README.md 
new/crmsh-4.4.0+20220217.b8f67f4e/README.md
--- old/crmsh-4.4.0+20220208.5e6dca1d/README.md 2022-02-08 09:44:29.000000000 
+0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/README.md 2022-02-17 05:38:34.000000000 
+0100
@@ -46,8 +46,12 @@
 
 There are two sets of tests: Unit tests and regression tests.
 
-To run the unit tests, call `test/run`. This uses `nosetests` to run a
-set of test cases that don't need a full Pacemaker environment.
+#### Unit tests
+In local:
+- `pip install tox`
+- In root directory of crmsh project, run `tox`
+
+[In github 
action](https://github.com/ClusterLabs/crmsh/actions/workflows/crmsh-ci.yml)
 
 To run the regression tests in a docker container, use the
 `test/containerized-regression-tests.sh` script. This relies on having
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/configure.ac 
new/crmsh-4.4.0+20220217.b8f67f4e/configure.ac
--- old/crmsh-4.4.0+20220208.5e6dca1d/configure.ac      2022-02-08 
09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/configure.ac      2022-02-17 
05:38:34.000000000 +0100
@@ -8,7 +8,7 @@
 
 AC_PREREQ([2.53])
 
-AC_INIT([crmsh],[4.3.0],[us...@clusterlabs.org])
+AC_INIT([crmsh],[4.4.0],[us...@clusterlabs.org])
 
 AC_ARG_WITH(version,
     [  --with-version=version   Override package version (if you're a packager 
needing to pretend) ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/data-manifest 
new/crmsh-4.4.0+20220217.b8f67f4e/data-manifest
--- old/crmsh-4.4.0+20220208.5e6dca1d/data-manifest     2022-02-08 
09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/data-manifest     2022-02-17 
05:38:34.000000000 +0100
@@ -91,7 +91,6 @@
 test/profile-history.sh
 test/README.regression
 test/regression.sh
-test/run
 test/run-in-container.sh
 test/run-in-travis.sh
 test/testcases/acl
@@ -148,7 +147,6 @@
 test/unittests/corosync.conf.1
 test/unittests/corosync.conf.2
 test/unittests/corosync.conf.3
-test/unit-tests-in-container.sh
 test/unittests/__init__.py
 test/unittests/pacemaker.log
 test/unittests/pacemaker_unicode.log
@@ -203,6 +201,7 @@
 test/unittests/test_ui_cluster.py
 test/unittests/test_utils.py
 test/unittests/test_watchdog.py
+test/unittests/test_xmlutil.py
 test/update-expected-output.sh
 utils/crm_clean.py
 utils/crm_init.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/requirements.txt 
new/crmsh-4.4.0+20220217.b8f67f4e/requirements.txt
--- old/crmsh-4.4.0+20220208.5e6dca1d/requirements.txt  2022-02-08 
09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/requirements.txt  2022-02-17 
05:38:34.000000000 +0100
@@ -1,4 +1,4 @@
 lxml
 PyYAML
-py-dateutil
+python-dateutil
 parallax
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/setup.py 
new/crmsh-4.4.0+20220217.b8f67f4e/setup.py
--- old/crmsh-4.4.0+20220208.5e6dca1d/setup.py  2022-02-08 09:44:29.000000000 
+0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/setup.py  2022-02-17 05:38:34.000000000 
+0100
@@ -10,7 +10,7 @@
       author_email='xli...@suse.com',
       url='http://crmsh.github.io/',
       packages=['crmsh', 'crmsh.crash_test', 'crmsh.report'],
-      install_requires=['parallax', 'lxml', 'PyYAML', 'py-dateutil'],
+      install_requires=['parallax', 'lxml', 'PyYAML', 'python-dateutil'],
       scripts=['bin/crm'],
       data_files=[('/usr/share/crmsh', ['doc/crm.8.adoc'])],
       include_package_data=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/test/run 
new/crmsh-4.4.0+20220217.b8f67f4e/test/run
--- old/crmsh-4.4.0+20220208.5e6dca1d/test/run  2022-02-08 09:44:29.000000000 
+0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/test/run  1970-01-01 01:00:00.000000000 
+0100
@@ -1,19 +0,0 @@
-#!/bin/sh
-if which nosetests-3.6 1>/dev/null 2>&1; then
-       testexec="nosetests-3.6"
-else
-       testexec="nosetests"
-fi
-
-case `pwd` in
-       */test/unittests)
-               PYTHONPATH=../.. $testexec -v -w . "$@"
-               ;;
-       */test)
-               PYTHONPATH=.. $testexec -v -w unittests "$@"
-               ;;
-       *)
-               PYTHONPATH=. $testexec -v -w test/unittests "$@"
-               ;;
-esac
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/test/travis-tests.sh 
new/crmsh-4.4.0+20220217.b8f67f4e/test/travis-tests.sh
--- old/crmsh-4.4.0+20220208.5e6dca1d/test/travis-tests.sh      2022-02-08 
09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/test/travis-tests.sh      1970-01-01 
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -ev
-./autogen.sh
-./configure --prefix=/usr
-sudo make install
-sudo cp -f /usr/bin/crm /usr/sbin/crm
-if [  "$TRAVIS_PYTHON_VERSION" = "2.7_with_system_site_packages" ]; then
-       pip -v --isolated install parallax
-       sudo /usr/share/crmsh/tests/regression.sh
-       cd /usr/share/crmsh/tests
-       sudo ./cib-tests.sh
-fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.4.0+20220208.5e6dca1d/test/unit-tests-in-container.sh 
new/crmsh-4.4.0+20220217.b8f67f4e/test/unit-tests-in-container.sh
--- old/crmsh-4.4.0+20220208.5e6dca1d/test/unit-tests-in-container.sh   
2022-02-08 09:44:29.000000000 +0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/test/unit-tests-in-container.sh   
1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-oname=$1
-ogroup=$2
-ouid=$3
-ogid=$4
-
-cat /etc/group | awk '{ FS = ":" } { print $3 }' | grep -q "$ogid" || groupadd 
-g "$ogid"
-id -u $oname >/dev/null 2>&1 || useradd -u $ouid -g $ogid $oname
-
-preamble() {
-       systemctl start dbus
-}
-
-unit_tests() {
-       echo "** Unit tests"
-       su $oname -c "./test/run -v"
-}
-
-preamble
-unit_tests
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220208.5e6dca1d/tox.ini 
new/crmsh-4.4.0+20220217.b8f67f4e/tox.ini
--- old/crmsh-4.4.0+20220208.5e6dca1d/tox.ini   2022-02-08 09:44:29.000000000 
+0100
+++ new/crmsh-4.4.0+20220217.b8f67f4e/tox.ini   2022-02-17 05:38:34.000000000 
+0100
@@ -1,27 +1,31 @@
 # content of: tox.ini , put in same dir as setup.py
 [tox]
-envlist = py38
+envlist = py36, py38, py310
+skip_missing_interpreters = true
 
 [base]
+changedir = test/unittests
 deps =
-    pylint
     pytest
     pytest-cov
+commands = py.test -vv --cov=crmsh --cov-config .coveragerc --cov-report term 
--cov-report html {posargs}
 
 [testenv]
-changedir=test/unittests
-deps =
-    {[base]deps}
-
-commands =
-    py.test -vv --cov=crmsh --cov-config .coveragerc --cov-report term 
--cov-report html {posargs}
-
-[testenv:py38-codeclimate]
-passenv = TRAVIS TRAVIS_*
-changedir=test/unittests
-deps =
-    {[base]deps}
-
-commands =
-    py.test -vv --cov=crmsh --cov-config .coveragerc --cov-report term 
--cov-report xml
-
+changedir = {[base]changedir}
+deps = {[base]deps}
+commands = {[base]commands}
+
+[testenv:3.6]
+changedir = {[base]changedir}
+deps = {[base]deps}
+commands = {[base]commands}
+
+[testenv:3.8]
+changedir = {[base]changedir}
+deps = {[base]deps}
+commands = {[base]commands}
+
+[testenv:3.10]
+changedir = {[base]changedir}
+deps = {[base]deps}
+commands = {[base]commands}

Reply via email to