Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2021-01-19 15:59:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Tue Jan 19 15:59:22 2021 rev:406 rq:863346 version:4.3.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2020-12-01 14:21:29.569509339 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new.28504/yast2-packager.changes 
2021-01-19 15:59:47.787162495 +0100
@@ -1,0 +2,7 @@
+Fri Jan 15 12:11:32 UTC 2021 - Ancor Gonzalez Sosa <[email protected]>
+
+- Proposal: fixed the logic to detect whether the partitioning has
+  changed since the previous execution (found by bsc#1180537).
+- 4.3.12
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-4.3.11.tar.bz2

New:
----
  yast2-packager-4.3.12.tar.bz2

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.GegG5n/_old  2021-01-19 15:59:48.671163831 +0100
+++ /var/tmp/diff_new_pack.GegG5n/_new  2021-01-19 15:59:48.675163838 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-packager
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.3.11
+Version:        4.3.12
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later

++++++ yast2-packager-4.3.11.tar.bz2 -> yast2-packager-4.3.12.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.3.11/.github/workflows/ci.yml 
new/yast2-packager-4.3.12/.github/workflows/ci.yml
--- old/yast2-packager-4.3.11/.github/workflows/ci.yml  2020-11-27 
15:25:20.000000000 +0100
+++ new/yast2-packager-4.3.12/.github/workflows/ci.yml  2021-01-15 
14:33:35.000000000 +0100
@@ -13,7 +13,7 @@
     steps:
 
     - name: Git Checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
 
     # just for easier debugging...
     - name: Inspect Installed Packages
@@ -38,7 +38,7 @@
     steps:
 
     - name: Git Checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
 
     - name: Rubocop
       run: rake check:rubocop
@@ -50,7 +50,7 @@
     steps:
 
     - name: Git Checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
 
     - name: Package Build
       run: yast-ci-ruby -o package
@@ -62,7 +62,7 @@
     steps:
 
     - name: Git Checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
 
     - name: Yardoc
       run: rake check:doc
@@ -76,7 +76,7 @@
     steps:
 
     - name: Git Checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
 
     - name: Perl Syntax
       run: yast-ci-ruby -o perl_syntax
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.3.11/package/yast2-packager.changes 
new/yast2-packager-4.3.12/package/yast2-packager.changes
--- old/yast2-packager-4.3.11/package/yast2-packager.changes    2020-11-27 
15:25:20.000000000 +0100
+++ new/yast2-packager-4.3.12/package/yast2-packager.changes    2021-01-15 
14:33:35.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Jan 15 12:11:32 UTC 2021 - Ancor Gonzalez Sosa <[email protected]>
+
+- Proposal: fixed the logic to detect whether the partitioning has
+  changed since the previous execution (found by bsc#1180537).
+- 4.3.12
+
+-------------------------------------------------------------------
 Thu Nov 26 22:29:43 UTC 2020 - Josef Reidinger <[email protected]>
 
 - correct add-on spelling (jsc#SLE-14772)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-4.3.11/package/yast2-packager.spec 
new/yast2-packager-4.3.12/package/yast2-packager.spec
--- old/yast2-packager-4.3.11/package/yast2-packager.spec       2020-11-27 
15:25:20.000000000 +0100
+++ new/yast2-packager-4.3.12/package/yast2-packager.spec       2021-01-15 
14:33:35.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        4.3.11
+Version:        4.3.12
 Release:        0
 Summary:        YaST2 - Package Library
 License:        GPL-2.0-or-later
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-4.3.11/src/lib/packager/clients/software_proposal.rb 
new/yast2-packager-4.3.12/src/lib/packager/clients/software_proposal.rb
--- old/yast2-packager-4.3.11/src/lib/packager/clients/software_proposal.rb     
2020-11-27 15:25:20.000000000 +0100
+++ new/yast2-packager-4.3.12/src/lib/packager/clients/software_proposal.rb     
2021-01-15 14:33:35.000000000 +0100
@@ -18,6 +18,7 @@
 # 
------------------------------------------------------------------------------
 
 require "installation/proposal_client"
+require "y2packager/storage_manager_proxy"
 
 module Yast
   # Software installation proposal
@@ -146,22 +147,27 @@
         # save information about target change time in module Packages
         Packages.timestamp = Installation.dirinstall_target_time
       else
-        storage_timestamp = Convert.to_integer(
-          WFM.call("wrapper_storage", ["GetTargetChangeTime"])
-        )
-
         # check the partitioning in installation
-        if Packages.timestamp != storage_timestamp
+        if Packages.timestamp != staging_revision
           # don't set changed if it's the first "change"
           changed = true if Packages.timestamp.nonzero?
         end
-        # save information about target change time in module Packages
-        Packages.timestamp = storage_timestamp
+        # save information about devicegraph revision in module Packages
+        Packages.timestamp = staging_revision
       end
 
+      log.info "partitioning_changed? - #{changed}"
       changed
     end
 
+    # Current revision of the staging storage devicegraph
+    #
+    # @return [Integer]
+    def staging_revision
+      @storage_manager ||= Y2Packager::StorageManagerProxy.new
+      @storage_manager.staging_revision
+    end
+
     # Adjust package locales
     # @return [Boolean] has the language changed
     def adjust_locales

Reply via email to