Hello community,

here is the log from the commit of package crmsh.15335 for 
openSUSE:Leap:15.2:Update checked in at 2020-12-19 06:23:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/crmsh.15335 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.15335.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh.15335"

Sat Dec 19 06:23:10 2020 rev:1 rq:856095 version:4.2.0+git.1607075079.a25648d8

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

--- /dev/null   2020-12-09 01:05:43.965003977 +0100
+++ /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.15335.new.5145/crmsh.changes     
2020-12-19 06:23:11.306507937 +0100
@@ -0,0 +1,2535 @@
+-------------------------------------------------------------------
+Fri Dec 04 09:50:30 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1607075079.a25648d8:
+  * Fix: bootstrap: use class JoinLock to manage lock in parallel 
join(bsc#1175976)
+  * Fix: utils: improve disable_service and enable_service 
function(bsc#1178701)
+  * Fix: bootstrap: disable corosync-qdevice if not configured(bsc#1178701)
+  * Dev: hb_report: change the default dest data format, more readable
+  * Low: bootstrap: should include /etc/sysconfig/nfs into 
csync2.cfg(bsc#1178373)
+  * Low: bootstrap: minor change for _get_sbd_device_interactive 
function(bsc#1178333)
+
+-------------------------------------------------------------------
+Mon Nov 02 01:01:38 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1604052559.2a348644:
+  * Fix: hb_report: collect corosync.log if it defined in config 
file(bsc#1148874)
+  * Fix: ui_cluster: check service status while start/stop(bsc#1177980)
+  * Dev: bootstrap: stop service which is active, not which is available
+  * Fix: bootstrap: Stop hawk service when removing node(bsc#1175708)
+  * Fix: cibverify: give warning if crm_verify return warning(bsc#1122391)
+  * Dev: doc: remove score related in doc for rsc_order configure
+  * Fix: parse: convert score to kind for rsc_order configure(bsc#1122391)
+  * Fix: bootstrap: remove specific configured address while removing 
node(bsc#1165644)
+
+-------------------------------------------------------------------
+Fri Oct 09 07:05:40 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1602225426.5f84efb5:
+  * Fix: hb_report: fix sanitize functionality(bsc#1163581)
+
+-------------------------------------------------------------------
+Fri Sep 25 09:07:54 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1600915005.e8089225:
+  * FIx start_delay with start-delay(bsc#1176569)
+  * fix on_fail should be on-fail(bsc#1176569)
+  * Low: config: Try to handle configparser.MissingSectionHeaderError while 
reading config file
+  * Medium: ui_configure: Obscure sensitive data by default(bsc#1163581)
+
+-------------------------------------------------------------------
+Fri Sep 11 08:35:49 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1599810948.3db12a7a:
+  * Fix: hb_report: collect archived logs(bsc#1148873, bsc#1176441)
+
+-------------------------------------------------------------------
+Thu Sep 10 02:30:31 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1599702667.157fc6b5:
+  * Low: bootstrap: check whether sbd package installed
+  * Low: bootstrap: Improve qdevice configure process * More reasonable naming 
for variables * More function docstrings * Move function to more reasonable 
location * Create functions to integrate similar functions inside one * Change 
big function to small one, more easier for unit test, like: * Refactor 
functions * Create utils.cluster_run_cmd function to avoid using crm cluster 
run directly in code(jsc#ECO-1745)
+  * Low: bootstrap: swap keys with other nodes when join_ssh(bsc#1176178)
+
+-------------------------------------------------------------------
+Tue Aug 25 06:20:17 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1598257562.570eb99d:
+  * Fix: bootstrap: revert ssh_merge function for compatibility(bsc#1175057)
+  * Fix: bootstrap: adjust sbd config process to fix bug on sbd 
stage(bsc#1175057)
+
+-------------------------------------------------------------------
+Tue Jul 28 12:54:37 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1595940615.c452cc00:
+  * Low: corosync: handle the return code of corosync-quorumtool 
correctly(bsc#1174588)
+
+-------------------------------------------------------------------
+Thu Jul 23 15:43:22 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1595517298.a06e892f:
+  * Low: ui_corosync: copy ssh key to qnetd while detect need 
password(bsc#1174385)
+
+-------------------------------------------------------------------
+Fri Jul 10 07:43:18 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1594286044.7a596d12:
+  * Low: hb_report: Fix collecting of binary data (bsc#1166962)
+  * High: bootstrap: ssh key configuration improvement(bsc#1169581, 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: change ha-cluster-bootstrap log path
+  * Low: ui_corosync: print cluster nodes while getting quorum and qnetd status
+  * Low: bootstrap: exit with proper error messages when ssh return failed
+  * Low: ui_cluster: use argparse choices to validate -i and -t option
+  * Low: corosync: Use with statement  to open file
+  * Fix: ui_resource: refresh <Tab> should complete resource first(bsc#1167220)
+  * Low: ui_context: give warning if using alias command
+  * Low: bootstrap: Simplify bootstrap context
+  * Fix: doc: Update man page about completion example of crm 
resource(bsc#1166644)
+
+- Remove patches:
+  * 0001-Low-bootstrap-Simplify-bootstrap-context.patch
+  * 0002-High-bootstrap-using-class-SBDManager-for-sbd-config.patch 
+
+-------------------------------------------------------------------
+Wed May 27 11:58:42 UTC 2020 - XinLiang <xli...@suse.com>
+
+- Add patches:
+  - Low: bootstrap: Simplify bootstrap context
+    * 0001-Low-bootstrap-Simplify-bootstrap-context.patch
+  - High: bootstrap: using class SBDManager for sbd configuration and 
management(bsc#1170037, bsc#1170999)
+    * 0002-High-bootstrap-using-class-SBDManager-for-sbd-config.patch 
+
+-------------------------------------------------------------------
+Wed Mar 25 01:12:05 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1585096577.f3257c89:
+  * Low: corosync: Improve qdevice configure process
+  * Fix: bootstrap: Change condition to add stonith-sbd resource(bsc#1166967)
+  * Fix: bootstrap: use csync2 '-f' option correctly(bsc#1166684)
+
+-------------------------------------------------------------------
+Fri Mar 13 12:27:32 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1584013187.b45cfcb6:
+  * Fix: crmsh.spec.in: enable completion of crm command(bsc#1166329)
+  * Low: crmsh.spec.in: sync contents from NHF's crmsh.spec file
+  * Low: corosync: check whether local ip has already configured
+  * Low: bootstrap: check whether init node is online while joining
+  * Low: bootstrap: for udpu, don't check join node's ip was in the same 
network
+
+-------------------------------------------------------------------
+Sat Feb 01 08:28:52 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1580544897.c42c9530:
+  * Low: unittest: add unit test to detect_cloud
+
+-------------------------------------------------------------------
+Fri Jan 31 11:01:45 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1580467952.1931808d:
+  * Low: utils: update detect_cloud pattern for aws
+
+-------------------------------------------------------------------
+Wed Jan 29 02:15:11 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1580263559.a2b0f500:
+  * scripts: python3.8 unittest compatibility
+
+-------------------------------------------------------------------
+Wed Jan 22 06:02:01 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1579603179.bf924b8b:
+  * Low: testcases: adjust testcases based on related upstream version
+  * Low: unittest: replace nose with pytest
+  * Low: replace configparser.SafeConfigParser as configparser.ConfigParser
+
+-------------------------------------------------------------------
+Mon Jan 20 11:04:22 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1579517638.06d53d8a:
+  * Low: doc: update configure.set documentation
+  * Low: behave: functional test for configure.set subcommand
+  * Feature: configure: make configure.set to update operation
+
+-------------------------------------------------------------------
+Mon Jan 13 10:32:18 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578911004.c1a33535:
+  * Dev: behave: Not allowed space value for option
+  * Fix: ui_cluster: Not allowed space value for option (bsc#1141976)
+
+-------------------------------------------------------------------
+Fri Jan 10 08:51:14 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578645670.4df2f015:
+  * Dev: unittest: add unit test for dump_D_process function
+  * Fix: hb_report: disable dump all tasks stack into dmesg(bsc#1158060)
+
+-------------------------------------------------------------------
+Fri Jan 10 07:41:56 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578641542.ddda681c:
+  * Dev: behave: varify help output for commands which replace as argparse
+  * Dev: replace optparse with argparse
+
+-------------------------------------------------------------------
+Tue Jan 07 12:39:32 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578400179.830baba1:
+  * Dev: unittest: remove "placement-strategy=balanced" in ut codes
+  * Dev: behave: test placement-strategy value is "default"
+  * Fix: bootstrap: set placement-strategy value as "default"(bsc#1129462)
+
+-------------------------------------------------------------------
+Tue Jan 07 09:34:24 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578389070.fb171448:
+  * Fix: crmsh.spec: using mktemp to create tmp file(bsc#1154163)
+
+-------------------------------------------------------------------
+Tue Jan 07 09:13:02 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1578387778.867a085b:
+  * Dev: bootstrap: Maximum number of SBD device is 3
+  * Dev: bootstrap: improve multi disk sbd usability support both '-s device1 
-s device2' and '-s "device1;device2"' improve the logic of code
++++ 2338 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.crmsh.15335.new.5145/crmsh.changes

New:
----
  _service
  _servicedata
  crmsh-4.2.0+git.1607075079.a25648d8.tar.bz2
  crmsh.changes
  crmsh.spec

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

Other differences:
------------------
++++++ crmsh.spec ++++++
#
# spec file for package crmsh
#
# Copyright (c) 2019 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 https://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.2.0+git.1607075079.a25648d8
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-tox
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

# 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]' {} \;

%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}
tox
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}%{_datadir}/bash-completion/completions/crm
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
%{_datadir}/bash-completion/completions/crm

%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">https://github.com/ClusterLabs/crmsh.git</param>
    <param name="scm">git</param>
    <param name="filename">crmsh</param>
    <param name="versionformat">4.2.0+git.%ct.%h</param>
    <param name="revision">a25648d8</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">b8bb14dbbc9d6a0b1e79d696e64246bec0a98357</param></service><service
 name="tar_scm">
                <param 
name="url">https://github.com/liangxin1300/crmsh.git</param>
              <param 
name="changesrevision">d8dc51b4cb34964aa72e918999ebc7f03b48f3c9</param></service><service
 name="tar_scm">
                <param 
name="url">https://github.com/ClusterLabs/crmsh.git</param>
              <param 
name="changesrevision">f70e90d25bc286997f9ca427d86390a7528b064c</param></service></servicedata>
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to