Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2020-03-31 17:16:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Tue Mar 31 17:16:47 2020 rev:181 rq:790038 version:4.2.0+git.1585643641.b911e2f1

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2020-03-27 
21:58:01.326818044 +0100
+++ /work/SRC/openSUSE:Factory/.crmsh.new.3160/crmsh.changes    2020-03-31 
17:16:49.691687913 +0200
@@ -1,0 +2,15 @@
+Tue Mar 31 08:46:58 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1585643641.b911e2f1:
+  * Fix: ui_resource: refresh <Tab> should complete resource first(bsc#1167220)
+
+-------------------------------------------------------------------
+Mon Mar 30 08:25:20 UTC 2020 - xli...@suse.com
+
+- Update to version 4.2.0+git.1585556306.3424694f:
+  * Dev: behave: change for deprecated alias
+  * Dev: testcases: change for deprecated alias
+  * Low: ui_context: give warning if using alias command
+  * Fix: doc: Update man page about completion example of crm 
resource(bsc#1166644)
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.2.0+git.1585276059.882beb65.tar.bz2

New:
----
  crmsh-4.2.0+git.1585643641.b911e2f1.tar.bz2

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

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.wwSpqv/_old  2020-03-31 17:16:50.735688577 +0200
+++ /var/tmp/diff_new_pack.wwSpqv/_new  2020-03-31 17:16:50.739688579 +0200
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.2.0+git.1585276059.882beb65
+Version:        4.2.0+git.1585643641.b911e2f1
 Release:        0
 Url:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.wwSpqv/_old  2020-03-31 17:16:50.767688597 +0200
+++ /var/tmp/diff_new_pack.wwSpqv/_new  2020-03-31 17:16:50.767688597 +0200
@@ -5,4 +5,4 @@
                 <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">25123c13b0eb32e24e39d87cce11b5267f95ebe7</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">b911e2f1e12dd566bb01d6ebe3173bab9d4bf7a9</param></service></servicedata>
\ No newline at end of file

++++++ crmsh-4.2.0+git.1585276059.882beb65.tar.bz2 -> 
crmsh-4.2.0+git.1585643641.b911e2f1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/crmsh/ui_context.py 
new/crmsh-4.2.0+git.1585643641.b911e2f1/crmsh/ui_context.py
--- old/crmsh-4.2.0+git.1585276059.882beb65/crmsh/ui_context.py 2020-03-27 
03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/crmsh/ui_context.py 2020-03-31 
10:34:01.000000000 +0200
@@ -76,6 +76,9 @@
                 self.command_info = self.current_level().get_child(token)
                 if not self.command_info:
                     self.fatal_error("No such command")
+                if self.command_name in self.command_info.aliases:
+                    common_warn("This command '{}' is deprecated, please use 
'{}'"\
+                            .format(self.command_name, self.command_info.name))
                 self.command_name = self.command_info.name
                 if self.command_info.type == 'level':
                     self.enter_level(self.command_info.level)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/crmsh/ui_resource.py 
new/crmsh-4.2.0+git.1585643641.b911e2f1/crmsh/ui_resource.py
--- old/crmsh-4.2.0+git.1585276059.882beb65/crmsh/ui_resource.py        
2020-03-27 03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/crmsh/ui_resource.py        
2020-03-31 10:34:01.000000000 +0200
@@ -604,7 +604,7 @@
                                     rsc, cmd, attr, value)
 
     @command.alias('reprobe')
-    @command.completers(compl.nodes)
+    @command.completers(compl.resources, compl.nodes)
     def do_refresh(self, context, rsc=None, node=None, force=False):
         'usage: refresh [<rsc>] [<node>] [force]'
         return self._refresh_cleanup("refresh", rsc, node, force)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.2.0+git.1585276059.882beb65/doc/crm.8.adoc 
new/crmsh-4.2.0+git.1585643641.b911e2f1/doc/crm.8.adoc
--- old/crmsh-4.2.0+git.1585276059.882beb65/doc/crm.8.adoc      2020-03-27 
03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/doc/crm.8.adoc      2020-03-31 
10:34:01.000000000 +0200
@@ -212,15 +212,14 @@
 
 ...............
 crm(live)resource# <TAB><TAB>
-bye           failcount     move          restart       unmigrate
-cd            help          param         show          unmove
-cleanup       list          promote       start         up
-demote        manage        quit          status        utilization
-end           meta          refresh       stop
-exit          migrate       unmanage
+ban           demote        maintenance   param         scores        trace 
+cd            failcount     manage        promote       secret        unmanage 
+cleanup       help          meta          quit          start         untrace 
+clear         locate        move          refresh       status        up 
+constraints   ls            operations    restart       stop          
utilization
 
 crm(live)configure# primitive fence-1 <TAB><TAB>
-heartbeat:  lsb:    ocf:    stonith:
+lsb:      ocf:      service:  stonith:  systemd:
 
 crm(live)configure# primitive fence-1 stonith:<TAB><TAB>
 apcmaster                external/ippower9258     fence_legacy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/crm-interface 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/crm-interface
--- old/crmsh-4.2.0+git.1585276059.882beb65/test/crm-interface  2020-03-27 
03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/test/crm-interface  2020-03-31 
10:34:01.000000000 +0200
@@ -35,7 +35,7 @@
 ms m1 p2
 op_defaults timeout=60s
 commit
-end
+up
 EOF
 }
 crm_show() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/features/bootstrap_bugs.feature 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/features/bootstrap_bugs.feature
--- 
old/crmsh-4.2.0+git.1585276059.882beb65/test/features/bootstrap_bugs.feature    
    2020-03-27 03:27:39.000000000 +0100
+++ 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/features/bootstrap_bugs.feature    
    2020-03-31 10:34:01.000000000 +0200
@@ -27,11 +27,11 @@
     Then    Except "ERROR: cluster.join: Space value not allowed for dest 
"cluster_node""
     When    Try "crm cluster remove -c ' '"
     Then    Except "ERROR: cluster.remove: Space value not allowed for dest 
"cluster_node""
-    When    Try "crm cluster geo-init -a ' '"
+    When    Try "crm cluster geo_init -a ' '"
     Then    Except "ERROR: cluster.geo_init: Space value not allowed for dest 
"arbitrator""
-    When    Try "crm cluster geo-join -c ' '"
+    When    Try "crm cluster geo_join -c ' '"
     Then    Except "ERROR: cluster.geo_join: Space value not allowed for dest 
"cluster_node""
-    When    Try "crm cluster geo-init-arbitrator -c ' '"
+    When    Try "crm cluster geo_init_arbitrator -c ' '"
     Then    Except "ERROR: cluster.geo_init_arbitrator: Space value not 
allowed for dest "cluster_node""
 
   @clean
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/bugs.exp 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/bugs.exp
--- old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/bugs.exp     
2020-03-27 03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/bugs.exp     
2020-03-31 10:34:01.000000000 +0200
@@ -1,6 +1,7 @@
 .TRY Configuration bugs
 .INP: options
 .INP: sort_elements false
+WARNING: 2: This command 'sort_elements' is deprecated, please use 
'sort-elements'
 .INP: up
 .INP: configure
 .INP: erase
@@ -58,6 +59,7 @@
 .TRY Unordered load file
 .INP: options
 .INP: sort_elements false
+WARNING: 2: This command 'sort_elements' is deprecated, please use 
'sort-elements'
 .INP: up
 .INP: configure
 .INP: load update bugs-test.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/confbasic.exp 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/confbasic.exp
--- old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/confbasic.exp        
2020-03-27 03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/confbasic.exp        
2020-03-31 10:34:01.000000000 +0200
@@ -24,6 +24,7 @@
 .INP: ms m d4
 .INP: delete m
 .INP: master m d4
+WARNING: 21: This command 'master' is deprecated, please use 'ms'
 .INP: primitive s5 ocf:pacemaker:Stateful      operations $id-ref=d1-ops
 .EXT crm_resource --show-metadata ocf:pacemaker:Stateful
 .INP: primitive s6 ocf:pacemaker:Stateful      operations $id-ref=d1
@@ -41,7 +42,9 @@
 .INP: location l6 m5   rule $id-ref=l2-rule1
 .INP: location l7 m5   rule $id-ref=l2
 .INP: collocation c1 inf: m6 m5
+WARNING: 36: This command 'collocation' is deprecated, please use 'colocation'
 .INP: collocation c2 inf: m5:Master d1:Started
+WARNING: 37: This command 'collocation' is deprecated, please use 'colocation'
 .INP: order o1 Mandatory: m5 m6
 .INP: order o2 Optional: d1:start m5:promote
 .INP: order o3 Serialize: m5 m6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/history.exp 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/history.exp
--- old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/history.exp  
2020-03-27 03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/history.exp  
2020-03-31 10:34:01.000000000 +0200
@@ -318,6 +318,7 @@
 Dec 14 20:08:43 xen-e crmd: [24228]: info: process_lrm_event: LRM operation 
d1_stop_0 (call=11, rc=0, cib-update=125, confirmed=true) ok
 .INP: # reduce report span
 .INP: timeframe "2012-12-14 20:07:30"
+WARNING: 21: This command 'timeframe' is deprecated, please use 'limit'
 .INP: peinputs
 history-test/xen-e/pengine/pe-input-47.bz2
 history-test/xen-e/pengine/pe-input-48.bz2
@@ -373,6 +374,7 @@
 d1
 .INP: # reset timeframe
 .INP: timeframe
+WARNING: 32: This command 'timeframe' is deprecated, please use 'limit'
 .INP: session save _crmsh_regtest
 .EXT mkdir -p /var/cache/crm/history-root/session/_crmsh_regtest
 .INP: session load _crmsh_regtest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/resource.exp 
new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/resource.exp
--- old/crmsh-4.2.0+git.1585276059.882beb65/test/testcases/resource.exp 
2020-03-27 03:27:39.000000000 +0100
+++ new/crmsh-4.2.0+git.1585643641.b911e2f1/test/testcases/resource.exp 
2020-03-31 10:34:01.000000000 +0200
@@ -142,6 +142,7 @@
 
 .SETENV showobj=cli-prefer-p3
 .TRY resource migrate p3 node1
+WARNING: This command 'migrate' is deprecated, please use 'move'
 .EXT crm_resource --quiet --move --resource 'p3' --node 'node1'
 INFO: Move constraint created for p3 to node1
 .INP: configure
@@ -161,10 +162,12 @@
 
 .SETENV showobj=
 .TRY resource unmigrate p3
+WARNING: This command 'unmigrate' is deprecated, please use 'clear'
 .EXT crm_resource --quiet --clear --resource 'p3'
 INFO: Removed migration constraints for p3
 .SETENV showobj=cli-prefer-p3
 .TRY resource migrate p3 node1 force
+WARNING: This command 'migrate' is deprecated, please use 'move'
 .EXT crm_resource --quiet --move --resource 'p3' --node 'node1' --force
 INFO: Move constraint created for p3 to node1
 .INP: configure
@@ -184,6 +187,7 @@
 
 .SETENV showobj=
 .TRY resource unmigrate p3
+WARNING: This command 'unmigrate' is deprecated, please use 'clear'
 .EXT crm_resource --quiet --clear --resource 'p3'
 INFO: Removed migration constraints for p3
 .SETENV showobj=p0
@@ -911,6 +915,7 @@
 .EXT crm_resource --refresh --resource p3 --node node1 --force
 .TRY resource stop p3
 .TRY configure rm cg
+WARNING: This command 'rm' is deprecated, please use 'delete'
 .TRY configure ms msg g
 .TRY resource scores
 .EXT crm_simulate -sUL


Reply via email to