Hello community, here is the log from the commit of package duplicity for openSUSE:Factory checked in at 2019-05-21 10:39:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/duplicity (Old) and /work/SRC/openSUSE:Factory/.duplicity.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "duplicity" Tue May 21 10:39:05 2019 rev:45 rq:704208 version:0.7.19 Changes: -------- --- /work/SRC/openSUSE:Factory/duplicity/duplicity.changes 2019-05-02 19:19:33.801659399 +0200 +++ /work/SRC/openSUSE:Factory/.duplicity.new.5148/duplicity.changes 2019-05-21 10:39:29.503121883 +0200 @@ -1,0 +2,6 @@ +Mon May 20 09:10:55 UTC 2019 - mgo...@suse.com + +- Add duplicity-refresh-collections-status.patch: refresh + collections status after sync (lp#1828869). + +------------------------------------------------------------------- New: ---- duplicity-refresh-collections-status.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ duplicity.spec ++++++ --- /var/tmp/diff_new_pack.bGgXtM/_old 2019-05-21 10:39:30.479121249 +0200 +++ /var/tmp/diff_new_pack.bGgXtM/_new 2019-05-21 10:39:30.487121244 +0200 @@ -12,7 +12,7 @@ # 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/ # @@ -26,6 +26,7 @@ URL: http://duplicity.nongnu.org/ Source: https://code.launchpad.net/%{name}/0.7-series/%{version}/+download/%{name}-%{version}.tar.gz Patch1: duplicity-remove_shebang.patch +Patch2: duplicity-refresh-collections-status.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -56,6 +57,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p0 %build %python2_build ++++++ duplicity-refresh-collections-status.patch ++++++ === modified file 'bin/duplicity' --- bin/duplicity 2019-04-24 07:52:22 +0000 +++ bin/duplicity 2019-05-20 08:52:23 +0000 @@ -1049,8 +1049,14 @@ except collections.CollectionsError: # With zero or multiple chains at this time, do a full sync return True - return parsed.end_time >= target_chain.start_time and \ - parsed.start_time <= target_chain.end_time + if parsed.start_time is None and parsed.end_time is None: + start_time = end_time = parsed.time + else: + start_time = parsed.start_time + end_time = parsed.end_time + + return end_time >= target_chain.start_time and \ + start_time <= target_chain.end_time def get_metafiles(filelist): """ @@ -1228,6 +1234,7 @@ globals.backend.pre_process_download(local_missing) for fn in local_missing: copy_to_local(fn) + col_stats.set_values() else: if local_missing: log.Notice(_("Sync would copy the following from remote to local:") +