Hello community,

here is the log from the commit of package yomi-formula for openSUSE:Factory 
checked in at 2019-09-07 12:34:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yomi-formula (Old)
 and      /work/SRC/openSUSE:Factory/.yomi-formula.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yomi-formula"

Sat Sep  7 12:34:14 2019 rev:5 rq:727757 version:0.0.1+git.1566569312.4133e8e

Changes:
--------
--- /work/SRC/openSUSE:Factory/yomi-formula/yomi-formula.changes        
2019-08-27 10:13:23.847971492 +0200
+++ /work/SRC/openSUSE:Factory/.yomi-formula.new.7948/yomi-formula.changes      
2019-09-07 12:34:15.605666960 +0200
@@ -2 +2 @@
-Thu Aug 15 11:27:56 UTC 2019 - Alberto Planas Dominguez <apla...@suse.com>
+Mon Aug 26 11:43:31 UTC 2019 - Alberto Planas Dominguez <apla...@suse.com>
@@ -4 +4,12 @@
-- Update to version 0.0.1+git.1565868437.c6afdff:
+- Lower the priority of /usr/share/yomi/pillar 
+
+-------------------------------------------------------------------
+Fri Aug 23 14:09:03 UTC 2019 - Alberto Planas Dominguez <apla...@suse.com>
+
+- Update to version 0.0.1+git.1566569312.4133e8e:
+  * storage.wipe: state to wipe all devices
+
+-------------------------------------------------------------------
+Fri Aug 23 13:03:26 UTC 2019 - Alberto Planas Dominguez <apla...@suse.com>
+
+- Update to version 0.0.1+git.1566565353.86af2cb:

Old:
----
  yomi-0.0.1+git.1565868437.c6afdff.obscpio

New:
----
  yomi-0.0.1+git.1566569312.4133e8e.obscpio

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

Other differences:
------------------
++++++ yomi-formula.spec ++++++
--- /var/tmp/diff_new_pack.ybMvfU/_old  2019-09-07 12:34:16.273666878 +0200
+++ /var/tmp/diff_new_pack.ybMvfU/_new  2019-09-07 12:34:16.277666877 +0200
@@ -20,7 +20,7 @@
 %define fdir  %{_datadir}/salt-formulas
 
 Name:           yomi-formula
-Version:        0.0.1+git.1565868437.c6afdff
+Version:        0.0.1+git.1566569312.4133e8e
 Release:        0
 Summary:        Yomi - Yet one more installer
 License:        Apache-2.0
@@ -73,8 +73,8 @@
 cat <<EOF > %{buildroot}%{_datadir}/%{fname}/pillar.conf
 pillar_roots:
   base:
-    - /usr/share/yomi/pillar
     - /srv/pillar
+    - /usr/share/yomi/pillar
 EOF
 
 # Configuration and UUIDs for autosign

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ybMvfU/_old  2019-09-07 12:34:16.317666872 +0200
+++ /var/tmp/diff_new_pack.ybMvfU/_new  2019-09-07 12:34:16.317666872 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/openSUSE/yomi.git</param>
-              <param 
name="changesrevision">c6afdff9a63a7805a17a3460f90006d591544cfd</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">4133e8eccc005055eb430263d11ced61521559d7</param></service></servicedata>
\ No newline at end of file

++++++ yomi-0.0.1+git.1565868437.c6afdff.obscpio -> 
yomi-0.0.1+git.1566569312.4133e8e.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1565868437.c6afdff/docs/use-case-as-a-kubic-worker.md 
new/yomi-0.0.1+git.1566569312.4133e8e/docs/use-case-as-a-kubic-worker.md
--- old/yomi-0.0.1+git.1565868437.c6afdff/docs/use-case-as-a-kubic-worker.md    
2019-08-15 13:27:17.000000000 +0200
+++ new/yomi-0.0.1+git.1566569312.4133e8e/docs/use-case-as-a-kubic-worker.md    
2019-08-23 16:08:32.000000000 +0200
@@ -256,6 +256,17 @@
 salt worker2 devices.wipe /dev/sda
 ```
 
+To wipe all the devices defined in the pillars at once, we can apply
+the `yomi.storage.wipe` state.
+
+```bash
+# Make sure that the new modules are in the minion
+salt worker2 saltutil.sync_all
+
+# Remove all the partitions and the filesystem information
+salt worker2 state.apply yomi.storage.wipe
+```
+
 ### Launching Yomi
 
 Finally, to install MicroOS into the new worker, we need to apply the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1565868437.c6afdff/salt/_modules/devices.py 
new/yomi-0.0.1+git.1566569312.4133e8e/salt/_modules/devices.py
--- old/yomi-0.0.1+git.1565868437.c6afdff/salt/_modules/devices.py      
2019-08-15 13:27:17.000000000 +0200
+++ new/yomi-0.0.1+git.1566569312.4133e8e/salt/_modules/devices.py      
2019-08-23 16:08:32.000000000 +0200
@@ -172,7 +172,7 @@
 def _hwinfo_parse_short(report):
     '''Parse the output of hwinfo and return a dictionary'''
     result = {}
-    current_result = None
+    current_result = {}
     key_counter = 0
     for line in report.strip().splitlines():
         if line.startswith('    '):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1565868437.c6afdff/salt/yomi/storage/wipe.sls 
new/yomi-0.0.1+git.1566569312.4133e8e/salt/yomi/storage/wipe.sls
--- old/yomi-0.0.1+git.1565868437.c6afdff/salt/yomi/storage/wipe.sls    
1970-01-01 01:00:00.000000000 +0100
+++ new/yomi-0.0.1+git.1566569312.4133e8e/salt/yomi/storage/wipe.sls    
2019-08-23 16:08:32.000000000 +0200
@@ -0,0 +1,11 @@
+{% import 'macros.yml' as macros %}
+
+{% set partitions = salt.partmod.prepare_partition_data(pillar['partitions']) 
%}
+
+{% for device in partitions %}
+{{ macros.log('module', 'wipe_' ~ device) }}
+wipe_{{ device }}:
+  module.run:
+    - devices.wipe:
+      - device: {{ device }}
+{% endfor %}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1565868437.c6afdff/tests/unit/test_devices.py 
new/yomi-0.0.1+git.1566569312.4133e8e/tests/unit/test_devices.py
--- old/yomi-0.0.1+git.1565868437.c6afdff/tests/unit/test_devices.py    
2019-08-15 13:27:17.000000000 +0200
+++ new/yomi-0.0.1+git.1566569312.4133e8e/tests/unit/test_devices.py    
2019-08-23 16:08:32.000000000 +0200
@@ -126,7 +126,6 @@
             },
             'mouse': {
                 '/dev/input/mice': 'VirtualPS/2 VMware VMMouse',
-                '/dev/input/mice': 'VirtualPS/2 VMware VMMouse',
             },
             'graphics card': {
                 0: 'VGA compatible controller',

++++++ yomi.obsinfo ++++++
--- /var/tmp/diff_new_pack.ybMvfU/_old  2019-09-07 12:34:16.553666843 +0200
+++ /var/tmp/diff_new_pack.ybMvfU/_new  2019-09-07 12:34:16.553666843 +0200
@@ -1,5 +1,5 @@
 name: yomi
-version: 0.0.1+git.1565868437.c6afdff
-mtime: 1565868437
-commit: c6afdff9a63a7805a17a3460f90006d591544cfd
+version: 0.0.1+git.1566569312.4133e8e
+mtime: 1566569312
+commit: 4133e8eccc005055eb430263d11ced61521559d7
 


Reply via email to