Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package instsource-susedata for openSUSE:Factory checked in at 2023-11-13 22:17:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/instsource-susedata (Old) and /work/SRC/openSUSE:Factory/.instsource-susedata.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "instsource-susedata" Mon Nov 13 22:17:50 2023 rev:12 rq:1124270 version:0.3.8 Changes: -------- --- /work/SRC/openSUSE:Factory/instsource-susedata/instsource-susedata.changes 2021-05-07 16:44:58.584445245 +0200 +++ /work/SRC/openSUSE:Factory/.instsource-susedata.new.17445/instsource-susedata.changes 2023-11-13 22:20:28.174616245 +0100 @@ -1,0 +2,6 @@ +Wed Nov 8 14:27:17 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to version 0.3.8: + * handle primary xml in zstd format + +------------------------------------------------------------------- Old: ---- instsource-susedata-0.3.7.obscpio New: ---- instsource-susedata-0.3.8.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ instsource-susedata.spec ++++++ --- /var/tmp/diff_new_pack.1mKo9s/_old 2023-11-13 22:20:28.874642019 +0100 +++ /var/tmp/diff_new_pack.1mKo9s/_new 2023-11-13 22:20:28.874642019 +0100 @@ -1,7 +1,7 @@ # # spec file for package instsource-susedata # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Summary: Utility to add susedata to repomd metadata License: GPL-2.0-only Group: System/Management -Version: 0.3.7 +Version: 0.3.8 Release: 0 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ _service ++++++ --- /var/tmp/diff_new_pack.1mKo9s/_old 2023-11-13 22:20:28.898642904 +0100 +++ /var/tmp/diff_new_pack.1mKo9s/_new 2023-11-13 22:20:28.902643050 +0100 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/openSUSE/instsource-susedata.git</param> <param name="scm">git</param> - <param name="version">0.3.7</param> - <param name="revision">0.3.7</param> + <param name="version">0.3.8</param> + <param name="revision">0.3.8</param> <param name="extract">instsource-susedata.changes</param> <param name="extract">instsource-susedata.spec</param> </service> ++++++ instsource-susedata-0.3.7.obscpio -> instsource-susedata-0.3.8.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/instsource-susedata-0.3.7/add_product_susedata new/instsource-susedata-0.3.8/add_product_susedata --- old/instsource-susedata-0.3.7/add_product_susedata 2021-05-04 14:37:03.000000000 +0200 +++ new/instsource-susedata-0.3.8/add_product_susedata 2023-11-08 17:42:43.000000000 +0100 @@ -129,24 +129,26 @@ } sub filedata { - my ($repodir, $filename, $datatype, $unique_filenames) = @_; + my ($repo_dir, $filename, $datatype, $unique_filenames) = @_; my $result; $result->{'type'} = $datatype; $result->{'location'}->{'href'} = "repodata/$filename"; - print "INFO: reading $repodir/repodata/$filename\n"; - open (F, "<", "$repodir/repodata/$filename"); + print "INFO: reading $repo_dir/repodata/$filename\n"; + open (F, "<", "$repo_dir/repodata/$filename"); my $ctx_a = Digest->new($checksum_type); $ctx_a->addfile(*F); my $checksum_a = $ctx_a->hexdigest(); close (F); $result->{'checksum'} = { 'type' => $checksum_type_md, '_content' => $checksum_a }; - my $stat_a = stat("$repodir/repodata/$filename"); + my $stat_a = stat("$repo_dir/repodata/$filename"); $result->{'timestamp'} = $stat_a->mtime; $result->{'size'} = $stat_a->size; - if ($filename =~ /\.gz/) { - open (F, "-|", "gzip -dc $repodir/repodata/$filename"); + if ($filename =~ /\.(?:gz|zst)$/) { + my $decompressor = "gzip"; + $decompressor = "zstd" if $filename =~ /\.zst$/; + open (F, "-|", "$decompressor -dc $repo_dir/repodata/$filename"); my $buffer_b = join("", <F>); close (F); $result->{'open-size'} = length($buffer_b); @@ -158,7 +160,7 @@ if ($unique_filenames) { my $target_filename = $checksum_a."-".$filename; - rename "$repodir/repodata/$filename","$repodir/repodata/$target_filename"; + rename "$repo_dir/repodata/$filename","$repo_dir/repodata/$target_filename"; $result->{'location'}->{'href'} = "repodata/$target_filename" } return $result; @@ -286,12 +288,11 @@ my $prim_filename = $prim_data->{'location'}->{'href'}; print "INFO: reading primary $prim_filename\n"; -my $prgz = gzopen("$repo_dir/$prim_filename", "rb"); -my $buffer; -my $prim_xml; -while ($prgz->gzread($buffer,1048576)) { - $prim_xml .= $buffer; -} +my $prim_decompressor = "gzip"; +$prim_decompressor = "zstd" if $prim_filename =~ /\.zst$/; +open (F, "-|", "$prim_decompressor -dc $repo_dir/$prim_filename"); +my $prim_xml = join("", <F>); +close (F); my $primary = XMLin($ABXML::primary,$prim_xml); $prim_xml = ""; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/instsource-susedata-0.3.7/instsource-susedata.changes new/instsource-susedata-0.3.8/instsource-susedata.changes --- old/instsource-susedata-0.3.7/instsource-susedata.changes 2021-05-04 14:37:03.000000000 +0200 +++ new/instsource-susedata-0.3.8/instsource-susedata.changes 2023-11-08 17:42:43.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 8 14:27:17 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to version 0.3.8: + * handle primary xml in zstd format + +------------------------------------------------------------------- Tue May 04 14:35:48 CEST 2021 - r...@suse.de - update to version 0.3.7 @@ -8,7 +14,7 @@ Thu Apr 15 16:18:09 CEST 2021 - r...@suse.de - update to version 0.3.6 - * add option to add gpg keys as content tags (bsc#1184326) + * add option to add gpg keys as content tags (bsc#1184326) ------------------------------------------------------------------- Wed Apr 29 00:27:25 CEST 2020 - r...@suse.de @@ -62,13 +68,13 @@ ------------------------------------------------------------------- Tue Sep 27 17:41:40 CEST 2016 - r...@suse.de -- use is_opensuse for requiring proper EULAs package +- use is_opensuse for requiring proper EULAs package ------------------------------------------------------------------- Tue Jul 26 12:32:44 CEST 2016 - r...@suse.de - add option "-p" for adding diskusage information to susedata - (fate#320517) + (fate#320517) ------------------------------------------------------------------- Wed Mar 12 11:30:26 CET 2014 - r...@suse.de @@ -78,12 +84,12 @@ ------------------------------------------------------------------- Tue Mar 4 15:05:34 CET 2014 - r...@suse.de -- add appdata.xml.gz and app-icons.tar.gz if exising +- add appdata.xml.gz and app-icons.tar.gz if exising ------------------------------------------------------------------- Tue Mar 4 12:28:08 CET 2014 - r...@suse.de -- drop use of BSUtil.pm +- drop use of BSUtil.pm - drop private copy of ABXML.pm (will be added to inst-source-utils) ------------------------------------------------------------------- @@ -94,5 +100,5 @@ ------------------------------------------------------------------- Tue Feb 25 13:49:54 CET 2014 - r...@suse.de -- created initial package +- created initial package ++++++ instsource-susedata.obsinfo ++++++ --- /var/tmp/diff_new_pack.1mKo9s/_old 2023-11-13 22:20:28.994646438 +0100 +++ /var/tmp/diff_new_pack.1mKo9s/_new 2023-11-13 22:20:28.998646585 +0100 @@ -1,6 +1,5 @@ name: instsource-susedata -version: 0.3.7 -mtime: 1620131823 -commit: d6d5a7bd701dfb665d04a141dc99a441895ea79d - +version: 0.3.8 +mtime: 1699461763 +commit: 037bb9182dd89aaec9c471b206f2e0f4d6d72bb3