Hello community,

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

Package is "release-compare"

Thu Sep 10 22:53:39 2020 rev:6 rq:833454 version:0.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/release-compare/release-compare.changes  
2020-09-09 18:12:08.875755781 +0200
+++ 
/work/SRC/openSUSE:Factory/.release-compare.new.4249/release-compare.changes    
    2020-09-10 22:55:25.164427662 +0200
@@ -1,0 +2,8 @@
+Thu Sep 10 11:08:09 UTC 2020 - Adrian Schröter <adr...@suse.de>
+
+- update to version 0.3.5
+  * List added/removed rpm binary names, but diff changes
+    via src rpm names
+  * syntax fix
+
+-------------------------------------------------------------------

Old:
----
  release-compare-0.3.4.obscpio

New:
----
  release-compare-0.3.5.obscpio

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

Other differences:
------------------
++++++ release-compare.spec ++++++
--- /var/tmp/diff_new_pack.2BneJc/_old  2020-09-10 22:55:25.700428446 +0200
+++ /var/tmp/diff_new_pack.2BneJc/_new  2020-09-10 22:55:25.700428446 +0200
@@ -21,7 +21,7 @@
 License:        GPL-3.0-or-later
 Group:          Development/Tools/Building
 URL:            https://github.com/openSUSE/release-compare
-Version:        0.3.4
+Version:        0.3.5
 Release:        0
 Source:         %name-%version.tar.xz
 BuildArch:      noarch

++++++ _service ++++++
--- /var/tmp/diff_new_pack.2BneJc/_old  2020-09-10 22:55:25.732428493 +0200
+++ /var/tmp/diff_new_pack.2BneJc/_new  2020-09-10 22:55:25.732428493 +0200
@@ -3,8 +3,8 @@
     <param name="url">https://github.com/openSUSE/release-compare.git</param>
     <param name="scm">git</param>
 
-    <param name="version">0.3.4</param>
-    <param name="revision">0.3.4</param>
+    <param name="version">0.3.5</param>
+    <param name="revision">0.3.5</param>
 
     <param name="extract">release-compare.spec</param>
   </service>

++++++ release-compare-0.3.4.obscpio -> release-compare-0.3.5.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/release-compare-0.3.4/obsgendiff 
new/release-compare-0.3.5/obsgendiff
--- old/release-compare-0.3.4/obsgendiff        2020-09-09 13:44:20.000000000 
+0200
+++ new/release-compare-0.3.5/obsgendiff        2020-09-10 09:52:10.000000000 
+0200
@@ -32,7 +32,7 @@
 echo "Running obsgendiff data differ..."
 
 # create changelogs based on the packaged rpms
-mkdir -p $out/changelogs
+mkdir -p $out/{rpms,changelogs}
 for report in /.build.packages/OTHER/*.report \
   /.build.packages/KIWI/*.packages \
   /.build.packages/DOCKER/*.packages; do
@@ -74,11 +74,12 @@
 
   # REGEXP gets the DISTURL only
   REGEXP='s,.*<binary 
.*disturl="obs://[^-]*-\([^"]*\)".*>.*/\(.*\)</binary>$,\1::::\2,p'
-  [ -n "$PACKAGES_MODE" ] && 
REGEXP='s,\([^|]*\)|\([^|]*\)|\([^|]*\)|\([^|]*\)|\([^|]*\)|obs://[^-]*-\([^|]*\)|.*,\6::::\1-\3-\4.\5.rpm,p''
+  [ -n "$PACKAGES_MODE" ] && 
REGEXP='s,\([^|]*\)|\([^|]*\)|\([^|]*\)|\([^|]*\)|\([^|]*\)|obs://[^-]*-\([^|]*\)|.*,\6::::\1-\3-\4.\5.rpm,p'
   sed -n -e "$REGEXP" "$report" | while read line; do
 
      # rpm file name
      rpm="${line##*::::}"
+     rpm_name=${rpm%-[^-]*-[^-]*.rpm}
      # source package name
      srcname="${line%::::*}"
 
@@ -90,6 +91,7 @@
      # dump changelog for into source package name to avoid duplicates
      # hide "first" lines to hide email adresses
      LC_ALL=C.UTF-8 rpm -qp "$file" --changelog --nodigest --nosignature 
2>/dev/null | sed '/^\* .*@.*/d' > $out/changelogs/${srcname}
+     touch $outs/rpms/${rpm_name}
   done
 
   # create archive
@@ -118,8 +120,8 @@
     echo "================">> $changelog
     echo "">> $changelog
   
-    find "$released/changelogs/" -type f | sort | sed 
"s,^$released/changelogs/,," | while read file; do
-      [ -e "${out}/changelogs/$file" ] || echo " - ${file##*::}" >> $changelog
+    find "$released/rpms/" -type f | sort | sed "s,^$released/rpms/,," | while 
read file; do
+      [ -e "${out}/rpms/$file" ] || echo " - ${file##*::}" >> $changelog
     done
     echo "">> $changelog
   
@@ -127,12 +129,12 @@
     echo "New packages">> $changelog
     echo "============">> $changelog
     echo "">> $changelog
-    find "$out/changelogs/" -type f | sort | sed "s,^$out/changelogs/,," | 
while read file; do
-      [ -e "${released}/changelogs/$file" ] || echo " - ${file##*::}" >> 
$changelog
+    find "$out/rpms/" -type f | sort | sed "s,^$out/rpms/,," | while read 
file; do
+      [ -e "${released}/rpms/$file" ] || echo " - ${file##*::}" >> $changelog
     done
     echo "">> $changelog
   
-    # changed packages
+    # changed packages based on used src rpm name only
     echo "Package updates">> $changelog
     echo "===============">> $changelog
     echo "">> $changelog

++++++ release-compare.obsinfo ++++++
--- /var/tmp/diff_new_pack.2BneJc/_old  2020-09-10 22:55:25.828428634 +0200
+++ /var/tmp/diff_new_pack.2BneJc/_new  2020-09-10 22:55:25.828428634 +0200
@@ -1,5 +1,5 @@
 name: release-compare
-version: 0.3.4
-mtime: 1599651860
-commit: e015e5126c41659cb32e0a6f5b687a04abf7e216
+version: 0.3.5
+mtime: 1599724330
+commit: d4f71a1d3469d53a4c8923f0e197eb3b617b6ca2
 


Reply via email to