Hello community,

here is the log from the commit of package yomi-formula for openSUSE:Factory 
checked in at 2020-09-10 22:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yomi-formula (Old)
 and      /work/SRC/openSUSE:Factory/.yomi-formula.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yomi-formula"

Thu Sep 10 22:47:22 2020 rev:17 rq:832952 version:0.0.1+git.1598948600.9a9eab0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yomi-formula/yomi-formula.changes        
2020-07-30 09:56:07.763071701 +0200
+++ /work/SRC/openSUSE:Factory/.yomi-formula.new.4249/yomi-formula.changes      
2020-09-10 22:47:29.827793511 +0200
@@ -1,0 +2,6 @@
+Tue Sep 01 08:24:05 UTC 2020 - Alberto Planas Dominguez <[email protected]>
+
+- Update to version 0.0.1+git.1598948600.9a9eab0:
+  * Replace fdisk with parted in partitioned
+
+-------------------------------------------------------------------

Old:
----
  yomi-0.0.1+git.1595952633.b300be2.obscpio

New:
----
  yomi-0.0.1+git.1598948600.9a9eab0.obscpio

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

Other differences:
------------------
++++++ yomi-formula.spec ++++++
--- /var/tmp/diff_new_pack.J2Mu13/_old  2020-09-10 22:47:34.255797591 +0200
+++ /var/tmp/diff_new_pack.J2Mu13/_new  2020-09-10 22:47:34.255797591 +0200
@@ -20,7 +20,7 @@
 %define fdir  %{_datadir}/salt-formulas
 
 Name:           yomi-formula
-Version:        0.0.1+git.1595952633.b300be2
+Version:        0.0.1+git.1598948600.9a9eab0
 Release:        0
 Summary:        Yomi - Yet one more installer
 License:        Apache-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.J2Mu13/_old  2020-09-10 22:47:34.295797628 +0200
+++ /var/tmp/diff_new_pack.J2Mu13/_new  2020-09-10 22:47:34.299797632 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/openSUSE/yomi.git</param>
-              <param 
name="changesrevision">b300be26cf6abb246b3e7f5fad7239d20e201515</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">9a9eab076dfb718dc280198c2a4901fbe4b29b17</param></service></servicedata>
\ No newline at end of file

++++++ yomi-0.0.1+git.1595952633.b300be2.obscpio -> 
yomi-0.0.1+git.1598948600.9a9eab0.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1595952633.b300be2/salt/_states/partitioned.py 
new/yomi-0.0.1+git.1598948600.9a9eab0/salt/_states/partitioned.py
--- old/yomi-0.0.1+git.1595952633.b300be2/salt/_states/partitioned.py   
2020-07-28 18:10:33.000000000 +0200
+++ new/yomi-0.0.1+git.1598948600.9a9eab0/salt/_states/partitioned.py   
2020-09-01 10:23:20.000000000 +0200
@@ -70,9 +70,9 @@
     Check if the label match with the device
 
     """
-    label = {"msdos": "dos"}.get(label, label)
-    res = __salt__["cmd.run"](["fdisk", "-l", device])
-    return "disklabel type: {}".format(label) in res.lower()
+    label = {"dos": "msdos"}.get(label, label)
+    res = __salt__["cmd.run"](["parted", "-l", device])
+    return "partition table: {}".format(label) in res.lower()
 
 
 def labeled(name, label):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yomi-0.0.1+git.1595952633.b300be2/tests/test_partitioned.py 
new/yomi-0.0.1+git.1598948600.9a9eab0/tests/test_partitioned.py
--- old/yomi-0.0.1+git.1595952633.b300be2/tests/test_partitioned.py     
2020-07-28 18:10:33.000000000 +0200
+++ new/yomi-0.0.1+git.1598948600.9a9eab0/tests/test_partitioned.py     
2020-09-01 10:23:20.000000000 +0200
@@ -30,7 +30,7 @@
 class PartitionedTestCase(unittest.TestCase):
     @patch("states.partitioned.__salt__")
     def test_check_label(self, __salt__):
-        __salt__.__getitem__.return_value = lambda _: "Disklabel type: dos"
+        __salt__.__getitem__.return_value = lambda _: "Partition Table: msdos"
         self.assertTrue(partitioned._check_label("/dev/sda", "msdos"))
         self.assertTrue(partitioned._check_label("/dev/sda", "dos"))
         self.assertFalse(partitioned._check_label("/dev/sda", "gpt"))
@@ -44,7 +44,7 @@
     def test_labeled(self, __salt__, __opts__):
         __opts__.__getitem__.return_value = False
 
-        __salt__.__getitem__.return_value = lambda _: "Disklabel type: dos"
+        __salt__.__getitem__.return_value = lambda _: "Partition Table: msdos"
         self.assertEqual(
             partitioned.labeled("/dev/sda", "msdos"),
             {
@@ -58,7 +58,7 @@
         __salt__.__getitem__.side_effect = (
             lambda _: "",
             lambda _a, _b: True,
-            lambda _: "Disklabel type: dos",
+            lambda _: "Partition Table: msdos",
         )
         self.assertEqual(
             partitioned.labeled("/dev/sda", "msdos"),

++++++ yomi.obsinfo ++++++
--- /var/tmp/diff_new_pack.J2Mu13/_old  2020-09-10 22:47:34.439797760 +0200
+++ /var/tmp/diff_new_pack.J2Mu13/_new  2020-09-10 22:47:34.439797760 +0200
@@ -1,5 +1,5 @@
 name: yomi
-version: 0.0.1+git.1595952633.b300be2
-mtime: 1595952633
-commit: b300be26cf6abb246b3e7f5fad7239d20e201515
+version: 0.0.1+git.1598948600.9a9eab0
+mtime: 1598948600
+commit: 9a9eab076dfb718dc280198c2a4901fbe4b29b17
 


Reply via email to