Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package obs-service-download_files for
openSUSE:Factory checked in at 2021-03-17 20:14:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-download_files (Old)
and /work/SRC/openSUSE:Factory/.obs-service-download_files.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-download_files"
Wed Mar 17 20:14:50 2021 rev:28 rq:874373 version:0.7.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-download_files/obs-service-download_files.changes
2019-02-27 15:08:44.442399666 +0100
+++
/work/SRC/openSUSE:Factory/.obs-service-download_files.new.2401/obs-service-download_files.changes
2021-03-17 20:19:12.547256355 +0100
@@ -1,0 +2,14 @@
+Mon Feb 22 15:36:32 UTC 2021 - [email protected]
+
+- Update to version 0.7.1:
+ * fix enforceupstream option with cold/disabled cache
+
+-------------------------------------------------------------------
+Wed Dec 09 12:22:51 UTC 2020 - [email protected]
+
+- Update to version 0.7.0:
+ * Support modification time header check during download
+ * Fedora dependency updates from cfelder
+ * fix missing dep for appimage parser
+
+-------------------------------------------------------------------
Old:
----
obs-service-download_files-0.6.2.tar.gz
New:
----
obs-service-download_files-0.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-download_files.spec ++++++
--- /var/tmp/diff_new_pack.paxX9w/_old 2021-03-17 20:19:13.035257022 +0100
+++ /var/tmp/diff_new_pack.paxX9w/_new 2021-03-17 20:19:13.035257022 +0100
@@ -1,7 +1,7 @@
#
# spec file for package obs-service-download_files
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,19 +16,25 @@
#
+%if 0%{?fedora} || 0%{?rhel}
+%define build_pkg_name obs-build
+%else
+%define build_pkg_name build
+%endif
+
%define service download_files
Name: obs-service-%{service}
-Version: 0.6.2
+Version: 0.7.1
Release: 0
Summary: An OBS source service: download files
License: GPL-2.0-or-later
Group: Development/Tools/Building
-Url: https://github.com/openSUSE/obs-service-%{service}
+URL: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz
-Requires: build >= 2012.08.24
+Requires: %{build_pkg_name} >= 2012.08.24
+Requires: curl
Requires: diffutils
# for appimage parser:
-Requires: wget
Requires: perl(YAML::XS)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.paxX9w/_old 2021-03-17 20:19:13.063257060 +0100
+++ /var/tmp/diff_new_pack.paxX9w/_new 2021-03-17 20:19:13.067257065 +0100
@@ -1,5 +1,5 @@
pkgname=obs-service-download_files
-pkgver=0.6.2
+pkgver=0.7.1
pkgrel=0
pkgdesc="An OBS source service: download files"
arch=(any)
++++++ _service ++++++
--- /var/tmp/diff_new_pack.paxX9w/_old 2021-03-17 20:19:13.083257087 +0100
+++ /var/tmp/diff_new_pack.paxX9w/_new 2021-03-17 20:19:13.083257087 +0100
@@ -1,14 +1,14 @@
<services>
- <service mode="disabled" name="tar_scm">
+ <service mode="manual" name="tar_scm">
<param
name="url">[email protected]:openSUSE/obs-service-download_files.git</param>
- <param name="revision">0.6.2</param>
- <param name="version">0.6.2</param>
+ <param name="revision">0.7.1</param>
+ <param name="version">0.7.1</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="extract">dist/obs-service-download_files.spec</param>
</service>
- <service mode="disabled" name="set_version"/>
- <service mode="disabled" name="recompress">
+ <service mode="manual" name="set_version"/>
+ <service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.paxX9w/_old 2021-03-17 20:19:13.099257109 +0100
+++ /var/tmp/diff_new_pack.paxX9w/_new 2021-03-17 20:19:13.103257115 +0100
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param
name="url">[email protected]:openSUSE/obs-service-download_files.git</param>
- <param
name="changesrevision">ee0f9031af61452ab4255aa7ec30713ac6ec0b87</param>
+ <param
name="changesrevision">a971333ab62b03f9ee3d6d3f61d56db448287eb0</param>
</service>
<service name="tar_scm">
<param
name="url">https://github.com/M0ses/obs-service-download_files.git</param>
++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.paxX9w/_old 2021-03-17 20:19:13.119257137 +0100
+++ /var/tmp/diff_new_pack.paxX9w/_new 2021-03-17 20:19:13.119257137 +0100
@@ -1,6 +1,6 @@
Format: 1.0
Source: obs-service-download-files
-Version: 0.6.2-0
+Version: 0.7.1-0
Binary: obs-service-download-files
Maintainer: Hib Eris <[email protected]>
Architecture: all
++++++ obs-service-download_files-0.6.2.tar.gz ->
obs-service-download_files-0.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/obs-service-download_files-0.6.2/debian/control
new/obs-service-download_files-0.7.1/debian/control
--- old/obs-service-download_files-0.6.2/debian/control 2018-08-30
08:23:35.000000000 +0200
+++ new/obs-service-download_files-0.7.1/debian/control 2021-02-22
16:34:19.000000000 +0100
@@ -8,7 +8,7 @@
libfile-type-perl,
libhttp-server-simple-perl,
libpath-class-perl,
- wget,
+ curl,
Standards-Version: 3.9.6
Homepage: https://github.com/openSUSE/obs-service-download_files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/obs-service-download_files-0.6.2/dist/obs-service-download_files.spec
new/obs-service-download_files-0.7.1/dist/obs-service-download_files.spec
--- old/obs-service-download_files-0.6.2/dist/obs-service-download_files.spec
2018-08-30 08:23:35.000000000 +0200
+++ new/obs-service-download_files-0.7.1/dist/obs-service-download_files.spec
2021-02-22 16:34:19.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package obs-service-download_files
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-
+%if 0%{?fedora} || 0%{?rhel}
+%define build_pkg_name obs-build
+%else
+%define build_pkg_name build
+%endif
%define service download_files
Name: obs-service-%{service}
-Version: 0.6.0
+Version: 0.6.2
Release: 0
Summary: An OBS source service: download files
License: GPL-2.0-or-later
Group: Development/Tools/Building
Url: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz
-Requires: build >= 2012.08.24
+Requires: %{build_pkg_name} >= 2012.08.24
Requires: diffutils
-Requires: wget
+Requires: curl
+# for appimage parser:
+Requires: perl(YAML::XS)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/obs-service-download_files-0.6.2/download_files
new/obs-service-download_files-0.7.1/download_files
--- old/obs-service-download_files-0.6.2/download_files 2018-08-30
08:23:35.000000000 +0200
+++ new/obs-service-download_files-0.7.1/download_files 2021-02-22
16:34:19.000000000 +0100
@@ -15,16 +15,16 @@
CHANGES_AUTHOR=""
CHANGES_LINES_MAX=30
-WGET="/usr/bin/wget --timeout=30 -q --tries=2 --no-directories"
+CURL=(/usr/bin/curl --location --silent --connect-timeout 30 --retry 2)
# We do not tell the server that we are an OBS tool by default anymore,
# because too many sites just have a white list, but they accept wget
-# WGET="$WGET -U 'OBS-wget'"
+# CURL=("${CURL[@]}" -A 'OBS-wget')
while test $# -gt 0; do
case $1 in
--enforceipv4)
if [[ "$2" == "enable" ]]; then
- WGET="$WGET -4"
+ CURL=("${CURL[@]}" -4)
fi
shift
;;
@@ -83,7 +83,7 @@
fi
if [[ -n "$NOSSLVALIDATION" ]]; then
- WGET="$WGET --no-check-certificate"
+ CURL=("${CURL[@]}" --insecure)
fi
function uncompress_file() {
@@ -242,7 +242,11 @@
elif [ -z "$DORECOMPRESS" ]; then
FILE="${url##*/}"
- if ! $WGET -O "$FILE" -- "$url"; then
+ # avoid re-download if file exists with same modification time and we do
not
+ # enforce a download via enforceupstream.
+ [ -e "$SRCDIR/$FILE" -a "$ENFORCELOCAL" != "yes" -a "$ENFORCEUPSTREAM"
!= "yes" ] && CURL=("${CURL[@]}" --time-cond $SRCDIR/$FILE)
+
+ if ! "${CURL[@]}" -R --output "$FILE" "$url"; then
rm -f "$FILE"
echo "ERROR: Failed to download \"$url\""
exit 1
@@ -252,15 +256,15 @@
FILE="${url##*/}"
FORMAT="${url##*\.}"
- if $WGET -O "$FILE" -- "$url"; then
+ if "${CURL[@]}" -R --output "$FILE" "$url"; then
RECOMPRESS=
- elif $WGET "${url%\.$FORMAT}.gz" -O "${FILE%\.$FORMAT}.gz"; then
+ elif "${CURL[@]}" -R --output "${FILE%\.$FORMAT}.gz"
"${url%\.$FORMAT}.gz"; then
RECOMPRESS="$FORMAT"
FILE="${FILE%\.$FORMAT}.gz"
- elif $WGET "${url%\.$FORMAT}.bz2" -O "${FILE%\.$FORMAT}.bz2"; then
+ elif "${CURL[@]}" -R --output "${FILE%\.$FORMAT}.bz2"
"${url%\.$FORMAT}.bz2"; then
RECOMPRESS="$FORMAT"
FILE="${FILE%\.$FORMAT}.bz2"
- elif $WGET "${url%\.$FORMAT}.xz" -O "${FILE%\.$FORMAT}.xz"; then
+ elif "${CURL[@]}" -R --output "${FILE%\.$FORMAT}.xz"
"${url%\.$FORMAT}.xz"; then
RECOMPRESS="$FORMAT"
FILE="${FILE%\.$FORMAT}.xz"
else