Hello community,

here is the log from the commit of package crmsh.14069 for 
openSUSE:Leap:15.1:Update checked in at 2020-09-20 18:20:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/crmsh.14069 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.crmsh.14069.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh.14069"

Sun Sep 20 18:20:21 2020 rev:1 rq:835228 version:4.1.0+git.1599639106.b8652332

Changes:
--------
New Changes file:

--- /dev/null   2020-09-10 00:27:47.435250138 +0200
+++ /work/SRC/openSUSE:Leap:15.1:Update/.crmsh.14069.new.4249/crmsh.changes     
2020-09-20 18:20:25.395870626 +0200
@@ -0,0 +1,2275 @@
+-------------------------------------------------------------------
+Thu Sep 10 02:42:54 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1599639106.b8652332:
+  * Low: bootstrap: swap keys with other nodes when join_ssh(bsc#1176178)
+
+-------------------------------------------------------------------
+Tue Aug 25 03:46:39 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1598258232.7580dd00:
+  * Fix: bootstrap: revert ssh_merge function for compatibility(bsc#1175057)
+  * Fix: bootstrap: adjust sbd config process to fix bug on sbd 
stage(bsc#1175057)
+
+-------------------------------------------------------------------
+Wed Jul 15 09:25:57 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1594697133.dcecb3ec:
+  * Low: hb_report: Fix collecting of binary data (bsc#1166962)
+  * High: bootstrap: ssh key configuration improvement(bsc#1169581, 
jsc#ECO-2035)
+  * High: bootstrap: bootstrap network improvement
+  * Low: cibconfig: Avoid adding the ID attribute to select_* nodes
+  * High: bootstrap: using class SBDManager for sbd configuration and 
management(bsc#1170037, bsc#1170999)
+  * Low: bootstrap: exit with proper error messages when ssh return failed
+  * Low: ui_cluster: use argparse choices to validate -i and -t option
+
+- Remove patch:
+  * 0001-High-bootstrap-using-class-SBDManager-for-sbd-config.patch
+
+-------------------------------------------------------------------
+Tue Jun 30 00:46:44 UTC 2020 - [email protected]
+
+- Add patch:
+  - High: bootstrap: using class SBDManager for sbd configuration and 
management(bsc#1170037, bsc#1170999)
+    * 0001-High-bootstrap-using-class-SBDManager-for-sbd-config.patch
+
+-------------------------------------------------------------------
+Fri Apr 03 00:09:38 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1585823743.3acb5567:
+  * Low: corosync: Use with statement  to open file
+  * Fix: ui_resource: refresh <Tab> should complete resource first(bsc#1167220)
+  * Fix: doc: Update man page about completion example of crm 
resource(bsc#1166644)
+  * Low: ui_context: give warning if using alias command
+  * Fix: bootstrap: Change condition to add stonith-sbd resource(bsc#1166967)
+  * Fix: bootstrap: use csync2 '-f' option correctly(bsc#1166684)
+
+-------------------------------------------------------------------
+Tue Feb 18 04:04:21 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1581993582.18a6b810:
+  * Low: corosync: check whether local ip has already configured
+  * Low: corosync: use custom exception IPAlreadyConfiguredError for 
add_node_ucast
+  * Medium: bootstrap: check whether init node is online while joining
+  * Medium: bootstrap: for udpu, don't check join node's ip was in the same 
network
+  * Low: utils: update detect_cloud pattern for aws
+  * Feature: configure: make configure.set to update operation
+  * Fix: ui_cluster: Not allowed space value for option (bsc#1141976)
+  * Fix: hb_report: disable dump all tasks stack into dmesg(bsc#1158060)
+  * Low: replace optparse with argparse
+
+-------------------------------------------------------------------
+Wed Jan 08 09:16:46 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1578469492.493d5d62:
+  * Feature: bootstrap: Maximum number of SBD device is 3
+  * Feature: bootstrap: improve multi disk sbd usability support both '-s 
device1 -s device2' and '-s "device1;device2"' improve the logic of code
+  * Feature: bootstrap: support multi disk sbd configure
+  * Fix: crmsh.spec: using mktemp to create tmp file(bsc#1154163)
+  * Fix: bootstrap: set placement-strategy value as "default"(bsc#1129462)
+
+-------------------------------------------------------------------
+Thu Jan 02 08:46:21 UTC 2020 - [email protected]
+
+- Update to version 4.1.0+git.1577154653.8af8c12e:
+  * Fix: ui_resource: set resource failcount correctly(bsc#1144241)
+
+-------------------------------------------------------------------
+Tue Dec 03 08:43:40 UTC 2019 - [email protected]
+
+- Update to version 4.1.0+git.1572504697.472361c5:
+  * Fix: corosync: reject append ipaddress to config file if already 
have(bsc#1127095, 1127096)
+  * Fix: ui_cluster: refactor function list_cluster_nodes and handle the None 
situation(bsc#1145520)
+
+-------------------------------------------------------------------
+Thu Oct 17 05:48:41 UTC 2019 - [email protected]
+
+- Update to version 4.1.0+git.1569593061.35f57072:
+  * Fix: utils: fix logic for process non comments line(bsc#1145823)
+  * High: cibconfig: Correctly sanitize the original CIB as patch base 
(bsc#1127716, bsc#1138405)
+  * Revert "high: cibconfig: Use correct CIB as patch base (bsc#1127716)"
+  * Partially revert "medium: cibconfig: Sanitize CIB for patching 
(bsc#1127716)"
+  * dev: Update changelog from 3.0.0 to 4.1.0
+  * Fix: utils: issue in to_ascii (bsc#1138115)
+  * Fix: bootstrap: bindnetaddr should accept both network and specific 
IP(bsc#1135585, bsc#1135586)
+  * Fix: hb_report: analysis.txt should includes warning, error, critical 
messages(bsc#1135696)
+  * medium: ui_node: Check corosync state before clearstate (bsc#1129702)
+  * fix: hb_report: handle UnicodeDecodeError(bsc#1130715)   * setting 
error='replace' to replace invalid utf-8 characters   * try to catch 
UnicodeDecodeError and print traceback
+  * medium: cibconfig: Sanitize CIB for patching (bsc#1127716)
+  * high: cibconfig: Use correct CIB as patch base (bsc#1127716)
+  * medium: parse: Detect and error on illegal ordering of op attributes 
(bsc#1129210)
+  * medium: utils: Handle sysconfig values containing = (bsc#1129317)
+  * low: hb_report: collect output of "sbd dump" and "sbd list"(bsc#1129383)
+  * High: hbreport: fix UnicodeEncodeError while print(bsc#1146922)
+
+- Drop merged patches:
+  * Remove 0001-low-hb_report-collect-output-of-sbd-dump-and-sbd-lis.patch
+  * Remove 0002-dev-hb_report-Using-Tempfile-class-to-manage-tempfil.patch
+  * Remove 0003-fix-hb_report-handle-UnicodeDecodeError-bsc-1130715.patch
+  * Remove 0004-Fix-hb_report-analysis.txt-should-includes-warning-e.patch
+
+-------------------------------------------------------------------
+Thu Aug 29 10:47:03 UTC 2019 - root <[email protected]>
+
+- low: hb_report: collect output of "sbd dump" and "sbd list"(bsc#1129383)
+  * Add 0001-low-hb_report-collect-output-of-sbd-dump-and-sbd-lis.patch
+- dev: hb_report: Using Tempfile class to manage tempfiles
+  * Add 0002-dev-hb_report-Using-Tempfile-class-to-manage-tempfil.patch
+- fix: hb_report: handle UnicodeDecodeError(bsc#1130715)
+  * Add 0003-fix-hb_report-handle-UnicodeDecodeError-bsc-1130715.patch
+- Fix: hb_report: analysis.txt should includes warning, error, critical 
messages(bsc#1135696)
+  * Add 0004-Fix-hb_report-analysis.txt-should-includes-warning-e.patch 
+
+-------------------------------------------------------------------
+Tue Mar 26 08:48:21 UTC 2019 - [email protected]
+
+- Update to version 4.0.0+git.1553262403.5da14df5:
+  * low: msg: add timestamp for DEBUG messages(bsc#1129380)
+  * Fix: bsc#1129719: check command and related files exist
+  * High: constants: add "promotable", "promoted-max" and "promoted-node-max" 
in clone meta attributes
+  * Fix: cibconfig: #425 The ID attribute is not required for select and 
select_attributes
+  * medium: scripts: Set kind for order constraints, not score (bsc#1123187)
+  * low: utils: add support for dpkg
+  * low: utils: add support for apt-get
+  * low: utils: convert string contstants to bytes
+  * Fix: bsc#1120587,bsc#1120586 bootstrap warning messages should better 
start with like "WARNING:" instead of "!"
+  * Fix: bsc#1120554, bsc#1120555 crmsh crashed when using 
configure>template>apply
+  * High: hbreport: fix UnicodeEncodeError while print(bsc#1093564)
+  * low: bootstrap: remove patch 
0001-Fix-bootstrap-bsc-1123028-remove-single-quotation-ma.patch, because this 
bug is caused by openssh
+
+-------------------------------------------------------------------
+Wed Jan 30 10:05:55 2019 +0800 - [email protected]
+
+- Fix: bootstrap: bsc#1123028 remove single quotation marks in scp command
+  * Add 0001-Fix-bootstrap-bsc-1123028-remove-single-quotation-ma.patch
+
+-------------------------------------------------------------------
+Thu Dec 06 08:57:18 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1543873923.0f9166fd:
+  * medium: cibverify: Increase log level for verification (bsc#1116559)
+
+-------------------------------------------------------------------
+Wed Nov 14 09:24:34 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1542103310.dd114188:
+  * high: cibconfig: Normalize - to _ in param names (bsc#1111579)
+  * medium: ra: Handle obsoletes attribute (bsc#1111579)
+
+-------------------------------------------------------------------
+Thu Nov 01 12:51:02 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1540390310.315a48ed:
+  * ui_cluster: restart cluster is added (bsc#1052088)
+  * auto-commit enabling/disabling maintenance mode for a whole cluster 
(bsc#1112593)
+
+-------------------------------------------------------------------
+Mon Oct 08 13:47:39 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1539006450.f80a6308:
+  * medium: bootstrap: Skip netmask check on GCP (bsc#1106946)
+  * medium: utils: Detect local IP on GCP (bsc#1106946)
+
+-------------------------------------------------------------------
+Tue Oct 02 14:55:31 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1538492109.4b1170b0:
+  * medium: bootstrap: Correctly check rrp_mode flag (bsc#1110463)
+  * medium: bootstrap: Pick first match for multiple routes (bsc#1106946)
+  * medium: utils: Use cloud metadata service to discover IP (bsc#1106946)
+  * Fix: bootstrap: change default ip address way for both mcast and 
unicat(bsc#1109975,bsc#1109974)
+
+-------------------------------------------------------------------
+Wed Sep 26 13:10:43 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1537967262.68a0bd1e:
+  * Fix incorrect bindnetaddr in corosync.conf (bsc#1103833) (bsc#1103834)
+
+-------------------------------------------------------------------
+Tue Sep 25 07:44:44 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1537860833.be41d63c:
+  * fix: bootstrap: non interactive unicast cluster init and join(bsc#1109172)
+  * medium: bootstrap: Disable strict host key checking on all ssh invocations
+  * medium: support ocfs2 log collecting
+  * hbreport: process name change for pacemaker 2.0(bsc#1106052)
+  * Fix: bootstrap: "-i" option doesn't work(bsc#1103833, bsc#1103834)
+  * Low: bootstrap: No warning message when using '-q'
++++ 2078 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.1:Update/.crmsh.14069.new.4249/crmsh.changes

New:
----
  _service
  _servicedata
  crmsh-4.1.0+git.1599639106.b8652332.tar.bz2
  crmsh.changes
  crmsh.spec

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

Other differences:
------------------
++++++ crmsh.spec ++++++
#
# spec file for package crmsh
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%bcond_with regression_tests

%global gname haclient
%global uname hacluster
%global crmsh_docdir %{_defaultdocdir}/%{name}

%global upstream_version tip
%global upstream_prefix crmsh
%global crmsh_release 1

%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?rhel} || 0%{?fedora}
%define pkg_group System Environment/Daemons
%else
%define pkg_group Productivity/Clustering/HA
%endif

Name:           crmsh
Summary:        High Availability cluster command-line interface
License:        GPL-2.0-or-later
Group:          %{pkg_group}
Version:        4.1.0+git.1599639106.b8652332
Release:        0
Url:            http://crmsh.github.io
Source0:        %{name}-%{version}.tar.bz2

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
# Requiring pacemaker makes crmsh harder to build on other distributions,
# and is mostly a convenience feature. So only do it for SUSE.
Requires(pre):  pacemaker
%endif
Requires:       %{name}-scripts >= %{version}-%{release}
Requires:       /usr/bin/which
Requires:       python3 >= 3.4
Requires:       python3-lxml
Requires:       python3-parallax
Requires:       python3-python-dateutil
BuildRequires:  python3-lxml
BuildRequires:  python3-setuptools

%if 0%{?suse_version}
# only require csync2 on SUSE since bootstrap
# only works for SUSE at the moment anyway
Requires:       csync2
%endif

%if 0%{?suse_version}
Requires:       python3-PyYAML
# Suse splits this off into a separate package
Requires:       python3-curses
BuildRequires:  fdupes
BuildRequires:  python3-curses
%endif

%if 0%{?fedora_version}
Requires:       PyYAML
%endif

# Required for core functionality
BuildRequires:  asciidoc
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  pkgconfig
BuildRequires:  python3

%if 0%{?suse_version} > 1210
# xsltproc is necessary for manpage generation; this is split out into
# libxslt-tools as of openSUSE 12.2.  Possibly strictly should be
# required by asciidoc
BuildRequires:  libxslt-tools
%endif

%if 0%{?suse_version} > 1110 || 0%{?fedora_version} || 0%{?centos_version} || 
0%{?rhel_version} || 0%{?rhel} || 0%{?fedora}
BuildArch:      noarch
%endif

%description
The crm shell is a command-line interface for High-Availability
cluster management on GNU/Linux systems. It simplifies the
configuration, management and troubleshooting of Pacemaker-based
clusters, by providing a powerful and intuitive set of features.

%package test
Summary:        Test package for crmsh
Group:          %{pkg_group}
Requires:       crmsh
%if %{with regression_tests}
Requires(post):  mailx
Requires(post):  procps
Requires(post):  python3-python-dateutil
Requires(post):  python3-nose
Requires(post):  python3-parallax
Requires(post):  pacemaker
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif
%if 0%{?suse_version}
Requires(post):  libglue-devel
%else
Requires(post):  cluster-glue-libs-devel
%endif
%if 0%{?fedora_version}
Requires(post):  PyYAML
%else
Requires(post):  python3-PyYAML
%endif
%endif

%description test
The crm shell is a command-line interface for High-Availability
cluster management on GNU/Linux systems. It simplifies the
configuration, management and troubleshooting of Pacemaker-based
clusters, by providing a powerful and intuitive set of features.
This package contains the regression test suite for crmsh.

%package scripts
Summary:        Crm Shell Cluster Scripts
Group:          Productivity/Clustering/HA

%description scripts
Cluster scripts for crmsh. The cluster scripts can be run
directly from the crm command line, or used by user interfaces
like hawk to implement configuration wizards.

%prep
%setup -q
touch -r doc/crm.8.adoc{,.timestamp}

# replace the shebang in all the scripts
# with ${_bindir}/python3
find . -type f -exec perl -pi -e 'BEGIN{undef 
$/};s[^#\!/usr/bin/python[3]?][#\!%{_bindir}/python3]' {} \;
find . -type f -exec perl -pi -e 'BEGIN{undef $/};s[^#\!/usr/bin/env 
python[3]?][#\!%{_bindir}/python3]' {} \;

# Force the local time
#
# 'hg archive' sets the file date to the date of the last commit.
# This can result in files having been created in the future
# when building on machines in timezones 'behind' the one the
# commit occurred in - which seriously confuses 'make'
find . -mtime -0 -exec touch \{\} \;
# keep the .adoc mtime because it gets embedded in crm.8.html
touch -r doc/crm.8.adoc{.timestamp,}

%build
./autogen.sh

%{configure}            \
    --sysconfdir=%{_sysconfdir} \
    --localstatedir=%{_var}             \
    --with-version=%{version}    \
    --docdir=%{crmsh_docdir}

make %{_smp_mflags} VERSION="%{version}" sysconfdir=%{_sysconfdir} 
localstatedir=%{_var}

%if %{with regression_tests}
./test/run --quiet
if [ ! $? ]; then
    echo "Unit tests failed."
    exit 1
fi
%endif

%install
make DESTDIR=%{buildroot} docdir=%{crmsh_docdir} install
install -Dm0644 contrib/bash_completion.sh 
%{buildroot}%{_sysconfdir}/bash_completion.d/crm.sh
if [ -f %{buildroot}%{_bindir}/crm ]; then
        install -Dm0755 %{buildroot}%{_bindir}/crm %{buildroot}%{_sbindir}/crm
        rm %{buildroot}%{_bindir}/crm
fi
%if 0%{?suse_version}
%fdupes %{buildroot}
%endif

%if %{with regression_tests}
# Run regression tests after installing the package
# NB: this is called twice by OBS, that's why we touch the file
%post test
testfile=`mktemp -t .crmsh_regression_tests_ran_XXXXXX`
# check if time in file is less than 2 minutes ago
if [ -e $testfile ] && [ "$(( $(date +%s) - $(cat $testfile) ))" -lt 120 ]; then
        echo "Skipping regression tests..."
        exit 0
fi
# write current time to file
rm -f "$testfile"
echo "$(date +%s)" > "$testfile"
%{_datadir}/%{name}/tests/regression.sh
result1=$?
cd %{_datadir}/%{name}/tests
./cib-tests.sh
result2=$?
[ $result1 -ne 0 ] && (echo "Regression tests failed."; cat 
${buildroot}/crmtestout/regression.out)
[ $result2 -ne 0 ] && echo "CIB tests failed."
[ $result1 -eq 0 -a $result2 -eq 0 ]
%endif

%files
###########################################################
%defattr(-,root,root)

%{_sbindir}/crm
%{python3_sitelib}/crmsh*

%{_datadir}/%{name}
%exclude %{_datadir}/%{name}/tests
%exclude %{_datadir}/%{name}/scripts

%doc %{_mandir}/man8/*
%{crmsh_docdir}/COPYING
%{crmsh_docdir}/AUTHORS
%{crmsh_docdir}/crm.8.html
%{crmsh_docdir}/crmsh_hb_report.8.html
%{crmsh_docdir}/ChangeLog
%{crmsh_docdir}/README.md
%{crmsh_docdir}/contrib/*

%config %{_sysconfdir}/crm

%dir %{crmsh_docdir}
%dir %{crmsh_docdir}/contrib
%dir %attr (770, %{uname}, %{gname}) %{_var}/cache/crm
%config %{_sysconfdir}/bash_completion.d/crm.sh

%files scripts
%defattr(-,root,root)
%{_datadir}/%{name}/scripts

%files test
%defattr(-,root,root)
%{_datadir}/%{name}/tests

%changelog
++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">git://github.com/ClusterLabs/crmsh.git</param>
    <param name="scm">git</param>
    <param name="filename">crmsh</param>
    <param name="versionformat">4.1.0+git.%ct.%h</param>
    <param name="revision">b8652332</param>
    <param name="changesgenerate">enable</param>
  </service>

  <service name="recompress" mode="disabled">
    <param name="file">crmsh*.tar</param>
    <param name="compression">bz2</param>
  </service>

  <service name="set_version" mode="disabled">
    <param name="basename">crmsh</param>
  </service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
            <param name="url">git://github.com/ClusterLabs/crmsh.git</param>
          <param 
name="changesrevision">bc579420ec78b85c1bd2345aad6c8ef220c9d401</param></service></servicedata>

Reply via email to