commit snapper for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-09-25 16:27:00

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.4249 (New)


Package is "snapper"

Fri Sep 25 16:27:00 2020 rev:119 rq:837219 version:0.8.14

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-09-17 
14:40:36.955324903 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.4249/snapper.changes
2020-09-25 16:28:51.211747870 +0200
@@ -1,0 +2,7 @@
+Tue Sep 22 09:17:28 CEST 2020 - aschn...@suse.com
+
+- added option to cleanup to make requested free space available
+  (jsc#SLE-15765)
+- version 0.8.14
+
+---

Old:

  snapper-0.8.13.tar.bz2

New:

  snapper-0.8.14.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:51.927748504 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:51.931748508 +0200
@@ -25,7 +25,7 @@
 %bcond_with coverage
 
 Name:   snapper
-Version:0.8.13
+Version:0.8.14
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2020-09-04 02:00:00.0 +0200
+++ new/debian/changelog2020-09-24 02:00:00.0 +0200
@@ -1,3 +1,11 @@
+snapper (0.8.14) stable; urgency=low
+
+  * Updated to version 0.8.14
+
+  * added option to cleanup to make requested free space available
+
+ -- Arvin Schnell   Wed, 23 Sep 2020 10:32:48 +
+
 snapper (0.8.13) stable; urgency=low
 
   * Updated to version 0.8.13

++ snapper-0.8.13.tar.bz2 -> snapper-0.8.14.tar.bz2 ++
 49138 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:52.611749110 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:52.611749110 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.13
+Version: 0.8.14
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2
+97ad440c734ded9dd785960bc2311901 629245 snapper-0.8.14.tar.bz2

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:52.631749127 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:52.635749131 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.13
+Version: 0.8.14
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2
+97ad440c734ded9dd785960bc2311901 629245 snapper-0.8.14.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:52.655749149 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:52.655749149 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.13
+Version: 0.8.14
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2
+97ad440c734ded9dd785960bc2311901 629245 snapper-0.8.14.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:52.675749166 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:52.675749166 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.13
+Version: 0.8.14
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2
+97ad440c734ded9dd785960bc2311901 629245 snapper-0.8.14.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.dCX4DH/_old  2020-09-25 16:28:52.707749194 +0200
+++ /var/tmp/diff_new_pack.dCX4DH/_new  2020-09-25 16:28:52.707749194 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.13
+Version: 0.8.14
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2
+97ad440c734ded9dd785960bc2311901 629245 snapper-0.8.14.tar.bz2

++ 

commit snapper for openSUSE:Factory

2020-09-17 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-09-17 14:36:53

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.4249 (New)


Package is "snapper"

Thu Sep 17 14:36:53 2020 rev:118 rq:833842 version:0.8.13

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-09-01 
20:08:32.148625175 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.4249/snapper.changes
2020-09-17 14:40:36.955324903 +0200
@@ -1,0 +2,6 @@
+Fri Sep 04 19:10:26 CEST 2020 - aschn...@suse.com
+
+- package new snapperd.service file on Debian based distributions
+  (gh#openSUSE/snapper#557)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:39.343327182 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:39.343327182 +0200
@@ -53,7 +53,7 @@
 %else
 BuildRequires:  pkg-config
 %endif
-%if 0%{?fedora_version} >= 24
+%if 0%{?fedora_version} >= 24 || 0%{?centos_version} >= 800
 BuildRequires:  glibc-langpack-de
 BuildRequires:  glibc-langpack-en
 %endif
@@ -76,7 +76,7 @@
 BuildRequires:  libzypp(plugin:commit)
 %endif
 BuildRequires:  pam-devel
-%if 0%{?fedora_version}
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version}
 BuildRequires:  json-c-devel
 %else
 BuildRequires:  libjson-c-devel

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2020-09-01 02:00:00.0 +0200
+++ new/debian/changelog2020-09-04 02:00:00.0 +0200
@@ -4,7 +4,7 @@
 
   * call fsync after writing snapshot info file (bsc#1078336)
 
- -- Arvin Schnell   Thu, 27 Aug 27 2020 12:35:09 +
+ -- Arvin Schnell   Thu, 27 Aug 2020 12:35:09 +
 
 snapper (0.8.12) stable; urgency=low
 
@@ -12,7 +12,7 @@
 
   * fixed error when using mksubvolume to create /tmp (bsc#1174401)
 
- -- Arvin Schnell   Thu, 23 Jul 23 2020 11:52:31 +
+ -- Arvin Schnell   Thu, 23 Jul 2020 11:52:31 +
 
 snapper (0.8.11) stable; urgency=low
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/snapper.install new/debian/snapper.install
--- old/debian/snapper.install  2020-09-01 02:00:00.0 +0200
+++ new/debian/snapper.install  2020-09-04 02:00:00.0 +0200
@@ -6,3 +6,4 @@
 usr/sbin/snapperd
 usr/share/dbus-1/system-services/org.opensuse.Snapper.service
 usr/share/locale/*/LC_MESSAGES/snapper.mo
+usr/lib/systemd/system/snapperd.service

++ snapper-0.8.13.tar.bz2 ++
 1817 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:40.059327865 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:40.059327865 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4a3900043608203bbe526bc370aed077 628104 snapper-0.8.13.tar.bz2
+bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:40.083327888 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:40.083327888 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4a3900043608203bbe526bc370aed077 628104 snapper-0.8.13.tar.bz2
+bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:40.107327911 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:40.107327911 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4a3900043608203bbe526bc370aed077 628104 snapper-0.8.13.tar.bz2
+bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:40.143327946 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:40.147327949 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4a3900043608203bbe526bc370aed077 628104 snapper-0.8.13.tar.bz2
+bf23e1394db7545833aa14103b52a81e 628107 snapper-0.8.13.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.298DTY/_old  2020-09-17 14:40:40.179327980 +0200
+++ /var/tmp/diff_new_pack.298DTY/_new  2020-09-17 14:40:40.179327980 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:

commit snapper for openSUSE:Factory

2020-09-01 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-09-01 20:07:00

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.3399 (New)


Package is "snapper"

Tue Sep  1 20:07:00 2020 rev:117 rq:830994 version:0.8.13

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-07-30 
10:01:41.279278090 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.3399/snapper.changes
2020-09-01 20:08:32.148625175 +0200
@@ -1,0 +2,23 @@
+Tue Sep 01 09:50:00 CEST 2020 - lnus...@suse.com
+
+- activate snapperd using systemd service
+
+---
+Mon Aug 31 17:18:14 CEST 2020 - aschn...@suse.com
+
+- fix LVM setup for volume groups and logical volumes with one
+  character long names (gh#openSUSE/snapper#465)
+
+---
+Fri Aug 28 11:06:23 CEST 2020 - aschn...@suse.com
+
+- improved error messages for wrong command line options and
+  arguments (bsc#1150156)
+
+---
+Thu Aug 27 12:04:44 CEST 2020 - aschn...@suse.com
+
+- call fsync after writing snapshot info file (bsc#1078336)
+- version 0.8.13
+
+---

Old:

  snapper-0.8.12.tar.bz2

New:

  snapper-0.8.13.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.IXi1de/_old  2020-09-01 20:08:33.332625728 +0200
+++ /var/tmp/diff_new_pack.IXi1de/_new  2020-09-01 20:08:33.336625730 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -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/
 #
 
 
@@ -25,7 +25,7 @@
 %bcond_with coverage
 
 Name:   snapper
-Version:0.8.12
+Version:0.8.13
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -93,7 +93,7 @@
 Summary:Tool for filesystem snapshot management
 License:GPL-2.0-only
 Group:  System/Packages
-Url:http://snapper.io/
+URL:http://snapper.io/
 
 %description
 This package contains snapper, a tool for filesystem snapshot management.
@@ -112,7 +112,7 @@
 export CXXFLAGS="%{optflags} -DNDEBUG"
 %endif
 
-autoreconf -fi
+autoreconf -fvi
 %configure \
--docdir="%{_defaultdocdir}/snapper"\
 %if %{with coverage}
@@ -142,11 +142,11 @@
 %{find_lang} snapper
 
 %check
-make check VERBOSE=1
+make %{?_smp_mflags} check VERBOSE=1
 
 %pre
 %if 0%{?suse_version}
-%service_add_pre snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%service_add_pre snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer snapperd.service
 %endif
 
 %post
@@ -161,17 +161,17 @@
  systemctl preset snapper-cleanup.timer || :
  systemctl is-enabled -q snapper-cleanup.timer && systemctl start 
snapper-cleanup.timer || :
 fi
-%service_add_post snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%service_add_post snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer snapperd.service
 %endif
 
 %preun
 %if 0%{?suse_version}
-%service_del_preun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%service_del_preun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer snapperd.service
 %endif
 
 %postun
 %if 0%{?suse_version}
-%service_del_postun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%service_del_postun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer snapperd.service
 %endif
 
 %files -f snapper.lang
@@ -190,7 +190,7 @@
 %doc 

commit snapper for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-07-30 10:00:40

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.3592 (New)


Package is "snapper"

Thu Jul 30 10:00:40 2020 rev:116 rq:823429 version:0.8.12

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-07-16 
12:09:51.810443667 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.3592/snapper.changes
2020-07-30 10:01:41.279278090 +0200
@@ -1,0 +2,6 @@
+Thu Jul 23 11:52:31 CEST 2020 - aschn...@suse.com
+
+- fixed error when using mksubvolume to create /tmp (bsc#1174401)
+- version 0.8.12
+
+---

Old:

  snapper-0.8.11.tar.bz2

New:

  snapper-0.8.12.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.7xuJBY/_old  2020-07-30 10:01:42.411278766 +0200
+++ /var/tmp/diff_new_pack.7xuJBY/_new  2020-07-30 10:01:42.415278768 +0200
@@ -25,7 +25,7 @@
 %bcond_with coverage
 
 Name:   snapper
-Version:0.8.11
+Version:0.8.12
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2020-07-15 02:00:00.0 +0200
+++ new/debian/changelog2020-07-29 02:00:00.0 +0200
@@ -1,3 +1,27 @@
+snapper (0.8.12) stable; urgency=low
+
+  * Updated to version 0.8.12
+
+  * fixed error when using mksubvolume to create /tmp (bsc#1174401)
+
+ -- Arvin Schnell   Thu, 23 Jul 23 2020 11:52:31 +
+
+snapper (0.8.11) stable; urgency=low
+
+  * Updated to version 0.8.11
+
+  * added error handing for failed ambit detection (bsc#1174038)
+
+ -- Arvin Schnell   Mon, 13 Jul 2020 11:29:13 +
+
+snapper (0.8.10) stable; urgency=low
+
+  * Updated to version 0.8.11
+
+  * special rollback for transactional server (bsc#1172273)
+
+ -- Arvin Schnell   Tue, 16 Jun 2020 18:31:47 +
+
 snapper (0.8.9) stable; urgency=low
 
   * Fix "Snapper is not creating the post snapshot" (bsc#1160938)

++ snapper-0.8.11.tar.bz2 -> snapper-0.8.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.11/VERSION new/snapper-0.8.12/VERSION
--- old/snapper-0.8.11/VERSION  2020-07-15 02:00:00.0 +0200
+++ new/snapper-0.8.12/VERSION  2020-07-29 02:00:00.0 +0200
@@ -1 +1 @@
-0.8.11
+0.8.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.11/client/Makefile.am 
new/snapper-0.8.12/client/Makefile.am
--- old/snapper-0.8.11/client/Makefile.am   2020-07-15 02:00:00.0 
+0200
+++ new/snapper-0.8.12/client/Makefile.am   2020-07-29 02:00:00.0 
+0200
@@ -14,7 +14,7 @@
commands.cc commands.h  \
errors.cc   errors.h
 
-libclient_la_LIBADD =  utils/libutils.la ../dbus/libdbus.la
+libclient_la_LIBADD = utils/libutils.la ../dbus/libdbus.la
 
 bin_PROGRAMS = snapper
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.11/client/mksubvolume.cc 
new/snapper-0.8.12/client/mksubvolume.cc
--- old/snapper-0.8.11/client/mksubvolume.cc2020-07-15 02:00:00.0 
+0200
+++ new/snapper-0.8.12/client/mksubvolume.cc2020-07-29 02:00:00.0 
+0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2015-2017] SUSE LLC
+ * Copyright (c) [2015-2020] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -47,8 +47,68 @@
 bool verbose = false;
 
 
+class TmpMountpoint
+{
+
+public:
+
+TmpMountpoint(const libmnt_fs* fs, const string& subvol_opts);
+~TmpMountpoint();
+
+const string& get_path() const { return path; }
+
+private:
+
+void do_tmp_mount(const string& subvol_option) const;
+void do_tmp_umount() const;
+
+const libmnt_fs* fs;
+string path;
+
+};
+
+
+TmpMountpoint::TmpMountpoint(const libmnt_fs* fs, const string& subvol_opts)
+: fs(fs)
+{
+char tmp[] = "/tmp/mksubvolume-XX";
+
+if (mkdtemp(tmp) == nullptr)
+   throw runtime_error_with_errno("mkdtemp failed", errno);
+
+path = tmp;
+
+if (verbose)
+   cout << "tmp directory is " << path << endl;
+
+try
+{
+   do_tmp_mount(subvol_opts);
+}
+catch (...)
+{
+   rmdir(path.c_str());
+   throw;
+}
+}
+
+
+TmpMountpoint::~TmpMountpoint()
+{
+try
+{
+   do_tmp_umount();
+   rmdir(path.c_str());
+}
+catch (...)
+{
+   cerr << "failed to unmount and remove tmp 

commit snapper for openSUSE:Factory

2020-07-16 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-07-16 12:08:51

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.3592 (New)


Package is "snapper"

Thu Jul 16 12:08:51 2020 rev:115 rq:821038 version:0.8.11

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-06-21 
19:08:22.752941032 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.3592/snapper.changes
2020-07-16 12:09:51.810443667 +0200
@@ -1,0 +2,6 @@
+Mon Jul 13 11:29:13 CEST 2020 - aschn...@suse.com
+
+- added error handing for failed ambit detection (bsc#1174038)
+- version 0.8.11
+
+---

Old:

  snapper-0.8.10.tar.bz2

New:

  snapper-0.8.11.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.142446025 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.146446029 +0200
@@ -25,7 +25,7 @@
 %bcond_with coverage
 
 Name:   snapper
-Version:0.8.10
+Version:0.8.11
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -49,6 +49,7 @@
 %endif
 %if 0%{?fedora_version} >= 23
 BuildRequires:  pkgconfig
+BuildRequires:  systemd
 %else
 BuildRequires:  pkg-config
 %endif

++ debian.tar.gz ++

++ snapper-0.8.10.tar.bz2 -> snapper-0.8.11.tar.bz2 ++
 3704 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.634446523 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.634446523 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2
+2e9ab35e11595871fbaf628e6960364d 619701 snapper-0.8.11.tar.bz2

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.654446543 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.654446543 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2
+2e9ab35e11595871fbaf628e6960364d 619701 snapper-0.8.11.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.674446562 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.674446562 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2
+2e9ab35e11595871fbaf628e6960364d 619701 snapper-0.8.11.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.694446583 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.694446583 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2
+2e9ab35e11595871fbaf628e6960364d 619701 snapper-0.8.11.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.710446599 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.710446599 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2
+2e9ab35e11595871fbaf628e6960364d 619701 snapper-0.8.11.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.K1m4qL/_old  2020-07-16 12:09:54.726446616 +0200
+++ /var/tmp/diff_new_pack.K1m4qL/_new  2020-07-16 12:09:54.730446619 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.10
+Version: 0.8.11
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:

commit snapper for openSUSE:Factory

2020-06-22 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-06-21 19:04:18

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.3606 (New)


Package is "snapper"

Sun Jun 21 19:04:18 2020 rev:114 rq:816060 version:0.8.10

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-04-09 
23:14:24.794208374 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.3606/snapper.changes
2020-06-21 19:08:22.752941032 +0200
@@ -1,0 +2,6 @@
+Tue Jun 16 18:31:47 CEST 2020 - aschn...@suse.com
+
+- special rollback for transactional server (bsc#1172273)
+- version 0.8.10
+
+---

Old:

  snapper-0.8.9.tar.bz2

New:

  snapper-0.8.10.tar.bz2
  snapper-xUbuntu_20.04.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:23.332942941 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:23.336942953 +0200
@@ -25,7 +25,7 @@
 %bcond_with coverage
 
 Name:   snapper
-Version:0.8.9
+Version:0.8.10
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++

++ snapper-0.8.9.tar.bz2 -> snapper-0.8.10.tar.bz2 ++
 27542 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.056945323 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.056945323 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.080945401 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.080945401 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.100945467 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.100945467 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.120945533 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.120945533 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.140945599 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.140945599 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.EgWRvY/_old  2020-06-21 19:08:24.160945665 +0200
+++ /var/tmp/diff_new_pack.EgWRvY/_new  2020-06-21 19:08:24.160945665 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.9
+Version: 0.8.10
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c24a9470ce285ee35ac6e6232f7e90bf 624804 snapper-0.8.9.tar.bz2
+228e1e26ea21f87f13b2c91863aa7a2f 624013 snapper-0.8.10.tar.bz2

++ 

commit snapper for openSUSE:Factory

2020-04-09 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-04-09 23:14:22

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.3248 (New)


Package is "snapper"

Thu Apr  9 23:14:22 2020 rev:113 rq:791811 version:0.8.9

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-01-30 
09:38:20.741392008 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.3248/snapper.changes
2020-04-09 23:14:24.794208374 +0200
@@ -1,0 +2,6 @@
+Mon Apr 06 16:22:29 CEST 2020 - aschn...@suse.com
+
+- updated translations (bsc#1149754)
+- generate dsc file for Ubuntu 19.10
+
+---

New:

  snapper-xUbuntu_19.10.dsc



Other differences:
--
++ debian.tar.gz ++

++ snapper-0.8.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.9/Makefile.am 
new/snapper-0.8.9/Makefile.am
--- old/snapper-0.8.9/Makefile.am   2020-01-28 01:00:00.0 +0100
+++ new/snapper-0.8.9/Makefile.am   2020-04-06 02:00:00.0 +0200
@@ -30,7 +30,8 @@
 xUbuntu_17.10  \
 xUbuntu_18.04  \
 xUbuntu_18.10  \
-xUbuntu_19.04
+xUbuntu_19.04  \
+xUbuntu_19.10
 
 show-debian:
@echo "Debian flavors: $(DEBIAN_FLAVOURS)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.9/Makefile.in 
new/snapper-0.8.9/Makefile.in
--- old/snapper-0.8.9/Makefile.in   2020-01-28 01:00:00.0 +0100
+++ new/snapper-0.8.9/Makefile.in   2020-04-06 02:00:00.0 +0200
@@ -415,7 +415,8 @@
 xUbuntu_17.10  \
 xUbuntu_18.04  \
 xUbuntu_18.10  \
-xUbuntu_19.04
+xUbuntu_19.04  \
+xUbuntu_19.10
 
 
 # Run `make coverage` after all the tests have been run.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.9/po/ca.po new/snapper-0.8.9/po/ca.po
--- old/snapper-0.8.9/po/ca.po  2020-01-28 01:00:00.0 +0100
+++ new/snapper-0.8.9/po/ca.po  2020-04-06 02:00:00.0 +0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: @PACKAGE@\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2019-10-15 11:05+0200\n"
-"PO-Revision-Date: 2019-11-27 19:54+\n"
+"PO-Revision-Date: 2020-02-12 17:54+\n"
 "Last-Translator: David Medina \n"
 "Language-Team: Catalan \n"
@@ -363,7 +363,7 @@
 msgstr "Config és en ús."
 
 msgid "Config is locked."
-msgstr "Config està bloquejat."
+msgstr "Config està blocat."
 
 #, c-format
 msgid "Configdata '%s' does not include '=' sign."
@@ -585,7 +585,8 @@
 msgstr "Subvolum"
 
 msgid "The config 'root' does not exist. Likely snapper is not configured."
-msgstr "La config \"root\" no existeix. Potser l'snapper no està configurat."
+msgstr ""
+"La configuració \"root\" no existeix. Potser l'snapper no està configurat."
 
 #. TRANSLATORS: symbol for "tebi bytes" (best keep untranslated)
 msgid "TiB"
@@ -678,7 +679,7 @@
 msgstr "Res a fer"
 
 msgid "root argument can be used only together with no-dbus."
-msgstr "l'argument root només es pot usar conjuntament amb no-dbus."
+msgstr "l'argument d'arrel només es pot usar conjuntament amb no-dbus."
 
 msgid "usage: snapper [--global-options]  [--command-options] 
[command-arguments]"
 msgstr "ús: snapper [--global-options]  [--command-options] 
[command-arguments]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.9/po/es.po new/snapper-0.8.9/po/es.po
--- old/snapper-0.8.9/po/es.po  2020-01-28 01:00:00.0 +0100
+++ new/snapper-0.8.9/po/es.po  2020-04-06 02:00:00.0 +0200
@@ -4,15 +4,16 @@
 "Project-Id-Version: snapper\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2019-10-15 11:05+0200\n"
-"PO-Revision-Date: 2019-03-01 20:28+\n"
-"Last-Translator: jcsl \n"
-"Language-Team: Spanish 
\n"
+"PO-Revision-Date: 2020-02-20 00:54+\n"
+"Last-Translator: Juan Sarria \n"
+"Language-Team: Spanish \n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.3\n"
+"X-Generator: Weblate 3.6.1\n"
 
 msgid "\t--all-configs, -a\t\tList snapshots from all accessible configs."
 msgstr "\t--all-configs, -a\t\tMuestra las instantáneas de todas las 
configuraciones a las que se puede acceder."
@@ -48,6 +49,7 @@
 
 msgid "\t--from\t\t\t\tCreate a 

commit snapper for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-01-30 09:37:45

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.26092 (New)


Package is "snapper"

Thu Jan 30 09:37:45 2020 rev:112 rq:767949 version:0.8.9

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2020-01-11 
14:38:55.989158510 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.26092/snapper.changes   
2020-01-30 09:38:20.741392008 +0100
@@ -1,0 +2,7 @@
+Thu Jan 16 13:01:15 UTC 2020 - Martin Vidner 
+
+- Fix "Snapper is not creating the post snapshot" (bsc#1160938)
+- Fix `make clean; make check` failing in zypp-plugin (bsc#1160891)
+- version 0.8.9
+
+---

Old:

  snapper-0.8.8.tar.bz2

New:

  snapper-0.8.9.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.6mYyLc/_old  2020-01-30 09:38:22.389392889 +0100
+++ /var/tmp/diff_new_pack.6mYyLc/_new  2020-01-30 09:38:22.393392892 +0100
@@ -21,8 +21,11 @@
   %define _fillupdir /var/adm/fillup-templates
 %endif
 
+# optionally build with test coverage reporting
+%bcond_with coverage
+
 Name:   snapper
-Version:0.8.8
+Version:0.8.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -77,6 +80,9 @@
 %else
 BuildRequires:  libjson-c-devel
 %endif
+%if %{with coverage}
+BuildRequires:  lcov
+%endif
 Requires:   diffutils
 Requires:   libsnapper5 = %version
 %if 0%{?suse_version}
@@ -95,12 +101,22 @@
 %setup
 
 %build
+%if %{with coverage}
+# optimized code may confuse the coverage measurement, turn it off
+# -fPIC is mysteriously needed on Fedora.
+export CFLAGS="-g3 -fPIC"
+export CXXFLAGS="-g3 -fPIC"
+%else
 export CFLAGS="%{optflags} -DNDEBUG"
 export CXXFLAGS="%{optflags} -DNDEBUG"
+%endif
 
 autoreconf -fi
 %configure \
--docdir="%{_defaultdocdir}/snapper"\
+%if %{with coverage}
+   --enable-coverage \
+%endif
 %if 0%{?suse_version} <= 1310
--disable-rollback  
\
 %endif

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2020-01-10 01:00:00.0 +0100
+++ new/debian/changelog2020-01-28 01:00:00.0 +0100
@@ -1,3 +1,11 @@
+snapper (0.8.9) stable; urgency=low
+
+  * Fix "Snapper is not creating the post snapshot" (bsc#1160938)
+
+  * Fix `make clean; make check` failing in zypp-plugin (bsc#1160891)
+
+ -- Martin Vidner   Thu, 16 Jan 2020 14:03:44 +0100
+
 snapper (0.8.8) stable; urgency=low
 
   * Add a "writeble copy" description to the 2nd snapshot

++ snapper-0.8.8.tar.bz2 -> snapper-0.8.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.8/Makefile.am 
new/snapper-0.8.9/Makefile.am
--- old/snapper-0.8.8/Makefile.am   2020-01-10 01:00:00.0 +0100
+++ new/snapper-0.8.9/Makefile.am   2020-01-28 01:00:00.0 +0100
@@ -43,6 +43,21 @@
rm -f package/debian.*
rm -f package/*.dsc*
 
+if ENABLE_COVERAGE
+# Run `make coverage` after all the tests have been run.
+# See also make -f Makefile.repo coveralls
+COVERAGE_INFO = coverage/coverage.info
+.PHONY: coverage
+coverage:
+   mkdir -p $(dir $(COVERAGE_INFO))
+   lcov --capture --no-external --exclude '*/testsuite*/*' --output-file 
$(COVERAGE_INFO) --directory .  --quiet
+   lcov --list $(COVERAGE_INFO)
+   genhtml --output-directory coverage --legend --title "Snapper code 
coverage" -q $(COVERAGE_INFO)
+
+clean-local:
+   find -name '*.gcda' -o -name '*.gcno' | xargs rm
+endif
+
 # Create all the files necessary for building the package with OBS:
 #
 # - Clean up the package/ directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.8/Makefile.in 
new/snapper-0.8.9/Makefile.in
--- old/snapper-0.8.8/Makefile.in   2020-01-10 01:00:00.0 +0100
+++ new/snapper-0.8.9/Makefile.in   2020-01-28 01:00:00.0 +0100
@@ -418,6 +418,10 @@
 xUbuntu_19.04
 
 
+# Run `make coverage` after all the tests have been run.
+# See also make -f Makefile.repo coveralls
+@ENABLE_COVERAGE_TRUE@COVERAGE_INFO = coverage/coverage.info
+
 # Create all the files necessary for building the package with OBS:
 #
 # - Clean up the package/ directory
@@ -877,9 +881,10 @@
 maintainer-clean-generic:
@echo "This command is intended for maintainers to 

commit snapper for openSUSE:Factory

2020-01-11 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2020-01-11 14:38:23

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.6675 (New)


Package is "snapper"

Sat Jan 11 14:38:23 2020 rev:111 rq:762635 version:0.8.8

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2019-11-11 
12:57:34.313511231 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.6675/snapper.changes
2020-01-11 14:38:55.989158510 +0100
@@ -1,0 +2,17 @@
+Wed Jan  8 09:33:56 UTC 2020 - Martin Vidner 
+
+- Add a "writeble copy" description to the 2nd snapshot
+  of a rollback (Hrotkó Gábor).
+- Fix the previous version to build on Debian, Ubuntu, and old GCC
+  (bsc#1160306).
+- version 0.8.8
+
+---
+Fri Dec  6 10:12:42 UTC 2019 - Martin Vidner 
+
+- snapper-zypp-plugin subpackage rewritten from Python to C++
+  (jsc#SLE-10500)
+- added integration tests in snapper-testsuite subpackage
+- version 0.8.7
+
+---

Old:

  snapper-0.8.6.tar.bz2

New:

  snapper-0.8.8.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.UsJxqS/_old  2020-01-11 14:38:56.657158773 +0100
+++ /var/tmp/diff_new_pack.UsJxqS/_new  2020-01-11 14:38:56.661158776 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.6
+Version:0.8.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -72,8 +72,13 @@
 BuildRequires:  libzypp(plugin:commit)
 %endif
 BuildRequires:  pam-devel
+%if 0%{?fedora_version}
+BuildRequires:  json-c-devel
+%else
+BuildRequires:  libjson-c-devel
+%endif
 Requires:   diffutils
-Requires:   libsnapper4 = %version
+Requires:   libsnapper5 = %version
 %if 0%{?suse_version}
 Recommends: logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
@@ -159,7 +164,8 @@
 %if 0%{?suse_version} > 1310
 %{_sbindir}/mksubvolume
 %endif
-%{_prefix}/lib/snapper
+%dir %{_prefix}/lib/snapper
+%{_prefix}/lib/snapper/*-helper
 %doc %{_mandir}/*/snapper.8*
 %doc %{_mandir}/*/snapperd.8*
 %doc %{_mandir}/*/snapper-configs.5*
@@ -171,7 +177,7 @@
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
 %{_datadir}/dbus-1/system-services/org.opensuse.Snapper.service
 
-%package -n libsnapper4
+%package -n libsnapper5
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   util-linux
@@ -179,12 +185,12 @@
 PreReq: %fillup_prereq
 %endif
 # expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3...
-Obsoletes:  %(echo `seq -s " " -f "libsnapper%.f" $((4 - 1))`)
+Obsoletes:  %(echo `seq -s " " -f "libsnapper%.f" $((5 - 1))`)
 
-%description -n libsnapper4
+%description -n libsnapper5
 This package contains libsnapper, a library for filesystem snapshot management.
 
-%files -n libsnapper4
+%files -n libsnapper5
 %defattr(-,root,root)
 %{_libdir}/libsnapper.so.*
 %dir %{_sysconfdir}/snapper
@@ -202,13 +208,13 @@
 %config(noreplace) %{_sysconfdir}/sysconfig/snapper
 %endif
 
-%post -n libsnapper4
+%post -n libsnapper5
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -n snapper}
 %endif
 
-%postun -n libsnapper4 -p /sbin/ldconfig
+%postun -n libsnapper5 -p /sbin/ldconfig
 
 %package -n libsnapper-devel
 %if 0%{?suse_version} > 1325
@@ -218,7 +224,7 @@
 %endif
 Requires:   gcc-c++
 Requires:   libacl-devel
-Requires:   libsnapper4 = %version
+Requires:   libsnapper5 = %version
 Requires:   libstdc++-devel
 Requires:   libxml2-devel
 %if 0%{?suse_version} > 1230
@@ -240,9 +246,6 @@
 %{_includedir}/snapper
 
 %package -n snapper-zypp-plugin
-BuildArch:  noarch
-Requires:   python3-dbus-python
-Requires:   python3-zypp-plugin
 Requires:   snapper = %version
 Requires:   libzypp(plugin:commit) = 1
 Summary:A zypp commit plugin for calling snapper
@@ -260,7 +263,7 @@
 %dir /usr/lib/zypp/plugins
 %dir /usr/lib/zypp/plugins/commit
 %endif
-/usr/lib/zypp/plugins/commit/snapper.py*
+/usr/lib/zypp/plugins/commit/snapper-zypp-plugin
 %doc %{_mandir}/*/snapper-zypp-plugin.8*
 %doc %{_mandir}/*/snapper-zypp-plugin.conf.5*
 
@@ -280,4 +283,17 @@
 /usr/lib/pam_snapper/*.sh
 %doc %{_mandir}/*/pam_snapper.8*
 

commit snapper for openSUSE:Factory

2019-11-11 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2019-11-11 12:57:32

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.2990 (New)


Package is "snapper"

Mon Nov 11 12:57:32 2019 rev:110 rq:745890 version:0.8.6

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2019-10-18 
14:31:05.084606403 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.2990/snapper.changes
2019-11-11 12:57:34.313511231 +0100
@@ -1,0 +2,9 @@
+Wed Oct 23 13:00:36 UTC 2019 - José Iván López González 
+
+- add --machine-readable option for CSV and JSON outputs.
+- add --columns option for selecting columns in the commands list,
+  list-configs and get-config.
+- bsc#1149322
+- version 0.8.6
+
+---

Old:

  snapper-0.8.5.tar.bz2

New:

  snapper-0.8.6.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:35.457512443 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:35.461512447 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.5
+Version:0.8.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2019-10-16 02:00:00.0 +0200
+++ new/debian/changelog2019-11-06 01:00:00.0 +0100
@@ -1,3 +1,9 @@
+snapper (0.8.6) stable; urgency=low
+
+  * Updated to version 0.8.6
+
+ -- José Iván López González   Wed, 23 Oct 2019 13:00:36 +
+
 snapper (0.8.5) stable; urgency=low
 
   * allow trailing comments in configuration files (bsc#1005342)

++ snapper-0.8.5.tar.bz2 -> snapper-0.8.6.tar.bz2 ++
 12970 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:36.201513231 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:36.201513231 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.5
+Version: 0.8.6
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
+536706b97170ab732314f690947757ae 603358 snapper-0.8.6.tar.bz2

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:36.221513252 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:36.221513252 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.5
+Version: 0.8.6
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
+536706b97170ab732314f690947757ae 603358 snapper-0.8.6.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:36.241513273 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:36.241513273 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.5
+Version: 0.8.6
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
+536706b97170ab732314f690947757ae 603358 snapper-0.8.6.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:36.261513294 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:36.261513294 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.5
+Version: 0.8.6
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
+536706b97170ab732314f690947757ae 603358 snapper-0.8.6.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.hOCJRI/_old  2019-11-11 12:57:36.281513316 +0100
+++ /var/tmp/diff_new_pack.hOCJRI/_new  2019-11-11 12:57:36.281513316 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.5
+Version: 0.8.6
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
+536706b97170ab732314f690947757ae 603358 

commit snapper for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2019-10-18 14:31:04

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.2352 (New)


Package is "snapper"

Fri Oct 18 14:31:04 2019 rev:109 rq:738857 version:0.8.5

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2019-09-07 
11:28:11.158473567 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.2352/snapper.changes
2019-10-18 14:31:05.084606403 +0200
@@ -1,0 +2,13 @@
+Tue Oct 15 12:42:39 UTC 2019 - Martin Vidner 
+
+- allow trailing comments in configuration files (bsc#1005342)
+- version 0.8.5
+
+---
+Tue Oct 15 11:06:51 CEST 2019 - aschn...@suse.com
+
+- allow to make snapshot from other snapshot that the current one
+  (jsc#SLE-7333)
+- version 0.8.4
+
+---

Old:

  snapper-0.8.3.tar.bz2

New:

  snapper-0.8.5.tar.bz2
  snapper-Debian_10.0.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.9DiVjw/_old  2019-10-18 14:31:05.812604508 +0200
+++ /var/tmp/diff_new_pack.9DiVjw/_new  2019-10-18 14:31:05.812604508 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.3
+Version:0.8.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -120,7 +120,7 @@
 %{find_lang} snapper
 
 %check
-make check
+make check VERBOSE=1
 
 %pre
 %if 0%{?suse_version}

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2019-08-30 02:00:00.0 +0200
+++ new/debian/changelog2019-10-16 02:00:00.0 +0200
@@ -1,3 +1,15 @@
+snapper (0.8.5) stable; urgency=low
+
+  * allow trailing comments in configuration files (bsc#1005342)
+
+ -- Martin Vidner   Tue, 15 Oct 2019 12:42:39 +
+
+snapper (0.8.4) stable; urgency=low
+
+  * Updated to version 0.8.4
+
+ -- Arvin Schnell   Tue, 15 Oct 2019 11:11:12 +0100
+
 snapper (0.8.3) stable; urgency=low
 
   * Updated to version 0.8.3

++ snapper-0.8.3.tar.bz2 -> snapper-0.8.5.tar.bz2 ++
 3988 lines of diff (skipped)

++ snapper-Debian_10.0.dsc ++
Format: 1.0
Source: snapper
Version: 0.8.5
Binary: snapper
Maintainer: Arvin Schnell 
Architecture: any
Build-Depends: debhelper (>= 4.1.16), acl-dev, g++, libboost-dev, 
libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, 
libz-dev, libdbus-1-dev, libpam-dev, xsltproc, docbook-xsl, locales-all
#
# The 'Files' line is generated during 'make package':
# Files:
#  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
#
Files:
15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2
++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.9DiVjw/_old  2019-10-18 14:31:06.756602049 +0200
+++ /var/tmp/diff_new_pack.9DiVjw/_new  2019-10-18 14:31:06.756602049 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.3
+Version: 0.8.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-1d4c6785d99c3d2573fc29877d9ea05e 593794 snapper-0.8.3.tar.bz2
+15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.9DiVjw/_old  2019-10-18 14:31:06.776601997 +0200
+++ /var/tmp/diff_new_pack.9DiVjw/_new  2019-10-18 14:31:06.776601997 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.3
+Version: 0.8.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-1d4c6785d99c3d2573fc29877d9ea05e 593794 snapper-0.8.3.tar.bz2
+15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.9DiVjw/_old  2019-10-18 14:31:06.796601945 +0200
+++ /var/tmp/diff_new_pack.9DiVjw/_new  2019-10-18 14:31:06.800601935 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.3
+Version: 0.8.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-1d4c6785d99c3d2573fc29877d9ea05e 593794 snapper-0.8.3.tar.bz2
+15eab1974975c2f3010687796d6eafce 595448 snapper-0.8.5.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.9DiVjw/_old  2019-10-18 14:31:06.824601872 +0200
+++ /var/tmp/diff_new_pack.9DiVjw/_new  2019-10-18 

commit snapper for openSUSE:Factory

2019-09-07 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2019-09-07 11:28:08

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.7948 (New)


Package is "snapper"

Sat Sep  7 11:28:08 2019 rev:108 rq:727331 version:0.8.3

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2019-04-01 
12:33:52.833806015 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new.7948/snapper.changes
2019-09-07 11:28:11.158473567 +0200
@@ -1,0 +2,6 @@
+Fri Aug 30 17:29:34 CET 2019 - ifors...@suse.com
+
+- reusing existing subvolumes on mksubvolume run
+  (bsc#1138725, bsc#1126900, gh#openSUSE/snapper#236)
+
+---

New:

  snapper-xUbuntu_19.04.dsc



Other differences:
--
++ debian.tar.gz ++

++ snapper-0.8.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.3/Makefile.am 
new/snapper-0.8.3/Makefile.am
--- old/snapper-0.8.3/Makefile.am   2019-03-27 01:00:00.0 +0100
+++ new/snapper-0.8.3/Makefile.am   2019-08-30 02:00:00.0 +0200
@@ -28,7 +28,8 @@
 xUbuntu_17.04  \
 xUbuntu_17.10  \
 xUbuntu_18.04  \
-xUbuntu_18.10
+xUbuntu_18.10  \
+xUbuntu_19.04
 
 show-debian:
@echo "Debian flavors: $(DEBIAN_FLAVOURS)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.3/Makefile.in 
new/snapper-0.8.3/Makefile.in
--- old/snapper-0.8.3/Makefile.in   2019-03-27 01:00:00.0 +0100
+++ new/snapper-0.8.3/Makefile.in   2019-08-30 02:00:00.0 +0200
@@ -409,7 +409,8 @@
 xUbuntu_17.04  \
 xUbuntu_17.10  \
 xUbuntu_18.04  \
-xUbuntu_18.10
+xUbuntu_18.10  \
+xUbuntu_19.04
 
 
 # Create all the files necessary for building the package with OBS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.3/aclocal.m4 new/snapper-0.8.3/aclocal.m4
--- old/snapper-0.8.3/aclocal.m42019-03-27 01:00:00.0 +0100
+++ new/snapper-0.8.3/aclocal.m42019-08-30 02:00:00.0 +0200
@@ -9049,7 +9049,7 @@
 m4_ifndef([_LT_PROG_CXX],  [AC_DEFUN([_LT_PROG_CXX])])
 
 # pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
-# serial 12 (pkg-config-0.29.2)
+# serial 11 (pkg-config-0.29.1)
 
 dnl Copyright © 2004 Scott James Remnant .
 dnl Copyright © 2012-2015 Dan Nicholson 
@@ -9091,7 +9091,7 @@
 dnl See the "Since" comment for each macro you use to see what version
 dnl of the macros you require.
 m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29.2])
+[m4_define([PKG_MACROS_VERSION], [0.29.1])
 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
 [m4_fatal([pkg.m4 version $1 or higher is required but 
]PKG_MACROS_VERSION[ found])])
 ])dnl PKG_PREREQ
@@ -9192,7 +9192,7 @@
 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
 
 pkg_failed=no
-AC_MSG_CHECKING([for $2])
+AC_MSG_CHECKING([for $1])
 
 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
@@ -9202,11 +9202,11 @@
 See the pkg-config man page for more details.])
 
 if test $pkg_failed = yes; then
-AC_MSG_RESULT([no])
+   AC_MSG_RESULT([no])
 _PKG_SHORT_ERRORS_SUPPORTED
 if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
--cflags --libs "$2" 2>&1`
-else
+else 
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs 
"$2" 2>&1`
 fi
# Put the nasty error message in config.log where it belongs
@@ -9223,7 +9223,7 @@
 _PKG_TEXT])[]dnl
 ])
 elif test $pkg_failed = untried; then
-AC_MSG_RESULT([no])
+   AC_MSG_RESULT([no])
m4_default([$4], [AC_MSG_FAILURE(
 [The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
@@ -9324,6 +9324,74 @@
 AS_VAR_IF([$1], [""], [$5], [$4])dnl
 ])dnl PKG_CHECK_VAR
 
+dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
+dnl   [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
+dnl   [DESCRIPTION], [DEFAULT])
+dnl --
+dnl
+dnl Prepare a "--with-" configure option using the lowercase
+dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
+dnl PKG_CHECK_MODULES in a single macro.
+AC_DEFUN([PKG_WITH_MODULES],
+[
+m4_pushdef([with_arg], m4_tolower([$1]))
+
+m4_pushdef([description],
+   [m4_default([$5], [build with ]with_arg[ support])])
+

commit snapper for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2019-04-01 12:33:50

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.25356 (New)


Package is "snapper"

Mon Apr  1 12:33:50 2019 rev:107 rq:689116 version:0.8.3

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2019-01-26 
22:18:23.879050990 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.25356/snapper.changes   
2019-04-01 12:33:52.833806015 +0200
@@ -1,0 +2,7 @@
+Tue Mar 26 10:15:55 CET 2019 - aschn...@suse.com
+
+- fixed seg.fault during rollback if the previous default subvolume
+  is missing in the snapshot list (bsc#1130273)
+- version 0.8.3
+
+---

Old:

  snapper-0.8.2.tar.bz2

New:

  snapper-0.8.3.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:53.533806195 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:53.537806196 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.2
+Version:0.8.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2019-01-22 01:00:00.0 +0100
+++ new/debian/changelog2019-03-27 01:00:00.0 +0100
@@ -1,3 +1,9 @@
+snapper (0.8.3) stable; urgency=low
+
+  * Updated to version 0.8.3
+
+ -- Arvin Schnell   Tue, 23 Mar 2019 12:17:22 +0100
+
 snapper (0.8.2) stable; urgency=low
 
   * Updated to version 0.8.2

++ snapper-0.8.2.tar.bz2 -> snapper-0.8.3.tar.bz2 ++
 2809 lines of diff (skipped)

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:54.149806352 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:54.149806352 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.2
+Version: 0.8.3
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-3dfec9a6250ff380315f6e61fa473f82 591558 snapper-0.8.2.tar.bz2
+19808f5fa6d846e742fef8cc5ddc6d9c 592418 snapper-0.8.3.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:54.169806357 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:54.169806357 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.2
+Version: 0.8.3
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-3dfec9a6250ff380315f6e61fa473f82 591558 snapper-0.8.2.tar.bz2
+19808f5fa6d846e742fef8cc5ddc6d9c 592418 snapper-0.8.3.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:54.185806361 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:54.185806361 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.2
+Version: 0.8.3
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-3dfec9a6250ff380315f6e61fa473f82 591558 snapper-0.8.2.tar.bz2
+19808f5fa6d846e742fef8cc5ddc6d9c 592418 snapper-0.8.3.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:54.201806365 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:54.201806365 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.2
+Version: 0.8.3
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-3dfec9a6250ff380315f6e61fa473f82 591558 snapper-0.8.2.tar.bz2
+19808f5fa6d846e742fef8cc5ddc6d9c 592418 snapper-0.8.3.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 12:33:54.225806371 +0200
+++ /var/tmp/diff_new_pack.r2SuD2/_new  2019-04-01 12:33:54.229806372 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.8.2
+Version: 0.8.3
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-3dfec9a6250ff380315f6e61fa473f82 591558 snapper-0.8.2.tar.bz2
+19808f5fa6d846e742fef8cc5ddc6d9c 592418 snapper-0.8.3.tar.bz2

++ snapper-xUbuntu_15.04.dsc ++
--- /var/tmp/diff_new_pack.r2SuD2/_old  2019-04-01 

commit snapper for openSUSE:Factory

2019-01-26 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2019-01-26 22:18:20

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.28833 (New)


Package is "snapper"

Sat Jan 26 22:18:20 2019 rev:106 rq:667835 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-12-10 
12:27:58.202549056 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.28833/snapper.changes   
2019-01-26 22:18:23.879050990 +0100
@@ -1,0 +2,13 @@
+Tue Jan 22 11:05:01 CET 2019 - aschn...@suse.com
+
+- adapted to libbtrfs changes to resurrect special btrfs directory
+  comparison (bsc#414)
+- version 0.8.2
+
+---
+Fri Jan 18 10:45:54 CET 2019 - aschn...@suse.com
+
+- avoid deadlock for special btrfs directory comparison
+  (bsc#1049574)
+
+---

Old:

  snapper-0.8.1.tar.bz2

New:

  snapper-0.8.2.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.DpqbdB/_old  2019-01-26 22:18:24.467050514 +0100
+++ /var/tmp/diff_new_pack.DpqbdB/_new  2019-01-26 22:18:24.471050511 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# 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
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.1
+Version:0.8.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2018-12-06 01:00:00.0 +0100
+++ new/debian/changelog2019-01-22 01:00:00.0 +0100
@@ -1,3 +1,9 @@
+snapper (0.8.2) stable; urgency=low
+
+  * Updated to version 0.8.2
+
+ -- Arvin Schnell   Tue, 22 Jan 2019 11:07:18 +0100
+
 snapper (0.8.1) stable; urgency=low
 
   * Updated to version 0.8.1

++ snapper-0.8.1.tar.bz2 -> snapper-0.8.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.1/VERSION new/snapper-0.8.2/VERSION
--- old/snapper-0.8.1/VERSION   2018-12-06 01:00:00.0 +0100
+++ new/snapper-0.8.2/VERSION   2019-01-22 01:00:00.0 +0100
@@ -1 +1 @@
-0.8.1
+0.8.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.1/po/es.po new/snapper-0.8.2/po/es.po
--- old/snapper-0.8.1/po/es.po  2018-12-06 01:00:00.0 +0100
+++ new/snapper-0.8.2/po/es.po  2019-01-22 01:00:00.0 +0100
@@ -4,16 +4,16 @@
 "Project-Id-Version: snapper\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-10-29 14:27+0100\n"
-"PO-Revision-Date: 2018-11-30 23:06+\n"
-"Last-Translator: jc sl \n"
-"Language-Team: Spanish "
-"\n"
+"PO-Revision-Date: 2019-01-20 17:44+\n"
+"Last-Translator: jcsl \n"
+"Language-Team: Spanish \n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 2.18\n"
+"X-Generator: Weblate 3.3\n"
 
 msgid "\t--all-configs, -a\t\tList snapshots from all accessible configs."
 msgstr "\t--all-configs, -a\t\tMuestra las instantáneas de todas las 
configuraciones a las que se puede acceder."
@@ -147,7 +147,7 @@
 msgstr "\tsnapper modify "
 
 msgid "\tsnapper mount "
-msgstr "\tsnapper mount "
+msgstr "\tsnapper mount "
 
 # SLE12
 msgid "\tsnapper rollback [number]"
@@ -163,7 +163,7 @@
 msgstr "\tsnapper status .."
 
 msgid "\tsnapper umount "
-msgstr "\tsnapper umount "
+msgstr "\tsnapper umount "
 
 msgid "\tsnapper undochange .. [files]"
 msgstr "\tsnapper undochange .. [archivos]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.1/snapper/Btrfs.cc 
new/snapper-0.8.2/snapper/Btrfs.cc
--- old/snapper-0.8.1/snapper/Btrfs.cc  2018-12-06 01:00:00.0 +0100
+++ new/snapper-0.8.2/snapper/Btrfs.cc  2019-01-22 01:00:00.0 +0100
@@ -1238,14 +1238,50 @@
 };
 
 
+struct FdCloser
+{
+   FdCloser(int fd)
+   : fd(fd)
+   {
+   }
+
+   ~FdCloser()
+   {
+   if (fd > -1 )
+   ::close(fd);
+  

commit snapper for openSUSE:Factory

2018-12-10 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-12-10 12:27:55

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new.19453 (New)


Package is "snapper"

Mon Dec 10 12:27:55 2018 rev:105 rq:655571 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-11-01 
19:08:54.630031154 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new.19453/snapper.changes   
2018-12-10 12:27:58.202549056 +0100
@@ -1,0 +2,7 @@
+Wed Nov 21 18:59:09 CET 2018 - ge...@borus.hu
+
+- validate snapshot id corresponding to the default subvolume
+  before using it for the current config (gh#openSUSE/snapper#449)
+- version 0.8.1
+
+---

Old:

  snapper-0.8.0.tar.bz2

New:

  snapper-0.8.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.ICM67d/_old  2018-12-10 12:27:58.742548517 +0100
+++ /var/tmp/diff_new_pack.ICM67d/_new  2018-12-10 12:27:58.746548513 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.8.0
+Version:0.8.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2018-10-30 01:00:00.0 +0100
+++ new/debian/changelog2018-12-06 01:00:00.0 +0100
@@ -1,3 +1,9 @@
+snapper (0.8.1) stable; urgency=low
+
+  * Updated to version 0.8.1
+
+ -- Arvin Schnell   Thu, 22 Nov 2018 09:33:14 +0100
+
 snapper (0.8.0) stable; urgency=low
 
   * Updated to version 0.8.0

++ snapper-0.8.0.tar.bz2 -> snapper-0.8.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.0/LIBVERSION new/snapper-0.8.1/LIBVERSION
--- old/snapper-0.8.0/LIBVERSION2018-10-30 01:00:00.0 +0100
+++ new/snapper-0.8.1/LIBVERSION2018-12-06 01:00:00.0 +0100
@@ -1 +1 @@
-4.4.0
+4.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.0/VERSION new/snapper-0.8.1/VERSION
--- old/snapper-0.8.0/VERSION   2018-10-30 01:00:00.0 +0100
+++ new/snapper-0.8.1/VERSION   2018-12-06 01:00:00.0 +0100
@@ -1 +1 @@
-0.8.0
+0.8.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.0/client/snapper.cc 
new/snapper-0.8.1/client/snapper.cc
--- old/snapper-0.8.0/client/snapper.cc 2018-10-30 01:00:00.0 +0100
+++ new/snapper-0.8.1/client/snapper.cc 2018-12-06 01:00:00.0 +0100
@@ -807,7 +807,7 @@
 void
 filter_undeletables(ProxySnapshots& snapshots, 
vector& nums)
 {
-auto filter = [, ](ProxySnapshots::const_iterator 
undeletable, const string& message)
+auto filter = [, ](ProxySnapshots::const_iterator 
undeletable, const char* message)
 {
if (undeletable == snapshots.end())
return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.0/client/utils/text.cc 
new/snapper-0.8.1/client/utils/text.cc
--- old/snapper-0.8.0/client/utils/text.cc  2018-10-30 01:00:00.0 
+0100
+++ new/snapper-0.8.1/client/utils/text.cc  2018-12-06 01:00:00.0 
+0100
@@ -14,12 +14,16 @@
 
 using namespace std;
 
-string _(const char* msgid)
+
+const char*
+_(const char* msgid)
 {
 return dgettext("snapper", msgid);
 }
 
-string _(const char* msgid, const char* msgid_plural, unsigned long int n)
+
+const char*
+_(const char* msgid, const char* msgid_plural, unsigned long int n)
 {
 return dngettext("snapper", msgid, msgid_plural, n);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.8.0/client/utils/text.h 
new/snapper-0.8.1/client/utils/text.h
--- old/snapper-0.8.0/client/utils/text.h   2018-10-30 01:00:00.0 
+0100
+++ new/snapper-0.8.1/client/utils/text.h   2018-12-06 01:00:00.0 
+0100
@@ -11,8 +11,10 @@
 #include 
 #include 
 
-std::string _(const char* msgid);
-std::string _(const char* msgid, const char* msgid_plural, unsigned long int 
n);
+const char* _(const char* msgid) __attribute__ ((format_arg(1)));
+
+const char* _(const char* msgid, const char* msgid_plural, unsigned long int n)
+__attribute__ ((format_arg(1))) __attribute__ ((format_arg(2)));
 
 /** Returns the column width of a multi-byte character string \a str */
 unsigned mbs_width (const std::string & str);
diff -urN '--exclude=CVS' 

commit snapper for openSUSE:Factory

2018-11-02 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-11-01 19:08:50

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Nov  1 19:08:50 2018 rev:104 rq:645497 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-10-11 
11:44:59.934821394 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-11-01 
19:08:54.630031154 +0100
@@ -1,0 +2,29 @@
+Mon Oct 29 10:38:59 CET 2018 - aschn...@suse.com
+
+- extended space aware cleanup algorithm to ensure minimal
+  free space for btrfs (within known ranges) (fate#325774)
+- version 0.8.0
+
+---
+Mon Oct 22 09:52:01 CEST 2018 - aschn...@suse.com
+
+- fixed querying default and active snapshot if compiled without
+  rollback support (gh#openSUSE/snapper#442)
+- version 0.7.2
+
+---
+Tue Oct 16 14:00:56 CEST 2018 - aschn...@suse.com
+
+- disallow to delete special (for btrfs currently mounted and next
+  to be mounted) snapshots (fate#326479)
+- version 0.7.1
+
+---
+Thu Oct 11 11:10:11 CEST 2018 - aschn...@suse.com
+
+- mark active and default btrfs subvolume in list output
+  (fate#326479)
+- reorder columns in snapper list output (fate#326479)
+- version 0.7.0
+
+---

Old:

  snapper-0.6.1.tar.bz2

New:

  snapper-0.8.0.tar.bz2
  snapper-xUbuntu_18.10.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.EDqTn7/_old  2018-11-01 19:08:55.190031184 +0100
+++ /var/tmp/diff_new_pack.EDqTn7/_new  2018-11-01 19:08:55.190031184 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.6.1
+Version:0.8.0
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2018-10-09 02:00:00.0 +0200
+++ new/debian/changelog2018-10-30 01:00:00.0 +0100
@@ -1,3 +1,21 @@
+snapper (0.8.0) stable; urgency=low
+
+  * Updated to version 0.8.0
+
+ -- Arvin Schnell   Mon, 29 Oct 2018 09:02:13 +0100
+
+snapper (0.7.2) stable; urgency=low
+
+  * Updated to version 0.7.2
+
+ -- Arvin Schnell   Mon, 22 Oct 2018 09:57:01 +0200
+
+snapper (0.7.1) stable; urgency=low
+
+  * Updated to version 0.7.1
+
+ -- Arvin Schnell   Tue, 16 Oct 2018 14:02:07 +0200
+
 snapper (0.6.0) stable; urgency=low
 
   * Updated to version 0.6.0

++ snapper-0.6.1.tar.bz2 -> snapper-0.8.0.tar.bz2 ++
 6342 lines of diff (skipped)

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.EDqTn7/_old  2018-11-01 19:08:55.646031209 +0100
+++ /var/tmp/diff_new_pack.EDqTn7/_new  2018-11-01 19:08:55.646031209 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.6.1
+Version: 0.8.0
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2
+20ffd10345e38bdc4bd51f75cd8233fd 591033 snapper-0.8.0.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.EDqTn7/_old  2018-11-01 19:08:55.658031210 +0100
+++ /var/tmp/diff_new_pack.EDqTn7/_new  2018-11-01 19:08:55.658031210 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.6.1
+Version: 0.8.0
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2
+20ffd10345e38bdc4bd51f75cd8233fd 591033 snapper-0.8.0.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.EDqTn7/_old  2018-11-01 19:08:55.674031211 +0100
+++ /var/tmp/diff_new_pack.EDqTn7/_new  2018-11-01 19:08:55.674031211 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.6.1
+Version: 0.8.0
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2
+20ffd10345e38bdc4bd51f75cd8233fd 591033 snapper-0.8.0.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.EDqTn7/_old  2018-11-01 19:08:55.686031211 +0100
+++ /var/tmp/diff_new_pack.EDqTn7/_new 

commit snapper for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-10-11 11:44:17

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Oct 11 11:44:17 2018 rev:103 rq:640848 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-09-26 
16:02:24.544391099 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-10-11 
11:44:59.934821394 +0200
@@ -1,0 +2,13 @@
+Fri Oct 05 12:07:53 CEST 2018 - aschn...@suse.com
+
+- right align used space in table output
+- version 0.6.1
+
+---
+Tue Oct 02 09:56:59 CEST 2018 - aschn...@suse.com
+
+- show used space (exclusive space of btrfs qgroup) for each
+  snapshot (fate#323843)
+- version 0.6.0
+
+---

Old:

  snapper-0.5.6.tar.bz2

New:

  snapper-0.6.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.386820818 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.390820813 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.5.6
+Version:0.6.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -79,7 +79,7 @@
 Supplements:btrfsprogs
 %endif
 Summary:Tool for filesystem snapshot management
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Packages
 Url:http://snapper.io/
 

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2018-09-16 02:00:00.0 +0200
+++ new/debian/changelog2018-10-09 02:00:00.0 +0200
@@ -1,3 +1,9 @@
+snapper (0.6.0) stable; urgency=low
+
+  * Updated to version 0.6.0
+
+ -- Arvin Schnell   Thu, 04 Oct 2018 11:49:32 +0200
+
 snapper (0.5.6) stable; urgency=low
 
   * Updated to version 0.5.6

++ snapper-0.5.6.tar.bz2 -> snapper-0.6.1.tar.bz2 ++
 10652 lines of diff (skipped)

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.894820171 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.898820167 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.6
+Version: 0.6.1
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4804ef2d9bc61c44e7f814644f8ec572 580256 snapper-0.5.6.tar.bz2
+c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.910820151 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.914820146 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.6
+Version: 0.6.1
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4804ef2d9bc61c44e7f814644f8ec572 580256 snapper-0.5.6.tar.bz2
+c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.926820131 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.926820131 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.6
+Version: 0.6.1
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4804ef2d9bc61c44e7f814644f8ec572 580256 snapper-0.5.6.tar.bz2
+c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.942820110 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.942820110 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.6
+Version: 0.6.1
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-4804ef2d9bc61c44e7f814644f8ec572 580256 snapper-0.5.6.tar.bz2
+c2f2d7c976a3663d28dfb3ecee783f88 586180 snapper-0.6.1.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.ZedUlH/_old  2018-10-11 11:45:00.962820085 +0200
+++ /var/tmp/diff_new_pack.ZedUlH/_new  2018-10-11 11:45:00.962820085 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.6
+Version: 

commit snapper for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-09-26 16:02:21

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Wed Sep 26 16:02:21 2018 rev:102 rq:637266 version:0.5.6

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-07-26 
10:17:54.835884092 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-09-26 
16:02:24.544391099 +0200
@@ -1,0 +2,5 @@
+Fri Sep 14 12:13:05 CEST 2018 - aschn...@suse.com
+
+- avoid setenv after fork (bsc#1107587)
+
+---



Other differences:
--
++ debian.tar.gz ++

++ snapper-0.5.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.6/dbus/Makefile.am 
new/snapper-0.5.6/dbus/Makefile.am
--- old/snapper-0.5.6/dbus/Makefile.am  2018-07-25 02:00:00.0 +0200
+++ new/snapper-0.5.6/dbus/Makefile.am  2018-09-16 02:00:00.0 +0200
@@ -12,4 +12,4 @@
DBusMainLoop.cc DBusMainLoop.h
 
 libdbus_la_LIBADD = $(DBUS_LIBS)
-
+libdbus_la_LDFLAGS = -lboost_system -lboost_thread
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.6/dbus/Makefile.in 
new/snapper-0.5.6/dbus/Makefile.in
--- old/snapper-0.5.6/dbus/Makefile.in  2018-07-25 02:00:00.0 +0200
+++ new/snapper-0.5.6/dbus/Makefile.in  2018-09-16 02:00:00.0 +0200
@@ -112,6 +112,9 @@
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
 am__v_lt_1 = 
+libdbus_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+   $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+   $(CXXFLAGS) $(libdbus_la_LDFLAGS) $(LDFLAGS) -o $@
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -345,6 +348,7 @@
DBusMainLoop.cc DBusMainLoop.h
 
 libdbus_la_LIBADD = $(DBUS_LIBS)
+libdbus_la_LDFLAGS = -lboost_system -lboost_thread
 all: all-am
 
 .SUFFIXES:
@@ -391,7 +395,7 @@
}
 
 libdbus.la: $(libdbus_la_OBJECTS) $(libdbus_la_DEPENDENCIES) 
$(EXTRA_libdbus_la_DEPENDENCIES) 
-   $(AM_V_CXXLD)$(CXXLINK)  $(libdbus_la_OBJECTS) $(libdbus_la_LIBADD) 
$(LIBS)
+   $(AM_V_CXXLD)$(libdbus_la_LINK)  $(libdbus_la_OBJECTS) 
$(libdbus_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
-rm -f *.$(OBJEXT)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.6/po/da.po new/snapper-0.5.6/po/da.po
--- old/snapper-0.5.6/po/da.po  2018-07-25 02:00:00.0 +0200
+++ new/snapper-0.5.6/po/da.po  2018-09-16 02:00:00.0 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: snapper\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-04-20 14:05+0200\n"
-"PO-Revision-Date: 2018-06-07 13:01+\n"
+"PO-Revision-Date: 2018-09-16 10:02+\n"
 "Last-Translator: scootergrisen \n"
 "Language-Team: Danish "
 "\n"
@@ -31,16 +31,17 @@
 msgstr "\t--command \tKør kommando og opret præ- og 
post-øjebliksbilleder."
 
 msgid "\t--config, -c \t\tSet name of config to use."
-msgstr "\t--config, -c \t\tAngiv navn på konfiguration der skal bruges."
+msgstr "\t--config, -c \t\tAngiv navn på konfiguration der skal bruges."
 
 msgid "\t--description, -d \tDescription for snapshot."
-msgstr "\t--description, -d \tBeskrivelse af øjebliksbillede."
+msgstr "\t--description, -d \tBeskrivelse af øjebliksbillede."
 
 msgid "\t--description, -d \tDescription for snapshots."
-msgstr "\t--description, -d \tBeskrivelse af øjebliksbilleder."
+msgstr "\t--description, -d \tBeskrivelse af øjebliksbilleder."
 
 msgid "\t--diff-cmd \t\tCommand used for comparing files."
-msgstr "\t--diff-cmd \t\tKommando som bruges til at sammenligne 
filer."
+msgstr ""
+"\t--diff-cmd \t\tKommando som bruges til at sammenligne filer."
 
 msgid "\t--extensions, -x \tExtra options passed to the diff command."
 msgstr "\t--extensions, -x \tEkstra tilvalg som sendes til 
diff-kommandoen."
@@ -49,10 +50,11 @@
 msgstr "\t--fstype, -f \t\tAngiv type af filsystem manuelt."
 
 msgid "\t--input, -i \t\tRead files for which to undo changes from file."
-msgstr "\t--input, -i \t\tLæs filer for hvilke ændringer fra fil skal 
fortrydes."
+msgstr ""
+"\t--input, -i \t\tLæs filer for hvilke ændringer fra fil skal fortrydes."
 
 msgid "\t--input, -i \t\tRead files to diff from file."
-msgstr "\t--input, -i \t\tLæs filer til diff fra fil."
+msgstr "\t--input, -i \t\tLæs filer til diff fra fil."
 
 msgid "\t--iso\t\t\t\tDisplay dates and times in ISO format."
 msgstr "\t--iso\t\t\t\tVis datoer og 

commit snapper for openSUSE:Factory

2018-07-26 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-07-26 10:17:51

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Jul 26 10:17:51 2018 rev:101 rq:625213 version:0.5.6

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-06-15 
14:32:18.490995633 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-07-26 
10:17:54.835884092 +0200
@@ -1,0 +2,7 @@
+Mon Jul 23 20:52:26 CEST 2018 - aschn...@suse.com
+
+- fixed logging during shutdown of snapperd to avoid core dumps
+  (bsc#1096401 and others)
+- version 0.5.6
+
+---

Old:

  snapper-0.5.5.tar.bz2

New:

  snapper-0.5.6.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.8Uixnp/_old  2018-07-26 10:17:55.355885035 +0200
+++ /var/tmp/diff_new_pack.8Uixnp/_new  2018-07-26 10:17:55.359885042 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.5.5
+Version:0.5.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2018-06-07 02:00:00.0 +0200
+++ new/debian/changelog2018-07-25 02:00:00.0 +0200
@@ -1,3 +1,9 @@
+snapper (0.5.6) stable; urgency=low
+
+  * Updated to version 0.5.6
+
+ -- Arvin Schnell   Wed, 25 Jul 2018 08:34:01 +0200
+
 snapper (0.5.1) stable; urgency=low
 
   * Updated to version 0.5.1

++ snapper-0.5.5.tar.bz2 -> snapper-0.5.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.5/VERSION new/snapper-0.5.6/VERSION
--- old/snapper-0.5.5/VERSION   2018-06-07 02:00:00.0 +0200
+++ new/snapper-0.5.6/VERSION   2018-07-25 02:00:00.0 +0200
@@ -1 +1 @@
-0.5.5
+0.5.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.5/server/Client.cc 
new/snapper-0.5.6/server/Client.cc
--- old/snapper-0.5.5/server/Client.cc  2018-06-07 02:00:00.0 +0200
+++ new/snapper-0.5.6/server/Client.cc  2018-07-25 02:00:00.0 +0200
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2012-2015] Novell, Inc.
- * Copyright (c) 2016 SUSE LLC
+ * Copyright (c) [2016,2018] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -68,11 +68,9 @@
Snapshots& snapshots = snapper->getSnapshots();
 
Snapshots::iterator snap = snapshots.find(number);
-   if (snap == snapshots.end())
-   throw IllegalSnapshotException();
-
-   for (unsigned int i = 0; i < use_count; ++i)
-   snap->umountFilesystemSnapshot(false);
+   if (snap != snapshots.end())
+   for (unsigned int i = 0; i < use_count; ++i)
+   snap->umountFilesystemSnapshot(false);
 }
 }
 
@@ -115,6 +113,7 @@
 }
 
 delete *it;
+*it = nullptr;
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.5/server/MetaSnapper.cc 
new/snapper-0.5.6/server/MetaSnapper.cc
--- old/snapper-0.5.5/server/MetaSnapper.cc 2018-06-07 02:00:00.0 
+0200
+++ new/snapper-0.5.6/server/MetaSnapper.cc 2018-07-25 02:00:00.0 
+0200
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) [2012-2015] Novell, Inc.
+ * Copyright (c) 2018 SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -103,6 +104,7 @@
 MetaSnapper::~MetaSnapper()
 {
 delete snapper;
+snapper = nullptr;
 }
 
 
@@ -172,7 +174,7 @@
 MetaSnapper::unload()
 {
 delete snapper;
-snapper = NULL;
+snapper = nullptr;
 }
 
 
@@ -198,6 +200,14 @@
 }
 
 
+void
+MetaSnappers::unload()
+{
+for (MetaSnapper& meta_snapper : entries)
+   meta_snapper.unload();
+}
+
+
 MetaSnappers::iterator
 MetaSnappers::find(const string& config_name)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.5/server/MetaSnapper.h 
new/snapper-0.5.6/server/MetaSnapper.h
--- old/snapper-0.5.5/server/MetaSnapper.h  2018-06-07 02:00:00.0 
+0200
+++ new/snapper-0.5.6/server/MetaSnapper.h  2018-07-25 02:00:00.0 
+0200
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) [2012-2015] Novell, Inc.
+ * Copyright (c) 2018 SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -123,6 +124,8 @@
 
 void init();
 
+void unload();
+
 typedef list::iterator iterator;
 typedef list::const_iterator const_iterator;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit snapper for openSUSE:Factory

2018-06-15 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-06-15 14:32:14

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Fri Jun 15 14:32:14 2018 rev:100 rq:614936 version:0.5.5

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-04-26 
13:33:52.293226601 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-06-15 
14:32:18.490995633 +0200
@@ -1,0 +2,12 @@
+Mon May 28 10:44:49 CEST 2018 - aschn...@suse.com
+
+- merged (gh#openSUSE/snapper#409) to build with boost 1.67.0
+  (bsc#1096208)
+- version 0.5.5
+
+---
+Thu May 10 11:43:53 UTC 2018 - jsr...@suse.cz
+
+- move warning in case of non-UTF8 locale to man page (bsc#1092103)
+
+---

Old:

  snapper-0.5.4.tar.bz2

New:

  snapper-0.5.5.tar.bz2
  snapper-xUbuntu_18.04.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:19.266967250 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:19.270967105 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.5.4
+Version:0.5.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++

++ snapper-0.5.4.tar.bz2 -> snapper-0.5.5.tar.bz2 ++
 7307 lines of diff (skipped)

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:19.910943696 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:19.910943696 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2
+3231a3809c72913766385b5ee600178b 580424 snapper-0.5.5.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:19.930942965 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:19.934942818 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2
+3231a3809c72913766385b5ee600178b 580424 snapper-0.5.5.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:19.954942087 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:19.958941940 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2
+3231a3809c72913766385b5ee600178b 580424 snapper-0.5.5.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:19.982941063 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:19.986940916 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2
+3231a3809c72913766385b5ee600178b 580424 snapper-0.5.5.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:20.010940038 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:20.010940038 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2
+3231a3809c72913766385b5ee600178b 580424 snapper-0.5.5.tar.bz2

++ snapper-xUbuntu_15.04.dsc ++
--- /var/tmp/diff_new_pack.BpZ72k/_old  2018-06-15 14:32:20.038939015 +0200
+++ /var/tmp/diff_new_pack.BpZ72k/_new  2018-06-15 14:32:20.042938868 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: snapper
-Version: 0.5.4
+Version: 0.5.5
 Binary: snapper
 Maintainer: Arvin Schnell 
 Architecture: any
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 

commit snapper for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-04-26 13:33:48

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Apr 26 13:33:48 2018 rev:99 rq:599314 version:0.5.4

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-02-01 
21:26:27.429294863 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-04-26 
13:33:52.293226601 +0200
@@ -1,0 +2,6 @@
+Fri Apr 20 14:19:29 CEST 2018 - aschn...@suse.com
+
+- soften error handling if setting locale fails due to broken
+  system setup (bsc#1085832)
+
+---



Other differences:
--
++ debian.tar.gz ++

++ snapper-0.5.4.tar.bz2 ++
 54824 lines of diff (skipped)

++ snapper-Debian_7.0.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.345188058 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.349187911 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-Debian_8.0.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.365187325 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.369187178 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-Debian_9.0.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.393186298 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.393186298 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_14.04.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.417185419 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.417185419 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_14.10.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.437184687 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.441184540 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_15.04.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.469183515 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.469183515 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_15.10.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.493182635 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.493182635 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_16.04.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.513181902 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.513181902 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_16.10.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.537181023 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 13:33:53.541180876 +0200
@@ -11,4 +11,4 @@
 #  423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
 #
 Files:
-b300732e2d269dec4b51c3cdc1630337 579218 snapper-0.5.4.tar.bz2
+7f249cacd5a2f1d22e7bddb882b9b341 576322 snapper-0.5.4.tar.bz2

++ snapper-xUbuntu_17.04.dsc ++
--- /var/tmp/diff_new_pack.WbzxfF/_old  2018-04-26 13:33:53.557180290 +0200
+++ /var/tmp/diff_new_pack.WbzxfF/_new  2018-04-26 

commit snapper for openSUSE:Factory

2018-02-01 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-02-01 21:26:25

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Feb  1 21:26:25 2018 rev:98 rq:570571 version:0.5.4

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2018-01-20 
11:25:17.744347310 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-02-01 
21:26:27.429294863 +0100
@@ -1,0 +2,13 @@
+Mon Jan 29 11:32:56 CET 2018 - aschn...@suse.com
+
+- create subvolume instead of snapshot for initial system
+  (bsc#1077240)
+- version 0.5.4
+
+---
+Fri Jan 26 14:36:20 CET 2018 - aschn...@suse.com
+
+- improved error handling for systemd services
+  (gh#openSUSE/snapper#382)
+
+---
@@ -11 +24 @@
-- 0.5.3
+- version 0.5.3

Old:

  snapper-0.5.3.tar.bz2

New:

  snapper-0.5.4.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.grmmwz/_old  2018-02-01 21:26:28.105263268 +0100
+++ /var/tmp/diff_new_pack.grmmwz/_new  2018-02-01 21:26:28.105263268 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.5.3
+Version:0.5.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++

++ snapper-0.5.3.tar.bz2 -> snapper-0.5.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.3/Makefile.in 
new/snapper-0.5.4/Makefile.in
--- old/snapper-0.5.3/Makefile.in   2018-01-15 01:00:00.0 +0100
+++ new/snapper-0.5.4/Makefile.in   2018-01-29 01:00:00.0 +0100
@@ -327,6 +327,7 @@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
+SYSCONFIG = @SYSCONFIG@
 TOUCHBIN = @TOUCHBIN@
 VERSION = @VERSION@
 XSLTPROC = @XSLTPROC@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.3/VERSION new/snapper-0.5.4/VERSION
--- old/snapper-0.5.3/VERSION   2018-01-15 01:00:00.0 +0100
+++ new/snapper-0.5.4/VERSION   2018-01-29 01:00:00.0 +0100
@@ -1 +1 @@
-0.5.3
+0.5.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.3/client/Makefile.in 
new/snapper-0.5.4/client/Makefile.in
--- old/snapper-0.5.3/client/Makefile.in2018-01-15 01:00:00.0 
+0100
+++ new/snapper-0.5.4/client/Makefile.in2018-01-29 01:00:00.0 
+0100
@@ -353,6 +353,7 @@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
+SYSCONFIG = @SYSCONFIG@
 TOUCHBIN = @TOUCHBIN@
 VERSION = @VERSION@
 XSLTPROC = @XSLTPROC@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.3/client/installation-helper.cc 
new/snapper-0.5.4/client/installation-helper.cc
--- old/snapper-0.5.3/client/installation-helper.cc 2018-01-15 
01:00:00.0 +0100
+++ new/snapper-0.5.4/client/installation-helper.cc 2018-01-29 
01:00:00.0 +0100
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015 Novell, Inc.
+ * Copyright (c) 2018 SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -90,18 +91,30 @@
 
 btrfs.createConfig();
 
-cout << "creating snapshot" << endl;
+cout << "creating subvolume" << endl;
 
 Snapper snapper("root", tmp_mount.getFullname());
 
 SCD scd;
 scd.read_only = false;
+scd.empty = true;
 scd.description = description;
 scd.cleanup = cleanup;
 scd.userdata = userdata;
 
 Snapshots::iterator snapshot = snapper.createSingleSnapshot(scd);
 
+cout << "again copying config-file" << endl;
+
+string ris = tmp_mount.getFullname() + snapshot->snapshotDir();
+
+mkdir((ris + "/etc").c_str(), 0777);
+mkdir((ris + "/etc/snapper").c_str(), 0777);
+mkdir((ris + "/etc/snapper/configs").c_str(), 0777);
+
+system(("/bin/cp " + tmp_mount.getFullname() + "/etc/snapper/configs/root 
" + ris +
+   "/etc/snapper/configs").c_str());
+
 cout << "setting default subvolume" << endl;
 
 snapper.getFilesystem()->setDefault(snapshot->getNum());
@@ -132,6 +145,8 @@
subvol_option += "/";
 subvol_option += ".snapshots";
 
+mkdir((root_prefix + "/.snapshots").c_str(), 0777);
+
 SDir s_dir(root_prefix + "/.snapshots");
 if (!s_dir.mount(device, "btrfs", 0, "subvol=" + subvol_option))
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.3/client/systemd-helper.cc 
new/snapper-0.5.4/client/systemd-helper.cc
--- 

commit snapper for openSUSE:Factory

2018-01-20 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2018-01-20 11:25:15

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Sat Jan 20 11:25:15 2018 rev:97 rq:565818 version:0.5.3

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-12-16 
20:47:07.759626451 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2018-01-20 
11:25:17.744347310 +0100
@@ -1,0 +2,12 @@
+Wed Jan 10 14:33:11 CET 2018 - aschn...@suse.com
+
+- use python3 instead of python2 (bsc#1070324)
+
+---
+Wed Dec  6 16:49:06 CET 2017 - ku...@suse.de
+
+- Switched from cron to systemd timers (spec file based
+  distributions) (fate#324529)
+- 0.5.3
+
+---

Old:

  snapper-0.5.2.tar.bz2

New:

  snapper-0.5.3.tar.bz2
  snapper-Debian_9.0.dsc
  snapper-xUbuntu_17.10.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.1Wp1G5/_old  2018-01-20 11:25:18.668304112 +0100
+++ /var/tmp/diff_new_pack.1Wp1G5/_new  2018-01-20 11:25:18.672303925 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -22,7 +22,7 @@
 %endif
 
 Name:   snapper
-Version:0.5.2
+Version:0.5.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -75,7 +75,7 @@
 Requires:   diffutils
 Requires:   libsnapper4 = %version
 %if 0%{?suse_version}
-Recommends: cron logrotate snapper-zypp-plugin
+Recommends: logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
 %endif
 Summary:Tool for filesystem snapshot management
@@ -108,6 +108,8 @@
 %install
 %make_install
 rm -f "%{buildroot}/%{_libdir}"/*.la 
"%{buildroot}/%{_lib}/security/pam_snapper.la"
+rm -f %{buildroot}/etc/cron.hourly/suse.de-snapper
+rm -f %{buildroot}/etc/cron.daily/suse.de-snapper
 
 %if 0%{?suse_version}
 install -D -m 644 data/sysconfig.snapper 
"%{buildroot}%{_fillupdir}/sysconfig.snapper"
@@ -120,6 +122,36 @@
 %check
 make check
 
+%pre
+%if 0%{?suse_version}
+%service_add_pre snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%endif
+
+%post
+%if 0%{?suse_version}
+# special hack, since the macros were added much later than
+# the systemd timer
+if [ -f /etc/cron.hourly/suse.de-snapper ]; then
+ systemctl preset snapper-timeline.timer || :
+ systemctl is-enabled -q snapper-timeline.timer && systemctl start 
snapper-timeline.timer || :
+fi
+if [ -f /etc/cron.daily/suse.de-snapper ]; then
+ systemctl preset snapper-cleanup.timer || :
+ systemctl is-enabled -q snapper-cleanup.timer && systemctl start 
snapper-cleanup.timer || :
+fi
+%service_add_post snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%endif
+
+%preun
+%if 0%{?suse_version}
+%service_del_preun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%endif
+
+%postun
+%if 0%{?suse_version}
+%service_del_postun snapper-boot.service snapper-boot.timer 
snapper-cleanup.service snapper-cleanup.timer snapper-timeline.service 
snapper-timeline.timer
+%endif
+
 %files -f snapper.lang
 %defattr(-,root,root)
 %{_bindir}/snapper
@@ -135,9 +167,7 @@
 %doc %{_mandir}/*/mksubvolume.8*
 %endif
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
-/etc/cron.hourly/suse.de-snapper
-/etc/cron.daily/suse.de-snapper
-/usr/lib/systemd/system/snapper-*.*
+%{_unitdir}/snapper-*.*
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
 %{_datadir}/dbus-1/system-services/org.opensuse.Snapper.service
 
@@ -211,10 +241,9 @@
 
 %package -n snapper-zypp-plugin
 BuildArch:  noarch
-Requires:   dbus-1-python
-Requires:   python-xml
+Requires:   python3-dbus-python
+Requires:   python3-zypp-plugin
 Requires:   snapper = %version
-Requires:   zypp-plugin-python
 Requires:   libzypp(plugin:commit) = 1
 Summary:A zypp commit plugin for calling snapper
 Group:  System/Packages

++ debian.tar.gz ++

++ snapper-0.5.2.tar.bz2 -> snapper-0.5.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit snapper for openSUSE:Factory

2017-12-16 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-12-16 20:46:51

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Sat Dec 16 20:46:51 2017 rev:96 rq:556698 version:0.5.2

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-10-05 
11:52:14.431850503 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-12-16 
20:47:07.759626451 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:51:45 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.rczHcu/_old  2017-12-16 20:47:09.187557519 +0100
+++ /var/tmp/diff_new_pack.rczHcu/_new  2017-12-16 20:47:09.187557519 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   snapper
 Version:0.5.2
 Release:0
@@ -105,7 +110,7 @@
 rm -f "%{buildroot}/%{_libdir}"/*.la 
"%{buildroot}/%{_lib}/security/pam_snapper.la"
 
 %if 0%{?suse_version}
-install -D -m 644 data/sysconfig.snapper 
"%{buildroot}/var/adm/fillup-templates/sysconfig.snapper"
+install -D -m 644 data/sysconfig.snapper 
"%{buildroot}%{_fillupdir}/sysconfig.snapper"
 %else
 install -D -m 644 data/sysconfig.snapper "%{buildroot}/etc/sysconfig/snapper"
 %endif
@@ -162,7 +167,7 @@
 %doc %{_defaultdocdir}/snapper/AUTHORS
 %doc %{_defaultdocdir}/snapper/COPYING
 %if 0%{?suse_version}
-/var/adm/fillup-templates/sysconfig.snapper
+%{_fillupdir}/sysconfig.snapper
 %else
 %config(noreplace) %{_sysconfdir}/sysconfig/snapper
 %endif

++ debian.tar.gz ++

++ snapper-0.5.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.2/Makefile.in 
new/snapper-0.5.2/Makefile.in
--- old/snapper-0.5.2/Makefile.in   2017-10-02 13:57:59.0 +0200
+++ new/snapper-0.5.2/Makefile.in   2017-12-07 15:49:47.0 +0100
@@ -355,7 +355,6 @@
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
-fillupdir = @fillupdir@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.2/client/Makefile.in 
new/snapper-0.5.2/client/Makefile.in
--- old/snapper-0.5.2/client/Makefile.in2017-10-02 13:57:59.0 
+0200
+++ new/snapper-0.5.2/client/Makefile.in2017-12-07 15:49:47.0 
+0100
@@ -381,7 +381,6 @@
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
-fillupdir = @fillupdir@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.2/client/utils/Makefile.in 
new/snapper-0.5.2/client/utils/Makefile.in
--- old/snapper-0.5.2/client/utils/Makefile.in  2017-10-02 13:57:59.0 
+0200
+++ new/snapper-0.5.2/client/utils/Makefile.in  2017-12-07 15:49:47.0 
+0100
@@ -305,7 +305,6 @@
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
-fillupdir = @fillupdir@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.2/configure new/snapper-0.5.2/configure
--- old/snapper-0.5.2/configure 2017-10-02 13:57:57.0 +0200
+++ new/snapper-0.5.2/configure 2017-12-07 15:49:45.0 +0100
@@ -634,7 +634,6 @@
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
-fillupdir
 LIBVERSION_INFO
 LIBVERSION_PATCHLEVEL
 LIBVERSION_MINOR
@@ -16484,8 +16483,6 @@
 CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra -Wformat=2 -Wmissing-prototypes 
-Wno-unused-parameter"
 CXXFLAGS="${CXXFLAGS} -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor 
-Wno-unused-parameter"
 
-fillupdir=/var/adm/fillup-templates
-
 
 # Check whether --with-conf was given.
 if test "${with_conf+set}" = set; then :
@@ -17037,7 +17034,6 @@
 
 
 
-
 
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.5.2/configure.ac 
new/snapper-0.5.2/configure.ac
--- old/snapper-0.5.2/configure.ac  2017-01-13 19:37:56.0 +0100
+++ new/snapper-0.5.2/configure.ac  2017-12-07 15:49:20.0 +0100
@@ -58,8 +58,6 @@
 CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra -Wformat=2 -Wmissing-prototypes 
-Wno-unused-parameter"
 CXXFLAGS="${CXXFLAGS} -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor 

commit snapper for openSUSE:Factory

2017-10-05 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-10-05 11:51:53

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Thu Oct  5 11:51:53 2017 rev:95 rq:530420 version:0.5.2

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-08-13 
14:52:39.271816500 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-10-05 
11:52:14.431850503 +0200
@@ -1,0 +2,7 @@
+Wed Sep  6 09:53:12 CEST 2017 - aschn...@suse.com
+
+- fix compilation with boost 1.65.0 (gh#openSUSE/snapper#354)
+  (bsc#1061262)
+- version 0.5.2
+
+---

Old:

  snapper-0.5.1.tar.bz2

New:

  snapper-0.5.2.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.UWuCkK/_old  2017-10-05 11:52:16.039624276 +0200
+++ /var/tmp/diff_new_pack.UWuCkK/_new  2017-10-05 11:52:16.043623714 +0200
@@ -17,11 +17,10 @@
 
 
 Name:   snapper
-Version:0.5.1
+Version:0.5.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
-Prefix: /usr
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_system-devel
 BuildRequires:  libboost_test-devel
@@ -82,25 +81,16 @@
 %description
 This package contains snapper, a tool for filesystem snapshot management.
 
-Authors:
-
-Arvin Schnell 
-
 %prep
-%setup -n snapper-%{version}
+%setup
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
-export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
-
-aclocal
-libtoolize --force --automake --copy
-autoheader
-automake --add-missing --copy
-autoconf
+export CFLAGS="%{optflags} -DNDEBUG"
+export CXXFLAGS="%{optflags} -DNDEBUG"
 
-./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
-   --docdir=%{prefix}/share/doc/packages/snapper   
\
+autoreconf -fi
+%configure \
+   --docdir="%{_defaultdocdir}/snapper"\
 %if 0%{?suse_version} <= 1310
--disable-rollback  
\
 %endif
@@ -108,16 +98,16 @@
--disable-btrfs-quota   
\
 %endif
--disable-silent-rules --disable-ext4
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR="$RPM_BUILD_ROOT"
-rm $RPM_BUILD_ROOT/%{_lib}/security/pam_snapper.la
+%make_install
+rm -f "%{buildroot}/%{_libdir}"/*.la 
"%{buildroot}/%{_lib}/security/pam_snapper.la"
 
 %if 0%{?suse_version}
-install -D -m 644 data/sysconfig.snapper 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.snapper
+install -D -m 644 data/sysconfig.snapper 
"%{buildroot}/var/adm/fillup-templates/sysconfig.snapper"
 %else
-install -D -m 644 data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper
+install -D -m 644 data/sysconfig.snapper "%{buildroot}/etc/sysconfig/snapper"
 %endif
 
 %{find_lang} snapper
@@ -125,17 +115,14 @@
 %check
 make check
 
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
 %files -f snapper.lang
 %defattr(-,root,root)
-%{prefix}/bin/snapper
-%{prefix}/sbin/snapperd
+%{_bindir}/snapper
+%{_sbindir}/snapperd
 %if 0%{?suse_version} > 1310
-%{prefix}/sbin/mksubvolume
+%{_sbindir}/mksubvolume
 %endif
-%{prefix}/lib/snapper
+%{_prefix}/lib/snapper
 %doc %{_mandir}/*/snapper.8*
 %doc %{_mandir}/*/snapperd.8*
 %doc %{_mandir}/*/snapper-configs.5*
@@ -147,7 +134,7 @@
 /etc/cron.daily/suse.de-snapper
 /usr/lib/systemd/system/snapper-*.*
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
-%{prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
+%{_datadir}/dbus-1/system-services/org.opensuse.Snapper.service
 
 %package -n libsnapper4
 Summary:Library for filesystem snapshot management
@@ -162,10 +149,6 @@
 %description -n libsnapper4
 This package contains libsnapper, a library for filesystem snapshot management.
 
-Authors:
-
-Arvin Schnell 
-
 %files -n libsnapper4
 %defattr(-,root,root)
 %{_libdir}/libsnapper.so.*
@@ -175,9 +158,9 @@
 %config(noreplace) %{_sysconfdir}/snapper/config-templates/default
 %dir %{_sysconfdir}/snapper/filters
 %config(noreplace) %{_sysconfdir}/snapper/filters/*.txt
-%doc %dir %{prefix}/share/doc/packages/snapper
-%doc %{prefix}/share/doc/packages/snapper/AUTHORS
-%doc %{prefix}/share/doc/packages/snapper/COPYING
+%doc %dir %{_defaultdocdir}/snapper
+%doc %{_defaultdocdir}/snapper/AUTHORS
+%doc %{_defaultdocdir}/snapper/COPYING
 %if 0%{?suse_version}
 /var/adm/fillup-templates/sysconfig.snapper
 %else
@@ -190,8 +173,7 @@
 %{fillup_only -n snapper}
 %endif
 

commit snapper for openSUSE:Factory

2017-08-13 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-08-13 14:52:36

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Sun Aug 13 14:52:36 2017 rev:94 rq:515202 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-05-20 
10:11:25.238895194 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-08-13 
14:52:39.271816500 +0200
@@ -1,0 +2,7 @@
+Thu Aug  3 18:12:17 UTC 2017 - lsle...@suse.com
+
+- fixed table formatting for non-ACSII characters (bsc#1051901)
+  (::mbrtowc behavior has been changed in glibc-2.22)
+- version 0.5.1
+
+---

Old:

  snapper-0.5.0.tar.bz2

New:

  snapper-0.5.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.nPiBoY/_old  2017-08-13 14:52:40.835597086 +0200
+++ /var/tmp/diff_new_pack.nPiBoY/_new  2017-08-13 14:52:40.855594280 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.5.0
+Version:0.5.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2017-05-10 12:15:56.325559246 +0200
+++ new/debian/changelog2017-08-08 16:28:59.727509074 +0200
@@ -1,3 +1,9 @@
+snapper (0.5.1) stable; urgency=low
+
+  * Updated to version 0.5.1
+
+ -- Ladislav Slezák   Thu, 03 Aug 2017 20:10:49 +0200
+
 snapper (0.5.0-0) stable; urgency=low
 
   * Updated to version 0.5.0

++ snapper-0.5.0.tar.bz2 -> snapper-0.5.1.tar.bz2 ++
 1616 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.5.0/VERSION new/snapper-0.5.1/VERSION
--- old/snapper-0.5.0/VERSION   2017-05-10 12:15:56.0 +0200
+++ new/snapper-0.5.1/VERSION   2017-08-08 16:28:59.0 +0200
@@ -1 +1 @@
-0.5.0
+0.5.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.5.0/client/utils/text.cc new/snapper-0.5.1/client/utils/text.cc
--- old/snapper-0.5.0/client/utils/text.cc  2017-02-06 15:57:28.0 
+0100
+++ new/snapper-0.5.1/client/utils/text.cc  2017-08-08 16:28:59.0 
+0200
@@ -65,6 +65,9 @@
 
 s_bytes -= c_bytes;
 ptr += c_bytes;
+
+// end of string
+if (s_bytes == 0) break;
   }
 
   return s_cols;
@@ -142,6 +145,9 @@
 
 s_bytes -= c_bytes;
 ptr += c_bytes;
+
+// end of string
+if (s_bytes == 0) break;
   }
 
   if (eptr == NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.5.0/compile new/snapper-0.5.1/compile
--- old/snapper-0.5.0/compile   2017-05-10 12:34:25.0 +0200
+++ new/snapper-0.5.1/compile   2017-08-08 16:30:10.0 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2016-01-11.22; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
 # Written by Tom Tromey .
 #
 # This program is free software; you can redistribute it and/or modify
@@ -255,7 +255,8 @@
 echo "compile $scriptversion"
 exit $?
 ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
 func_cl_wrapper "$@"  # Doesn't return...
 ;;
 esac
@@ -342,6 +343,6 @@
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' 

commit snapper for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-05-20 10:11:22

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Sat May 20 10:11:22 2017 rev:93 rq:495568 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-03-31 
15:04:20.704005161 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-05-20 
10:11:25.238895194 +0200
@@ -1,0 +2,12 @@
+Tue May 09 13:52:46 CEST 2017 - aschn...@suse.com
+
+- set cleanup algorithm for rollback snapshots (fate#321773)
+- version 0.5.0
+
+---
+Thu Apr 20 10:22:57 CEST 2017 - aschn...@suse.com
+
+- generate build file for Ubuntu 17.04
+- version 0.4.5
+
+---

Old:

  snapper-0.4.4.tar.bz2

New:

  snapper-0.5.0.tar.bz2
  snapper-xUbuntu_17.04.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.gjbTkP/_old  2017-05-20 10:11:25.958793477 +0200
+++ /var/tmp/diff_new_pack.gjbTkP/_new  2017-05-20 10:11:25.958793477 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.4.4
+Version:0.5.0
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/changelog new/debian/changelog
--- old/debian/changelog2017-01-13 19:37:56.822678000 +0100
+++ new/debian/changelog2017-05-10 12:15:56.325559246 +0200
@@ -1,3 +1,9 @@
+snapper (0.5.0-0) stable; urgency=low
+
+  * Updated to version 0.5.0
+
+ -- Arvin Schnell   Tue,  9 May 2017 21:30:55 +0200
+
 snapper (0.4.1-0) stable; urgency=low
 
   * Updated to version 0.4.1

++ snapper-0.4.4.tar.bz2 -> snapper-0.5.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.4/LIBVERSION new/snapper-0.5.0/LIBVERSION
--- old/snapper-0.4.4/LIBVERSION2016-12-16 13:22:14.0 +0100
+++ new/snapper-0.5.0/LIBVERSION2017-05-10 12:15:56.0 +0200
@@ -1 +1 @@
-4.0.0
+4.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.4/Makefile.am 
new/snapper-0.5.0/Makefile.am
--- old/snapper-0.4.4/Makefile.am   2017-01-13 19:37:56.0 +0100
+++ new/snapper-0.5.0/Makefile.am   2017-05-10 12:15:56.0 +0200
@@ -23,7 +23,8 @@
 xUbuntu_15.04  \
 xUbuntu_15.10  \
 xUbuntu_16.04  \
-xUbuntu_16.10
+xUbuntu_16.10  \
+xUbuntu_17.04
 
 show-debian:
@echo "Debian flavors: $(DEBIAN_FLAVOURS)"
@@ -61,9 +62,9 @@
 package: snapper-$(VERSION).tar.bz2 package-clean
tar cfzv package/debian.tar.gz --transform='s|dists/||' 
--show-transformed --exclude='*.in' dists/debian/*
cp dists/debian/*.dsc.in package/
-   echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" 
>>package/snapper-Debian.dsc.in
-   echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" 
>>package/snapper-xUbuntu.dsc.in
-   for FLAV in $(DEBIAN_FLAVOURS); do cp -v package/snapper-Debian.dsc.in  
package/snapper-$${FLAV}.dsc; done
+   echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" >> 
package/snapper-Debian.dsc.in
+   echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" >> 
package/snapper-xUbuntu.dsc.in
+   for FLAV in $(DEBIAN_FLAVOURS); do cp -v package/snapper-Debian.dsc.in 
package/snapper-$${FLAV}.dsc; done
for FLAV in $(UBUNTU_FLAVOURS); do cp -v package/snapper-xUbuntu.dsc.in 
package/snapper-$${FLAV}.dsc; done
rm package/snapper*.dsc.in*
mv snapper-$(VERSION).tar.bz2 package/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.4/Makefile.in 
new/snapper-0.5.0/Makefile.in
--- old/snapper-0.4.4/Makefile.in   2017-03-23 11:38:33.0 +0100
+++ new/snapper-0.5.0/Makefile.in   2017-05-10 12:34:25.0 +0200
@@ -400,7 +400,8 @@
 xUbuntu_15.04  \
 xUbuntu_15.10  \
 xUbuntu_16.04  \
-xUbuntu_16.10
+xUbuntu_16.10  \
+xUbuntu_17.04
 
 all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -952,9 +953,9 @@
 package: snapper-$(VERSION).tar.bz2 package-clean
tar cfzv package/debian.tar.gz --transform='s|dists/||' 
--show-transformed --exclude='*.in' dists/debian/*
cp dists/debian/*.dsc.in package/
-   echo "$(shell md5sum $< | sed -e 

commit snapper for openSUSE:Factory

2017-03-31 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-03-31 15:04:19

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Fri Mar 31 15:04:19 2017 rev:92 rq:482180 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-02-07 
11:58:57.383954417 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-03-31 
15:04:20.704005161 +0200
@@ -1,0 +2,7 @@
+Wed Mar 22 16:47:56 CET 2017 - aschn...@suse.com
+
+- remove read-only mount option for new fstab entry in mksubvolume
+  (bsc#1030257)
+- version 0.4.4
+
+---

Old:

  snapper-0.4.3.tar.bz2

New:

  snapper-0.4.4.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.wSLR6z/_old  2017-03-31 15:04:21.851842892 +0200
+++ /var/tmp/diff_new_pack.wSLR6z/_new  2017-03-31 15:04:21.851842892 +0200
@@ -17,12 +17,18 @@
 
 
 Name:   snapper
-Version:0.4.3
+Version:0.4.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_system-devel
+BuildRequires:  libboost_test-devel
+BuildRequires:  libboost_thread-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  e2fsprogs-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libacl-devel
@@ -188,7 +194,11 @@
 /sbin/ldconfig
 
 %package -n libsnapper-devel
+%if 0%{?suse_version} > 1325
+Requires:   libboost_headers-devel
+%else
 Requires:   boost-devel
+%endif
 Requires:   gcc-c++
 Requires:   libacl-devel
 Requires:   libsnapper4 = %version

++ debian.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/rules new/debian/rules
--- old/debian/rules2017-01-13 19:37:56.822678000 +0100
+++ new/debian/rules2017-02-28 18:12:18.607366317 +0100
@@ -21,3 +21,5 @@
 override_dh_auto_install:
dh_auto_install
install -D -m 644 data/sysconfig.snapper 
$$(pwd)/debian/tmp/etc/sysconfig/snapper
+   mv $$(pwd)/debian/tmp/etc/cron.hourly/suse.de-snapper 
$$(pwd)/debian/tmp/etc/cron.hourly/snapper
+   mv $$(pwd)/debian/tmp/etc/cron.daily/suse.de-snapper 
$$(pwd)/debian/tmp/etc/cron.daily/snapper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/snapper.install new/debian/snapper.install
--- old/debian/snapper.install  2017-01-13 19:37:56.822678000 +0100
+++ new/debian/snapper.install  2017-02-28 18:12:18.607366317 +0100
@@ -1,5 +1,5 @@
-etc/cron.daily/suse.de-snapper etc/cron.daily/snapper
-etc/cron.hourly/suse.de-snapper etc/cron.hourly/snapper
+etc/cron.daily/snapper
+etc/cron.hourly/snapper
 etc/dbus-1/system.d/org.opensuse.Snapper.conf
 etc/logrotate.d/snapper
 usr/bin/snapper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/snapper.preinst new/debian/snapper.preinst
--- old/debian/snapper.preinst  1970-01-01 01:00:00.0 +0100
+++ new/debian/snapper.preinst  2017-03-09 15:07:17.379493398 +0100
@@ -0,0 +1,35 @@
+#!/bin/sh
+set -e
+
+action=$1
+version=$2
+
+# This is a cleanup script for removing the fallout of bug
+# https://github.com/openSUSE/snapper/issues/328
+#
+# Normally the /etc/cron.daily/snapper item should be a file,
+# but due to that bug it was a directory for a while.
+#
+# We need to handle upgrading from the broken package specifically
+# and move the cron files to the correct location.
+# 
+# TODO: This script can be removed after some time, it is just needed
+# to overcome the temporary upgrade issue. The following package upgrades
+# will not need this.
+
+if [ "$action" = upgrade ]; then
+  # move /etc/cron.daily/snapper/suse.de-snapper to the correct location
+  if [ -e /etc/cron.daily/snapper/suse.de-snapper ]; then
+mv /etc/cron.daily/snapper/suse.de-snapper /etc/cron.daily/snapper.cron
+rm -rf /etc/cron.daily/snapper
+mv /etc/cron.daily/snapper.cron /etc/cron.daily/snapper
+  fi
+  # move /etc/cron.hourly/snapper/suse.de-snapper to the correct location
+  if [ -e /etc/cron.hourly/snapper/suse.de-snapper ]; then
+mv /etc/cron.hourly/snapper/suse.de-snapper /etc/cron.hourly/snapper.cron
+rm -rf /etc/cron.hourly/snapper
+mv /etc/cron.hourly/snapper.cron /etc/cron.hourly/snapper
+  fi
+fi
+
+exit 0

++ snapper-0.4.3.tar.bz2 -> snapper-0.4.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.3/VERSION 

commit snapper for openSUSE:Factory

2017-02-07 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-02-07 11:58:56

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2017-01-18 
21:31:09.914886434 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-02-07 
11:58:57.383954417 +0100
@@ -1,0 +2,13 @@
+Thu Feb 02 19:07:40 CET 2017 - aschn...@suse.com
+
+- deal with CaaSP btrfs setup where certain subvolumes are
+  read-only (bsc#1018302 and bsc#1018095)
+- version 0.4.3
+
+---
+Thu Feb 02 14:49:59 CET 2017 - aschn...@suse.com
+
+- build SLE12 versions with quota support again (bsc#1021370)
+- version 0.4.2
+
+---

Old:

  snapper-0.4.1.tar.bz2

New:

  snapper-0.4.3.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.ZsFkIW/_old  2017-02-07 11:58:58.079855755 +0100
+++ /var/tmp/diff_new_pack.ZsFkIW/_new  2017-02-07 11:58:58.079855755 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.4.1
+Version:0.4.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -98,7 +98,7 @@
 %if 0%{?suse_version} <= 1310
--disable-rollback  
\
 %endif
-%if 0%{?suse_version} <= 1320
+%if 0%{?suse_version} <= 1310
--disable-btrfs-quota   
\
 %endif
--disable-silent-rules --disable-ext4

++ debian.tar.gz ++

++ snapper-0.4.1.tar.bz2 -> snapper-0.4.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.1/VERSION new/snapper-0.4.3/VERSION
--- old/snapper-0.4.1/VERSION   2016-12-21 11:27:09.0 +0100
+++ new/snapper-0.4.3/VERSION   2017-02-03 13:42:08.0 +0100
@@ -1 +1 @@
-0.4.1
+0.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.1/snapper/Btrfs.cc 
new/snapper-0.4.3/snapper/Btrfs.cc
--- old/snapper-0.4.1/snapper/Btrfs.cc  2016-10-06 14:28:01.0 +0200
+++ new/snapper-0.4.3/snapper/Btrfs.cc  2017-02-03 13:42:08.0 +0100
@@ -296,6 +296,13 @@
 }
 
 
+SDir
+Btrfs::openGeneralDir() const
+{
+   return openInfosDir();
+}
+
+
 void
 Btrfs::createSnapshot(unsigned int num, unsigned int num_parent, bool 
read_only,
  bool quota) const
@@ -1446,19 +1453,19 @@
 {
try
{
+   SDir general_dir = openGeneralDir();
+
if (num == 0)
{
SDir subvolume_dir = openSubvolumeDir();
subvolid_t id = get_id(subvolume_dir.fd());
-   set_default_id(subvolume_dir.fd(), id);
+   set_default_id(general_dir.fd(), id);
}
else
{
SDir snapshot_dir = openSnapshotDir(num);
subvolid_t id = get_id(snapshot_dir.fd());
-
-   SDir subvolume_dir = openSubvolumeDir();
-   set_default_id(subvolume_dir.fd(), id);
+   set_default_id(general_dir.fd(), id);
}
}
catch (const runtime_error& e)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.1/snapper/Btrfs.h 
new/snapper-0.4.3/snapper/Btrfs.h
--- old/snapper-0.4.1/snapper/Btrfs.h   2016-08-02 10:02:11.0 +0200
+++ new/snapper-0.4.3/snapper/Btrfs.h   2017-02-03 13:42:08.0 +0100
@@ -60,6 +60,13 @@
virtual SDir openInfosDir() const;
virtual SDir openSnapshotDir(unsigned int num) const;
 
+   /**
+* A general read-write directory that can be used for ioctls. The
+* exact directory can change to adapt to the system changes,
+* e.g. which subvolumes are read-only.
+*/
+   SDir openGeneralDir() const;
+
virtual void createSnapshot(unsigned int num, unsigned int num_parent, 
bool read_only,
bool quota) const;
virtual void createSnapshotOfDefault(unsigned int num, bool read_only, 
bool quota) const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.4.1/snapper/BtrfsUtils.cc 
new/snapper-0.4.3/snapper/BtrfsUtils.cc
--- old/snapper-0.4.1/snapper/BtrfsUtils.cc 2016-08-02 13:32:11.0 
+0200
+++ new/snapper-0.4.3/snapper/BtrfsUtils.cc 2017-02-03 

commit snapper for openSUSE:Factory

2017-01-18 Thread root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2017-01-18 21:31:08

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2016-08-18 
10:18:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2017-01-18 
21:31:09.914886434 +0100
@@ -1,0 +2,23 @@
+Wed Dec 21 10:29:57 CET 2016 - aschn...@suse.com
+
+- fixed --root option (bsc#1016633)
+- version 0.4.1
+
+---
+Thu Dec 15 21:36:23 CET 2016 - aschn...@suse.com
+
+- support option --no-dbus for all snapper commands (fate#319404,
+  fate#321049)
+- version 0.4.0
+
+---
+Fri Nov 04 16:28:49 CET 2016 - aschn...@suse.com
+
+- catch exception if setting default subvolume fails (bsc#1008544)
+
+---
+Wed Nov 02 22:17:16 CET 2016 - aschn...@suse.com
+
+- fixed use of getpwuid_r, getpwnam_r and getgrnam_r
+
+---

Old:

  snapper-0.3.3.tar.bz2

New:

  debian.tar.gz
  snapper-0.4.1.tar.bz2
  snapper-Debian_7.0.dsc
  snapper-Debian_8.0.dsc
  snapper-xUbuntu_14.04.dsc
  snapper-xUbuntu_14.10.dsc
  snapper-xUbuntu_15.04.dsc
  snapper-xUbuntu_15.10.dsc
  snapper-xUbuntu_16.04.dsc
  snapper-xUbuntu_16.10.dsc



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.Xye9DC/_old  2017-01-18 21:31:10.786763127 +0100
+++ /var/tmp/diff_new_pack.Xye9DC/_new  2017-01-18 21:31:10.790762562 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.3.3
+Version:0.4.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -34,10 +34,23 @@
 %if 0%{?suse_version} > 1310
 BuildRequires:  libmount-devel >= 2.24
 %endif
+%if 0%{?fedora_version} >= 23
+BuildRequires:  pkgconfig
+%else
 BuildRequires:  pkg-config
+%endif
+%if 0%{?fedora_version} >= 24
+BuildRequires:  glibc-langpack-de
+BuildRequires:  glibc-langpack-en
+%endif
 %if ! 0%{?mandriva_version}
+%if 0%{?fedora_version} >= 23
+BuildRequires:  dbus-devel
+BuildRequires:  docbook-style-xsl
+%else
 BuildRequires:  dbus-1-devel
 BuildRequires:  docbook-xsl-stylesheets
+%endif
 BuildRequires:  libxslt
 %else
 BuildRequires:  docbook-dtd45-xml
@@ -50,7 +63,7 @@
 %endif
 BuildRequires:  pam-devel
 Requires:   diffutils
-Requires:   libsnapper3 = %version
+Requires:   libsnapper4 = %version
 %if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
@@ -85,6 +98,9 @@
 %if 0%{?suse_version} <= 1310
--disable-rollback  
\
 %endif
+%if 0%{?suse_version} <= 1320
+   --disable-btrfs-quota   
\
+%endif
--disable-silent-rules --disable-ext4
 make %{?jobs:-j%jobs}
 
@@ -110,12 +126,16 @@
 %defattr(-,root,root)
 %{prefix}/bin/snapper
 %{prefix}/sbin/snapperd
+%if 0%{?suse_version} > 1310
 %{prefix}/sbin/mksubvolume
+%endif
 %{prefix}/lib/snapper
 %doc %{_mandir}/*/snapper.8*
 %doc %{_mandir}/*/snapperd.8*
 %doc %{_mandir}/*/snapper-configs.5*
+%if 0%{?suse_version} > 1310
 %doc %{_mandir}/*/mksubvolume.8*
+%endif
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
@@ -123,7 +143,7 @@
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
 %{prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
 
-%package -n libsnapper3
+%package -n libsnapper4
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   util-linux
@@ -131,16 +151,16 @@
 PreReq: %fillup_prereq
 %endif
 # expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3...
-Obsoletes:  %(echo `seq -s " " -f "libsnapper%.f" $((3 - 1))`)
+Obsoletes:  %(echo `seq -s " " -f "libsnapper%.f" $((4 - 1))`)
 
-%description -n libsnapper3
+%description -n libsnapper4
 This package contains libsnapper, a library for filesystem snapshot management.
 
 Authors:
 
 Arvin Schnell 
 
-%files -n libsnapper3

commit snapper for openSUSE:Factory

2016-08-18 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2016-08-18 10:18:58

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2016-08-10 
19:54:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2016-08-18 
10:18:59.0 +0200
@@ -1,0 +2,12 @@
+Tue Aug 09 21:53:02 CEST 2016 - aschn...@suse.com
+
+- merged patch to fix order of object destruction on shutdown
+  (gh#openSUSE/snapper#258)
+
+---
+Mon Aug 08 14:40:32 CEST 2016 - aschn...@suse.com
+
+- better messages for some btrfs quota errors
+  (gh#openSUSE/snapper#257)
+
+---



Other differences:
--
++ snapper-0.3.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.3/client/cleanup.cc 
new/snapper-0.3.3/client/cleanup.cc
--- old/snapper-0.3.3/client/cleanup.cc 2016-04-06 17:03:34.0 +0200
+++ new/snapper-0.3.3/client/cleanup.cc 2016-08-08 14:58:00.0 +0200
@@ -189,7 +189,7 @@
 
if (strcmp(e.name(), "error.quota") == 0)
{
-   cerr << "quota not working" << endl;
+   cerr << "quota not working (" << e.message() << ")" << endl;
return false;
}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.3/client/installation-helper.cc 
new/snapper-0.3.3/client/installation-helper.cc
--- old/snapper-0.3.3/client/installation-helper.cc 2015-06-29 
14:59:43.0 +0200
+++ new/snapper-0.3.3/client/installation-helper.cc 2016-08-08 
14:58:00.0 +0200
@@ -197,6 +197,7 @@
 cout << "done" << endl;
 }
 
+
 bool
 step5(const string& root_prefix, const string& snapshot_type, unsigned int 
pre_num,
   const string& description, const string& cleanup, const map& userdata)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.3/doc/Makefile.am 
new/snapper-0.3.3/doc/Makefile.am
--- old/snapper-0.3.3/doc/Makefile.am   2015-09-22 16:35:12.0 +0200
+++ new/snapper-0.3.3/doc/Makefile.am   2016-08-02 17:31:43.0 +0200
@@ -27,7 +27,8 @@
 .xml.html: .xml
$(XSLTPROC) --nonet html.xsl $< > $@
 
-EXTRA_DIST = dbus-protocol.txt manpages.xsl html.xsl
+EXTRA_DIST = dbus-protocol.txt manpages.xsl html.xsl selinux-readme.txt
+
 
 clean-local:
rm -f *.{5,8} *.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.3/doc/Makefile.in 
new/snapper-0.3.3/doc/Makefile.in
--- old/snapper-0.3.3/doc/Makefile.in   2016-08-02 13:35:20.0 +0200
+++ new/snapper-0.3.3/doc/Makefile.in   2016-08-10 20:12:59.0 +0200
@@ -309,7 +309,7 @@
 top_srcdir = @top_srcdir@
 man_MANS = snapper.8 snapperd.8 snapper-configs.5 $(am__append_1) \
$(am__append_2) $(am__append_3)
-EXTRA_DIST = dbus-protocol.txt manpages.xsl html.xsl
+EXTRA_DIST = dbus-protocol.txt manpages.xsl html.xsl selinux-readme.txt
 all: all-am
 
 .SUFFIXES:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.3/doc/selinux-readme.txt 
new/snapper-0.3.3/doc/selinux-readme.txt
--- old/snapper-0.3.3/doc/selinux-readme.txt1970-01-01 01:00:00.0 
+0100
+++ new/snapper-0.3.3/doc/selinux-readme.txt2016-08-02 17:04:58.0 
+0200
@@ -0,0 +1,24 @@
+Any distribution interested in enabling selinux support in snapper should be 
aware
+of following requirements to be able to run snapper in confined environment
+properly.
+
+The snapper with enabled selinux support requires following symbol provided by
+distributed libselinux package: selinux_snapperd_contexts_path. The symbol is
+available in libselinux upstream [1] since commit "b2c1b0baaf52" which should
+land in libselinux version 2.6 and higher.
+
+Also distribution is expected to install a file located on a path acquired via 
the
+call above. Usually the file is packaged together with selinux-policy. 
Currently
+the minimal required file content is as follows:
+
+snapperd_data = system_u:object_r:snapperd_data_t:s0
+
+Content description:
+
+a) the selinux context referenced by key 'snapperd_data' is used to label all
+snapper metadata stored in (including) /mnt/dir/.snapshots subvolume or 
directory.
+
+Keep this file up to date whenever requirements on a selinux enabled snapper 
gets
+changed!
+
+[1] https://github.com/SELinuxProject/selinux
diff -urN 

commit snapper for openSUSE:Factory

2016-08-10 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2016-08-10 19:54:07

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2016-05-03 
09:33:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2016-08-10 
19:54:08.0 +0200
@@ -1,0 +2,7 @@
+Tue Aug 02 09:46:52 CEST 2016 - aschn...@suse.com
+
+- merged SELinux support from Red Hat (disabled at compile-time
+  per default) (gh#openSUSE/snapper#239)
+- version 0.3.3
+
+---

Old:

  snapper-0.3.2.tar.bz2

New:

  snapper-0.3.3.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.4MenAl/_old  2016-08-10 19:54:09.0 +0200
+++ /var/tmp/diff_new_pack.4MenAl/_new  2016-08-10 19:54:09.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.3.2
+Version:0.3.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.3.2.tar.bz2 -> snapper-0.3.3.tar.bz2 ++
 1726 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.3.2/VERSION new/snapper-0.3.3/VERSION
--- old/snapper-0.3.2/VERSION   2016-04-19 11:27:11.0 +0200
+++ new/snapper-0.3.3/VERSION   2016-08-02 13:30:41.0 +0200
@@ -1 +1 @@
-0.3.2
+0.3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.3.2/config.h.in new/snapper-0.3.3/config.h.in
--- old/snapper-0.3.2/config.h.in   2016-04-19 14:03:12.0 +0200
+++ new/snapper-0.3.3/config.h.in   2016-08-02 13:35:20.0 +0200
@@ -27,6 +27,9 @@
 /* Enable rollback support */
 #undef ENABLE_ROLLBACK
 
+/* Enable SELinux support */
+#undef ENABLE_SELINUX
+
 /* Enable extended attributes support */
 #undef ENABLE_XATTRS
 
@@ -42,6 +45,9 @@
 /* Define to 1 if you have the `btrfs' library (-lbtrfs). */
 #undef HAVE_LIBBTRFS
 
+/* Define to 1 if you have the `selinux' library (-lselinux). */
+#undef HAVE_LIBSELINUX
+
 /* Define to 1 if you have the  header file. */
 #undef HAVE_MEMORY_H
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.3.2/configure.ac new/snapper-0.3.3/configure.ac
--- old/snapper-0.3.2/configure.ac  2016-03-30 17:52:15.0 +0200
+++ new/snapper-0.3.3/configure.ac  2016-08-02 13:30:41.0 +0200
@@ -134,6 +134,16 @@
 [with_pam=$enableval],[with_pam=yes])
 AM_CONDITIONAL(HAVE_PAM, [test "x$with_pam" = "xyes"])
 
+AC_ARG_ENABLE([selinux], AC_HELP_STRING([--enable-selinux],[Enable support for 
SELinux LSM]),
+   [with_selinux=$enableval],[with_selinux=no])
+AM_CONDITIONAL(ENABLE_SELINUX, [test "x$enable_selinux" = "xyes"])
+
+if test "x$with_selinux" = "xyes"; then
+   AC_DEFINE(ENABLE_SELINUX, 1, [Enable SELinux support])
+   AC_CHECK_HEADER(selinux/selinux.h,[],[AC_MSG_ERROR([Cannot find 
libselinux headers. Please install libselinux-devel])])
+   AC_CHECK_LIB(selinux, selinux_snapperd_contexts_path, [], 
[AC_MSG_ERROR([selinux library does not provide selinux_snapperd_contexts_path 
symbol])])
+fi
+
 PKG_CHECK_MODULES(DBUS, dbus-1)
 
 AC_CHECK_HEADER(acl/libacl.h,[],[AC_MSG_ERROR([Cannout find libacl headers. 
Please install libacl-devel])])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.3.2/examples/c++-lib/Makefile.am 
new/snapper-0.3.3/examples/c++-lib/Makefile.am
--- old/snapper-0.3.2/examples/c++-lib/Makefile.am  2016-01-18 
11:03:24.0 +0100
+++ 

commit snapper for openSUSE:Factory

2016-05-03 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2016-05-03 09:33:06

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2016-04-12 
18:58:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2016-05-03 
09:33:07.0 +0200
@@ -1,0 +2,7 @@
+Mon Apr 18 12:20:51 CEST 2016 - aschn...@suse.com
+
+- reverted some changes done accidentally to default-config (see
+  fate#312751)
+- version 0.3.2
+
+---

Old:

  snapper-0.3.1.tar.bz2

New:

  snapper-0.3.2.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.j1yagg/_old  2016-05-03 09:33:08.0 +0200
+++ /var/tmp/diff_new_pack.j1yagg/_new  2016-05-03 09:33:08.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.3.1
+Version:0.3.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.3.1.tar.bz2 -> snapper-0.3.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.1/VERSION new/snapper-0.3.2/VERSION
--- old/snapper-0.3.1/VERSION   2016-04-11 16:02:11.0 +0200
+++ new/snapper-0.3.2/VERSION   2016-04-19 11:27:11.0 +0200
@@ -1 +1 @@
-0.3.1
+0.3.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.1/data/default-config 
new/snapper-0.3.2/data/default-config
--- old/snapper-0.3.1/data/default-config   2016-04-06 17:02:12.0 
+0200
+++ new/snapper-0.3.2/data/default-config   2016-04-19 11:27:11.0 
+0200
@@ -33,7 +33,7 @@
 
 # limit for number cleanup
 NUMBER_MIN_AGE="1800"
-NUMBER_LIMIT="10-50"
+NUMBER_LIMIT="50"
 NUMBER_LIMIT_IMPORTANT="10"
 
 
@@ -45,11 +45,11 @@
 
 # limits for timeline cleanup
 TIMELINE_MIN_AGE="1800"
-TIMELINE_LIMIT_HOURLY="4-10"
-TIMELINE_LIMIT_DAILY="4-10"
+TIMELINE_LIMIT_HOURLY="10"
+TIMELINE_LIMIT_DAILY="10"
 TIMELINE_LIMIT_WEEKLY="0"
-TIMELINE_LIMIT_MONTHLY="4-10"
-TIMELINE_LIMIT_YEARLY="4-10"
+TIMELINE_LIMIT_MONTHLY="10"
+TIMELINE_LIMIT_YEARLY="10"
 
 
 # cleanup empty pre-post-pairs
@@ -57,3 +57,4 @@
 
 # limits for empty pre-post-pair cleanup
 EMPTY_PRE_POST_MIN_AGE="1800"
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.3.1/po/zu.po new/snapper-0.3.2/po/zu.po
--- old/snapper-0.3.1/po/zu.po  2016-01-18 11:03:24.0 +0100
+++ new/snapper-0.3.2/po/zu.po  2016-04-19 14:02:13.0 +0200
@@ -6,18 +6,20 @@
 "Project-Id-Version: installation\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 16:24+0200\n"
-"PO-Revision-Date: 2006-11-03 14:26\n"
-"Last-Translator: Novell Language \n"
-"Language-Team: Novell Language \n"
-"Language: \n"
+"PO-Revision-Date: 2016-04-19 09:51+\n"
+"Last-Translator: Shane Wims \n"
+"Language-Team: Zulu \n"
+"Language: zu\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 2.5\n"
 
 #: ../client/snapper.cc:457
+#, fuzzy
 msgid "\t--all-configs, -a\t\tList snapshots from all accessible configs."
-msgstr ""
+msgstr "\t-- all-configs, -a\t\tList snapshots from accessible configs."
 
 #: ../client/snapper.cc:698 ../client/snapper.cc:832
 msgid "\t--cleanup-algorithm, -c \tCleanup algorithm for snapshot."




commit snapper for openSUSE:Factory

2016-04-12 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2016-04-12 18:58:19

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2016-01-23 
01:03:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2016-04-12 
18:58:21.0 +0200
@@ -1,0 +2,18 @@
+Mon Apr 11 15:45:05 CEST 2016 - shundham...@suse.de
+
+- make sure 'component' string is not destroyed prematurely
+  (bsc#940154)
+- version 0.3.1
+
+---
+Wed Apr 06 15:41:49 CEST 2016 - aschn...@suse.com
+
+- implemented space aware cleanup algorithms (fate#312751)
+- version 0.3.0
+
+---
+Thu Mar 31 16:00:54 CEST 2016 - aschn...@suse.com
+
+- allow to setup quota (for fate#312751)
+
+---

Old:

  snapper-0.2.10.tar.bz2

New:

  snapper-0.3.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.IUjTTb/_old  2016-04-12 18:58:21.0 +0200
+++ /var/tmp/diff_new_pack.IUjTTb/_new  2016-04-12 18:58:21.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.10
+Version:0.3.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -65,7 +65,7 @@
 
 Authors:
 
-Arvin Schnell 
+Arvin Schnell 
 
 %prep
 %setup -n snapper-%{version}
@@ -85,7 +85,7 @@
 %if 0%{?suse_version} <= 1310
--disable-rollback  
\
 %endif
-   --disable-silent-rules --disable-ext4 --disable-btrfs-quota
+   --disable-silent-rules --disable-ext4
 make %{?jobs:-j%jobs}
 
 %install
@@ -138,7 +138,7 @@
 
 Authors:
 
-Arvin Schnell 
+Arvin Schnell 
 
 %files -n libsnapper3
 %defattr(-,root,root)
@@ -189,7 +189,7 @@
 
 Authors:
 
-Arvin Schnell 
+Arvin Schnell 
 
 %files -n libsnapper-devel
 %defattr(-,root,root)
@@ -213,7 +213,7 @@
 
 Authors:
 
-Arvin Schnell 
+Arvin Schnell 
 
 %files -n snapper-zypp-plugin
 %defattr(-,root,root)

++ snapper-0.2.10.tar.bz2 -> snapper-0.3.1.tar.bz2 ++
 4683 lines of diff (skipped)




commit snapper for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2016-01-23 01:03:55

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-10-01 
12:20:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2016-01-23 
01:03:56.0 +0100
@@ -1,0 +2,17 @@
+Fri Dec 18 15:41:16 CET 2015 - aschn...@suse.com
+
+- improved error message (see bsc#956606)
+
+---
+Mon Dec 14 16:25:32 UTC 2015 - lsle...@suse.cz
+
+- Allow rollback only for the root file system (bsc#954445)
+- version 0.2.10
+
+---
+Wed Oct 14 13:52:10 CEST 2015 - aschn...@suse.com
+
+- added conditional compilation of installation-helper
+  (gh#openSUSE/snapper#202)
+
+---

Old:

  snapper-0.2.9.tar.bz2

New:

  snapper-0.2.10.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.705tsC/_old  2016-01-23 01:03:57.0 +0100
+++ /var/tmp/diff_new_pack.705tsC/_new  2016-01-23 01:03:57.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.9
+Version:0.2.10
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.9.tar.bz2 -> snapper-0.2.10.tar.bz2 ++
 72651 lines of diff (skipped)




commit snapper for openSUSE:Factory

2015-10-01 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-10-01 12:20:51

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-09-03 
18:06:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-10-01 
12:20:53.0 +0200
@@ -1,0 +2,19 @@
+Tue Sep 22 16:51:23 CEST 2015 - aschn...@suse.com
+
+- updated translations
+
+---
+Tue Sep 22 14:55:10 CEST 2015 - shundham...@suse.de
+
+- Call script /usr/lib/snapper/plugins/rollback if present upon
+  rollback (fate#319108)
+- version 0.2.9
+
+---
+
+Tue Sep 22 12:20:28 CEST 2015 - aschn...@suse.com
+
+- added program to create btrfs subvolume suitable for systems
+  supporting rollback (bsc#944120)
+
+---

Old:

  snapper-0.2.8.tar.bz2

New:

  snapper-0.2.9.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.mWDxgq/_old  2015-10-01 12:20:54.0 +0200
+++ /var/tmp/diff_new_pack.mWDxgq/_new  2015-10-01 12:20:54.0 +0200
@@ -17,12 +17,13 @@
 
 
 Name:   snapper
-Version:0.2.8
+Version:0.2.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
 BuildRequires:  boost-devel
+BuildRequires:  e2fsprogs-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libacl-devel
 BuildRequires:  libtool
@@ -109,10 +110,12 @@
 %defattr(-,root,root)
 %{prefix}/bin/snapper
 %{prefix}/sbin/snapperd
+%{prefix}/sbin/mksubvolume
 %{prefix}/lib/snapper
 %doc %{_mandir}/*/snapper.8*
 %doc %{_mandir}/*/snapperd.8*
 %doc %{_mandir}/*/snapper-configs.5*
+%doc %{_mandir}/*/mksubvolume.8*
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper

++ snapper-0.2.8.tar.bz2 -> snapper-0.2.9.tar.bz2 ++
 26664 lines of diff (skipped)




commit snapper for openSUSE:Factory

2015-09-03 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-09-03 18:00:43

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is "snapper"

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-07-22 
09:19:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-09-03 
18:06:57.0 +0200
@@ -1,0 +2,12 @@
+Mon Aug 31 16:26:51 CEST 2015 - aschn...@suse.com
+
+- improved error reporting (bsc#940046)
+
+---
+Wed Aug 26 11:58:24 CEST 2015 - aschn...@suse.de
+
+- allow to disable zypp plugin via environment variable (see
+  fate#319316)
+- version 0.2.8
+
+---

Old:

  snapper-0.2.7.tar.bz2

New:

  snapper-0.2.8.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.t6wAQ4/_old  2015-09-03 18:07:01.0 +0200
+++ /var/tmp/diff_new_pack.t6wAQ4/_new  2015-09-03 18:07:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.7
+Version:0.2.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.7.tar.bz2 -> snapper-0.2.8.tar.bz2 ++
 1874 lines of diff (skipped)




commit snapper for openSUSE:Factory

2015-07-22 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-07-22 09:19:16

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-06-04 
09:03:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-07-22 
09:19:18.0 +0200
@@ -1,0 +2,11 @@
+Tue Jul 07 12:49:16 CEST 2015 - aschn...@suse.de
+
+- extended snapper-configs man-page
+
+---
+Mon Jun 29 14:52:31 CEST 2015 - aschn...@suse.de
+
+- allow to set cleanup algorithm for snapshots created by helper
+  programs
+
+---



Other differences:
--
++ snapper-0.2.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.7/README new/snapper-0.2.7/README
--- old/snapper-0.2.7/README2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.7/README2015-06-08 17:40:43.0 +0200
@@ -6,3 +6,20 @@
 
 For more information visit http://snapper.io/.
 
+Releasing
+=
+
+Before releasing package ensure that changes made to package are mentioned
+in `package/snapper.changes`.
+To create package use commands `make -f Makefile.repo  make package`.
+Then use common work-flow to submit package to build service. For factory
+send at first package to devel project YaST:Head on OBS.
+
+When version is increased then git repo have to be tagged. For tag use existing
+convention `vX.Y.Z`. Also obs project filesystems:snapper have to be updated.
+Please note, that this OBS project builds for more distribution so more 
metadata
+files have to be updated. See OBS documentation for more info. Generated bzip2
+tarball have to be placed on ftp.suse.com/pub/projects/snapper. When
+documentation changes e.g. man page or an important functionality, then also
+snapper.io webpages have to be updated. It is hosted as github pages in 
gh-pages
+branch in snapper git repository.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.7/client/installation-helper.cc 
new/snapper-0.2.7/client/installation-helper.cc
--- old/snapper-0.2.7/client/installation-helper.cc 2015-05-27 
11:24:19.0 +0200
+++ new/snapper-0.2.7/client/installation-helper.cc 2015-06-29 
14:59:43.0 +0200
@@ -47,7 +47,8 @@
 
 
 void
-step1(const string device, const string description, const mapstring, 
string userdata)
+step1(const string device, const string description, const string cleanup,
+  const mapstring, string userdata)
 {
 // step runs in inst-sys
 
@@ -96,6 +97,7 @@
 SCD scd;
 scd.read_only = false;
 scd.description = description;
+scd.cleanup = cleanup;
 scd.userdata = userdata;
 
 Snapshots::iterator snapshot = snapper.createSingleSnapshot(scd);
@@ -196,23 +198,24 @@
 }
 
 bool
-step5(const string root_prefix, const string description, const string 
snapshot_type,
-unsigned int pre_num, const mapstring, string userdata)
+step5(const string root_prefix, const string snapshot_type, unsigned int 
pre_num,
+  const string description, const string cleanup, const mapstring, 
string userdata)
 {
 // fate #317973
 
 // preconditions (maybe incomplete):
 // snapper rpms installed
 
-Snapshots::iterator snapshot;
 SCD scd;
-
 scd.read_only = true;
 scd.description = description;
+scd.cleanup = cleanup;
 scd.userdata = userdata;
 
 Snapper snapper(root, root_prefix);
 
+Snapshots::iterator snapshot;
+
 try
 {
 if (snapshot_type == single) {
@@ -264,10 +267,11 @@
{ device, required_argument,  0,  0 },
{ root-prefix,required_argument,  0,  0 },
{ default-subvolume-name, required_argument,  0,  0 },
-   { description,required_argument,  0,  0 },
{ snapshot-type,  required_argument,  0,  0 },
{ pre-num,required_argument,  0,  0 },
-   { userdata,   required_argument,  0,  'u' },
+   { description,required_argument,  0,  0 },
+   { cleanup,required_argument,  0,  0 },
+   { userdata,   required_argument,  0,  0 },
{ 0, 0, 0, 0 }
 };
 
@@ -275,9 +279,10 @@
 string device;
 string root_prefix = /;
 string default_subvolume_name;
-string description;
 string 

commit snapper for openSUSE:Factory

2015-06-04 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-06-04 09:03:13

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-05-29 
09:54:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-06-04 
09:03:14.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 02 14:55:07 CEST 2015 - aschn...@suse.de
+
+- added error message for invalid locale setting (see bsc#933241)
+
+---



Other differences:
--
++ snapper-0.2.7.tar.bz2 ++
 25511 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.7/client/snapper.cc new/snapper-0.2.7/client/snapper.cc
--- old/snapper-0.2.7/client/snapper.cc 2015-05-27 09:59:22.0 +0200
+++ new/snapper-0.2.7/client/snapper.cc 2015-06-02 15:07:06.0 +0200
@@ -1587,7 +1587,15 @@
 int
 main(int argc, char** argv)
 {
-locale::global(locale());
+try
+{
+   locale::global(locale());
+}
+catch (const runtime_error e)
+{
+   cerr  Failed to set locale. Fix your system.  endl;
+   exit (EXIT_FAILURE);
+}
 
 setLogDo(log_do);
 setLogQuery(log_query);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.7/compile new/snapper-0.2.7/compile
--- old/snapper-0.2.7/compile   2015-05-27 10:11:41.0 +0200
+++ new/snapper-0.2.7/compile   1970-01-01 01:00:00.0 +0100
@@ -1,347 +0,0 @@
-#! /bin/sh
-# Wrapper for compilers which do not understand '-c -o'.
-
-scriptversion=2012-10-14.11; # UTC
-
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
-# Written by Tom Tromey tro...@cygnus.com.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see http://www.gnu.org/licenses/.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# This file is maintained in Automake, please report
-# bugs to bug-autom...@gnu.org or send patches to
-# automake-patc...@gnu.org.
-
-nl='
-'
-
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent tools from complaining about whitespace usage.
-IFS=$nl
-
-file_conv=
-
-# func_file_conv build_file lazy
-# Convert a $build file to $host form and store it in $file
-# Currently only supports Windows hosts. If the determined conversion
-# type is listed in (the comma separated) LAZY, no conversion will
-# take place.
-func_file_conv ()
-{
-  file=$1
-  case $file in
-/ | /[!/]*) # absolute file, and not a UNC file
-  if test -z $file_conv; then
-   # lazily determine how to convert abs files
-   case `uname -s` in
- MINGW*)
-   file_conv=mingw
-   ;;
- CYGWIN*)
-   file_conv=cygwin
-   ;;
- *)
-   file_conv=wine
-   ;;
-   esac
-  fi
-  case $file_conv/,$2, in
-   *,$file_conv,*)
- ;;
-   mingw/*)
- file=`cmd //C echo $file  | sed -e 's/\(.*\)  *$/\1/'`
- ;;
-   cygwin/*)
- file=`cygpath -m $file || echo $file`
- ;;
-   wine/*)
- file=`winepath -w $file || echo $file`
- ;;
-  esac
-  ;;
-  esac
-}
-
-# func_cl_dashL linkdir
-# Make cl look for libraries in LINKDIR
-func_cl_dashL ()
-{
-  func_file_conv $1
-  if 

commit snapper for openSUSE:Factory

2015-05-29 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-05-29 09:53:59

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-05-06 
11:18:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-05-29 
09:54:00.0 +0200
@@ -1,0 +2,17 @@
+Mon May 25 11:41:59 UTC 2015 - jreidin...@suse.com
+
+- allow list-configs command to work on different root
+  (for fate#317900)
+
+---
+Fri May 22 07:15:24 UTC 2015 - igonzalezs...@suse.com
+
+- Version 0.2.7
+
+---
+Mon May 18 14:38:17 UTC 2015 - igonzalezs...@suse.com
+
+- added a helper to create snapshots without D-Bus
+  during system installation/upgrade (fate#317973)
+
+---

Old:

  snapper-0.2.6.tar.bz2

New:

  snapper-0.2.7.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.fUasEj/_old  2015-05-29 09:54:01.0 +0200
+++ /var/tmp/diff_new_pack.fUasEj/_new  2015-05-29 09:54:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.6
+Version:0.2.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.6.tar.bz2 - snapper-0.2.7.tar.bz2 ++
 25767 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.6/VERSION new/snapper-0.2.7/VERSION
--- old/snapper-0.2.6/VERSION   2015-02-18 18:54:03.0 +0100
+++ new/snapper-0.2.7/VERSION   2015-05-25 12:28:17.0 +0200
@@ -1 +1 @@
-0.2.6
+0.2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.6/client/installation-helper.cc 
new/snapper-0.2.7/client/installation-helper.cc
--- old/snapper-0.2.6/client/installation-helper.cc 2015-03-03 
11:07:43.0 +0100
+++ new/snapper-0.2.7/client/installation-helper.cc 2015-05-25 
12:28:17.0 +0200
@@ -195,6 +195,46 @@
 cout  done  endl;
 }
 
+bool
+step5(const string root_prefix, const string description, const string 
snapshot_type,
+unsigned int pre_num, const mapstring, string userdata)
+{
+// fate #317973
+
+// preconditions (maybe incomplete):
+// snapper rpms installed
+
+Snapshots::iterator snapshot;
+SCD scd;
+
+scd.read_only = true;
+scd.description = description;
+scd.userdata = userdata;
+
+Snapper snapper(root, root_prefix);
+
+try
+{
+if (snapshot_type == single) {
+snapshot = snapper.createSingleSnapshot(scd);
+} else if (snapshot_type == pre) {
+snapshot = snapper.createPreSnapshot(scd);
+} else if (snapshot_type == post) {
+Snapshots snapshots = snapper.getSnapshots();
+Snapshots::iterator pre = snapshots.find(pre_num);
+snapshot = snapper.createPostSnapshot(pre, scd);
+}
+}
+catch (const runtime_error e)
+{
+y2err(create snapshot failed,   e.what());
+return false;
+}
+
+cout  snapshot-getNum()  endl;
+return true;
+}
+
 
 void
 log_do(LogLevel level, const string component, const char* file, const int 
line, const char* func,
@@ -225,6 +265,8 @@
{ root-prefix,required_argument,  0,  0 },
{ default-subvolume-name, required_argument,  0,  0 },
{ description,required_argument,  0,  0 },
+   { snapshot-type,  required_argument,  0,  0 },
+   { pre-num,required_argument,  0,  0 },
{ userdata,   required_argument,  0,  'u' },
{ 0, 0, 0, 0 }
 };
@@ -234,6 +276,8 @@
 string root_prefix = /;
 string default_subvolume_name;
 string description;
+string snapshot_type = single;
+unsigned int pre_num = 0;
 mapstring, string userdata;
 
 GetOpts 

commit snapper for openSUSE:Factory

2015-05-06 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-05-06 11:18:16

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-03-09 
09:59:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-05-06 
11:18:17.0 +0200
@@ -1,0 +2,11 @@
+Tue May 05 14:08:03 CEST 2015 - aschn...@suse.de
+
+- added option --sync to delete command (fate#317066)
+
+---
+Tue Apr 14 17:58:17 CEST 2015 - aschn...@suse.de
+
+- added option --input to diff command
+- sort files according to locale
+
+---



Other differences:
--
++ snapper-0.2.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/LIBVERSION new/snapper-0.2.6/LIBVERSION
--- old/snapper-0.2.6/LIBVERSION2015-02-18 18:54:03.0 +0100
+++ new/snapper-0.2.6/LIBVERSION2015-04-15 14:16:56.0 +0200
@@ -1 +1 @@
-3.0.0
+3.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/client/commands.cc 
new/snapper-0.2.6/client/commands.cc
--- old/snapper-0.2.6/client/commands.cc2014-04-10 12:28:10.0 
+0200
+++ new/snapper-0.2.6/client/commands.cc2015-05-05 15:36:17.0 
+0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2012-2014] Novell, Inc.
+ * Copyright (c) [2012-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -351,6 +351,13 @@
 }
 
 
+int
+operator(const XFile lhs, const XFile rhs)
+{
+return File::cmp_lt(lhs.name, rhs.name);
+}
+
+
 listXFile
 command_get_xfiles(DBus::Connection conn, const string config_name, unsigned 
int number1,
   unsigned int number2)
@@ -367,10 +374,25 @@
 DBus::Hihi hihi(reply);
 hihi  files;
 
+files.sort();  // snapperd can have different locale than 
client
+   // so sorting is required here
+
 return files;
 }
 
 
+void
+command_xsync(DBus::Connection conn, const string config_name)
+{
+DBus::MessageMethodCall call(SERVICE, OBJECT, INTERFACE, Sync);
+
+DBus::Hoho hoho(call);
+hoho  config_name;
+
+conn.send_with_reply_and_block(call);
+}
+
+
 vectorstring
 command_xdebug(DBus::Connection conn)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/client/commands.h 
new/snapper-0.2.6/client/commands.h
--- old/snapper-0.2.6/client/commands.h 2014-04-10 12:28:10.0 +0200
+++ new/snapper-0.2.6/client/commands.h 2015-05-05 15:36:17.0 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2012-2014] Novell, Inc.
+ * Copyright (c) [2012-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -115,5 +115,8 @@
 command_get_xfiles(DBus::Connection conn, const string config_name, unsigned 
int number1,
   unsigned int number2);
 
+void
+command_xsync(DBus::Connection conn, const string config_name);
+
 vectorstring
 command_xdebug(DBus::Connection conn);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/client/snapper.cc 
new/snapper-0.2.6/client/snapper.cc
--- old/snapper-0.2.6/client/snapper.cc 2015-02-18 18:54:03.0 +0100
+++ new/snapper-0.2.6/client/snapper.cc 2015-05-05 15:36:17.0 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2011-2014] Novell, Inc.
+ * Copyright (c) [2011-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -95,9 +95,74 @@
 
 MyFiles(const FilePaths* file_paths)
: Files(file_paths) {}
+
+void bulk_process(FILE* file, std::functionvoid(File file) callback);
+
 };
 
 
+void
+MyFiles::bulk_process(FILE* file, std::functionvoid(File file) callback)
+{
+if (file)
+{
+   AsciiFileReader asciifile(file);
+
+   string line;
+   while (asciifile.getline(line))
+   {
+   if (line.empty())
+   continue;
+
+   string name = line;
+
+   // strip optional status
+   if (name[0] != '/')
+   {
+   string::size_type pos = name.find( );
+   if (pos == string::npos)
+   continue;
+
+   name.erase(0, pos + 1);
+   }
+
+   Files::iterator it = findAbsolutePath(name);
+   if (it == end())
+   {
+   cerr  sformat(_(File '%s' not found.), name.c_str())  
endl;
+   exit(EXIT_FAILURE);
+   }
+
+   callback(*it);
+   }
+

commit snapper for openSUSE:Factory

2015-03-09 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-03-09 09:59:40

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-02-22 
17:25:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-03-09 
09:59:41.0 +0100
@@ -1,0 +2,17 @@
+Tue Mar 03 10:22:28 CET 2015 - aschn...@suse.de
+
+- allow to set userdata for snapshots created by helper programs
+
+---
+Mon Mar 02 17:30:06 CET 2015 - aschn...@suse.de
+
+- install systemd unit files and helper (see
+  gh#openSUSE/snapper#154)
+
+---
+Tue Feb 24 11:48:12 CET 2015 - aschn...@suse.de
+
+- drop -mt decoration from boost libraries (see
+  http://www.boost.org/users/history/version_1_40_0.html)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.fhAR1I/_old  2015-03-09 09:59:42.0 +0100
+++ /var/tmp/diff_new_pack.fhAR1I/_new  2015-03-09 09:59:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -116,6 +116,7 @@
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
+/usr/lib/systemd/system/snapper-*.*
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
 %{prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
 

++ snapper-0.2.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/client/Makefile.am 
new/snapper-0.2.6/client/Makefile.am
--- old/snapper-0.2.6/client/Makefile.am2015-02-18 18:54:03.0 
+0100
+++ new/snapper-0.2.6/client/Makefile.am2015-03-03 11:07:43.0 
+0100
@@ -20,20 +20,20 @@
 
 libexecdir = /usr/lib/snapper
 
-libexec_PROGRAMS = installation-helper
+libexec_PROGRAMS = installation-helper systemd-helper
 
 installation_helper_SOURCES =  \
-   installation-helper.cc
+   installation-helper.cc  \
+   misc.cc misc.h
 
 installation_helper_LDADD = ../snapper/libsnapper.la utils/libutils.la
 
-noinst_PROGRAMS = systemd-helper
-
 systemd_helper_SOURCES =   \
systemd-helper.cc   \
types.cctypes.h \
commands.cc commands.h  \
cleanup.cc  cleanup.h   \
+   misc.cc misc.h  \
errors.cc   errors.h
 
 systemd_helper_LDADD = ../snapper/libsnapper.la utils/libutils.la 
../dbus/libdbus.la
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.6/client/Makefile.in 
new/snapper-0.2.6/client/Makefile.in
--- old/snapper-0.2.6/client/Makefile.in2015-02-20 17:15:19.0 
+0100
+++ new/snapper-0.2.6/client/Makefile.in2015-03-03 11:07:53.0 
+0100
@@ -83,8 +83,8 @@
 build_triplet = @build@
 host_triplet = @host@
 bin_PROGRAMS = snapper$(EXEEXT)
-libexec_PROGRAMS = installation-helper$(EXEEXT)
-noinst_PROGRAMS = systemd-helper$(EXEEXT)
+libexec_PROGRAMS = installation-helper$(EXEEXT) \
+   systemd-helper$(EXEEXT)
 subdir = client
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/depcomp
@@ -97,8 +97,9 @@
 CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
 am__installdirs = $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir)
-PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS)
-am_installation_helper_OBJECTS = installation-helper.$(OBJEXT)
+PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
+am_installation_helper_OBJECTS = installation-helper.$(OBJEXT) \
+   misc.$(OBJEXT)
 installation_helper_OBJECTS = $(am_installation_helper_OBJECTS)
 installation_helper_DEPENDENCIES = ../snapper/libsnapper.la \
utils/libutils.la
@@ -113,7 +114,8 @@
 snapper_DEPENDENCIES = ../snapper/libsnapper.la utils/libutils.la \
../dbus/libdbus.la
 am_systemd_helper_OBJECTS = systemd-helper.$(OBJEXT) types.$(OBJEXT) \
-   commands.$(OBJEXT) cleanup.$(OBJEXT) errors.$(OBJEXT)
+   commands.$(OBJEXT) cleanup.$(OBJEXT) misc.$(OBJEXT) \
+   errors.$(OBJEXT)
 systemd_helper_OBJECTS = $(am_systemd_helper_OBJECTS)
 

commit snapper for openSUSE:Factory

2015-02-22 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-02-22 17:25:37

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-01-29 
09:54:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-02-22 
17:25:39.0 +0100
@@ -1,0 +2,15 @@
+Fri Feb 20 14:10:01 CET 2015 - aschn...@suse.de
+
+- added comments in helper program
+
+---
+Mon Feb 16 12:01:03 CET 2015 - aschn...@suse.de
+
+- added helper to support installation into subvolume (fate#318392)
+- added root-prefix parameter for config functions
+- pass single struct instead of many values to create and modify
+  snapshot functions
+- removed deprecated functions
+- version 0.2.6
+
+---

Old:

  snapper-0.2.5.tar.bz2

New:

  snapper-0.2.6.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.9tUR7L/_old  2015-02-22 17:25:40.0 +0100
+++ /var/tmp/diff_new_pack.9tUR7L/_new  2015-02-22 17:25:40.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.5
+Version:0.2.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -49,7 +49,7 @@
 %endif
 BuildRequires:  pam-devel
 Requires:   diffutils
-Requires:   libsnapper2 = %version
+Requires:   libsnapper3 = %version
 %if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
@@ -109,6 +109,7 @@
 %defattr(-,root,root)
 %{prefix}/bin/snapper
 %{prefix}/sbin/snapperd
+%{prefix}/lib/snapper
 %doc %{_mandir}/*/snapper.8*
 %doc %{_mandir}/*/snapperd.8*
 %doc %{_mandir}/*/snapper-configs.5*
@@ -118,7 +119,7 @@
 %config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
 %{prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
 
-%package -n libsnapper2
+%package -n libsnapper3
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   util-linux
@@ -126,16 +127,16 @@
 PreReq: %fillup_prereq
 %endif
 # expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3...
-Obsoletes:  %(echo `seq -s   -f libsnapper%.f $((2 - 1))`)
+Obsoletes:  %(echo `seq -s   -f libsnapper%.f $((3 - 1))`)
 
-%description -n libsnapper2
+%description -n libsnapper3
 This package contains libsnapper, a library for filesystem snapshot management.
 
 Authors:
 
 Arvin Schnell aschn...@suse.de
 
-%files -n libsnapper2
+%files -n libsnapper3
 %defattr(-,root,root)
 %{_libdir}/libsnapper.so.*
 %dir %{_sysconfdir}/snapper
@@ -153,20 +154,20 @@
 %config(noreplace) %{_sysconfdir}/sysconfig/snapper
 %endif
 
-%post -n libsnapper2
+%post -n libsnapper3
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -n snapper}
 %endif
 
-%postun -n libsnapper2
+%postun -n libsnapper3
 /sbin/ldconfig
 
 %package -n libsnapper-devel
 Requires:   boost-devel
 Requires:   gcc-c++
 Requires:   libacl-devel
-Requires:   libsnapper2 = %version
+Requires:   libsnapper3 = %version
 Requires:   libstdc++-devel
 Requires:   libxml2-devel
 %if 0%{?suse_version}  1230

++ snapper-0.2.5.tar.bz2 - snapper-0.2.6.tar.bz2 ++
 3126 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2015-01-29 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-01-29 09:54:33

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2015-01-23 
16:17:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-01-29 
09:54:36.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan 27 12:31:45 CET 2015 - aschn...@suse.de
+
+- use C++11 chrono::steady_clock
+
+---



Other differences:
--
++ snapper-0.2.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.5/dbus/DBusMainLoop.cc 
new/snapper-0.2.5/dbus/DBusMainLoop.cc
--- old/snapper-0.2.5/dbus/DBusMainLoop.cc  2014-06-03 18:58:43.0 
+0200
+++ new/snapper-0.2.5/dbus/DBusMainLoop.cc  2015-01-27 14:25:38.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2012-2014] Novell, Inc.
+ * Copyright (c) [2012-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -22,7 +22,6 @@
 
 #include unistd.h
 #include poll.h
-#include time.h
 
 #include DBusMainLoop.h
 
@@ -106,17 +105,16 @@
}
}
 
-   int timeout = periodic_timeout();
+   milliseconds timeout = periodic_timeout();
 
-   if (idle_timeout = 0)
+   if (idle_timeout.count() = 0)
{
-   int time_left = last_action - monotonic_clock() + idle_timeout;
-
-   if (timeout  time_left * 1000 || timeout == -1)
-   timeout = time_left * 1000;
+   steady_clock::duration time_left = idle_for() + idle_timeout;
+   if (timeout  time_left || timeout.count()  0)
+   timeout = duration_castmilliseconds(time_left);
}
 
-   int r = poll(pollfds[0], pollfds.size(), timeout);
+   int r = poll(pollfds[0], pollfds.size(), timeout.count());
if (r == -1)
throw FatalException();
 
@@ -165,11 +163,10 @@
dispatch_incoming(msg);
}
 
-   if (idle_timeout = 0)
+   if (idle_timeout.count() = 0)
{
-   int time_left = last_action - monotonic_clock() + idle_timeout;
-
-   if (time_left = 0)
+   steady_clock::duration time_left = idle_for() + idle_timeout;
+   if (time_left.count() = 0)
break;
}
}
@@ -177,16 +174,23 @@
 
 
 void
-MainLoop::set_idle_timeout(int s)
+MainLoop::set_idle_timeout(milliseconds idle_timeout)
 {
-   idle_timeout = s;
+   MainLoop::idle_timeout = idle_timeout;
 }
 
 
 void
 MainLoop::reset_idle_count()
 {
-   last_action = monotonic_clock();
+   last_action = steady_clock::now();
+}
+
+
+milliseconds
+MainLoop::idle_for() const
+{
+   return duration_castmilliseconds(last_action - steady_clock::now());
 }
 
 
@@ -341,13 +345,4 @@
}
 }
 
-
-time_t
-DBus::MainLoop::monotonic_clock()
-{
-   struct timespec tmp;
-   clock_gettime(CLOCK_MONOTONIC, tmp);
-   return tmp.tv_sec;
-}
-
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.5/dbus/DBusMainLoop.h 
new/snapper-0.2.5/dbus/DBusMainLoop.h
--- old/snapper-0.2.5/dbus/DBusMainLoop.h   2014-06-03 18:58:43.0 
+0200
+++ new/snapper-0.2.5/dbus/DBusMainLoop.h   2015-01-27 14:25:38.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2012-2014] Novell, Inc.
+ * Copyright (c) [2012-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -25,6 +25,7 @@
 
 
 #include dbus/dbus.h
+#include chrono
 
 #include DBusConnection.h
 
@@ -32,6 +33,9 @@
 namespace DBus
 {
 
+using namespace std::chrono;
+
+
 class MainLoop : public Connection
 {
 public:
@@ -41,7 +45,7 @@
 
void run();
 
-   void set_idle_timeout(int s);
+   void set_idle_timeout(milliseconds idle_timeout);
void reset_idle_count();
 
void add_client_match(const string name);
@@ -50,7 +54,7 @@
virtual void method_call(Message message) = 0;
virtual void signal(Message message) = 0;
virtual void client_disconnected(const string name) = 0;
-   virtual int periodic_timeout() = 0;
+   virtual milliseconds periodic_timeout() = 0;
virtual void periodic() = 0;
 
 private:
@@ -94,10 +98,10 @@
 
void dispatch_incoming(Message message);
 
-   int idle_timeout;
-   time_t last_action;
+   milliseconds idle_for() const;
 

commit snapper for openSUSE:Factory

2015-01-23 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2015-01-23 16:17:56

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-12-16 
14:46:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2015-01-23 
16:17:59.0 +0100
@@ -1,0 +2,17 @@
+Mon Jan 19 12:42:13 CET 2015 - aschn...@suse.de
+
+- stricter dbus string escaping (see bsc#913238)
+- implemented dbus string escaping in pam_snapper
+- version 0.2.5
+
+---
+Mon Jan 12 12:19:30 CET 2015 - aschn...@suse.de
+
+- fixed compilation with clang
+
+---
+Mon Dec 15 15:14:39 CET 2014 - aschn...@suse.de
+
+- ignore everything in .snapshots not matching a number
+
+---

Old:

  snapper-0.2.4.tar.bz2

New:

  snapper-0.2.5.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.qZrFi2/_old  2015-01-23 16:17:59.0 +0100
+++ /var/tmp/diff_new_pack.qZrFi2/_new  2015-01-23 16:17:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # 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:   snapper
-Version:0.2.4
+Version:0.2.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.4.tar.bz2 - snapper-0.2.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/Makefile.am 
new/snapper-0.2.5/Makefile.am
--- old/snapper-0.2.4/Makefile.am   2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.5/Makefile.am   2015-01-12 13:50:07.0 +0100
@@ -11,14 +11,9 @@
 
 EXTRA_DIST = $(doc_DATA) VERSION LIBVERSION
 
-
 snapper-$(VERSION).tar.bz2: dist-bzip2
 
-package-local: snapper-$(VERSION).tar.bz2
+package: snapper-$(VERSION).tar.bz2
rm -f package/snapper-*.tar.bz2
-   rm -f package/*~
-   rm -f package/*.bak
mv snapper-$(VERSION).tar.bz2 package/
 
-package: package-local
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/Makefile.in 
new/snapper-0.2.5/Makefile.in
--- old/snapper-0.2.4/Makefile.in   2014-12-12 14:04:09.0 +0100
+++ new/snapper-0.2.5/Makefile.in   2015-01-19 16:56:50.0 +0100
@@ -876,14 +876,10 @@
 
 snapper-$(VERSION).tar.bz2: dist-bzip2
 
-package-local: snapper-$(VERSION).tar.bz2
+package: snapper-$(VERSION).tar.bz2
rm -f package/snapper-*.tar.bz2
-   rm -f package/*~
-   rm -f package/*.bak
mv snapper-$(VERSION).tar.bz2 package/
 
-package: package-local
-
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/VERSION new/snapper-0.2.5/VERSION
--- old/snapper-0.2.4/VERSION   2014-09-15 11:42:45.0 +0200
+++ new/snapper-0.2.5/VERSION   2015-01-19 16:56:41.0 +0100
@@ -1 +1 @@
-0.2.4
+0.2.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/client/snapper.cc 
new/snapper-0.2.5/client/snapper.cc
--- old/snapper-0.2.4/client/snapper.cc 2014-12-12 14:01:22.0 +0100
+++ new/snapper-0.2.5/client/snapper.cc 2015-01-12 13:50:07.0 +0100
@@ -91,7 +91,7 @@
 
 struct MyFiles : public Files
 {
-friend class MyComparison;
+friend struct MyComparison;
 
 MyFiles(const FilePaths* file_paths)
: Files(file_paths) {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/data/Makefile.am 
new/snapper-0.2.5/data/Makefile.am
--- old/snapper-0.2.4/data/Makefile.am  2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.5/data/Makefile.am  2014-12-31 13:14:14.0 +0100
@@ -4,7 +4,7 @@
 
 EXTRA_DIST = sysconfig.snapper base.txt lvm.txt x11.txt snapper.logrotate  
\
default-config org.opensuse.Snapper.conf org.opensuse.Snapper.service   
\
-   zypp-plugin.conf
+   zypp-plugin.conf cleanup.service cleanup.timer 

commit snapper for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-12-16 14:47:36

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-10-08 
22:13:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-12-16 
14:46:55.0 +0100
@@ -1,0 +2,21 @@
+Fri Dec 12 10:34:37 CET 2014 - aschn...@suse.de
+
+- improved error messages (bsc#889928 and bsc#903834)
+
+---
+Thu Dec 11 17:58:14 CET 2014 - aschn...@suse.de
+
+- support weekly snapshots in cleanup algorithm (see
+  gh#openSUSE/snapper#135)
+
+---
+Thu Oct 23 12:05:12 CEST 2014 - aschn...@suse.de
+
+- use boost unit test framework and automake check feature
+
+---
+Fri Oct 10 12:15:36 CEST 2014 - aschn...@suse.de
+
+- improved fadvise usage
+
+---



Other differences:
--
++ snapper-0.2.4.tar.bz2 ++
 1866 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.4/client/Makefile.am new/snapper-0.2.4/client/Makefile.am
--- old/snapper-0.2.4/client/Makefile.am2014-04-10 12:28:10.0 
+0200
+++ new/snapper-0.2.4/client/Makefile.am2014-12-11 18:21:17.0 
+0100
@@ -4,7 +4,7 @@
 
 SUBDIRS = utils
 
-INCLUDES = -I$(top_srcdir) $(DBUS_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
 
 bin_PROGRAMS = snapper
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.2.4/client/cleanup.cc new/snapper-0.2.4/client/cleanup.cc
--- old/snapper-0.2.4/client/cleanup.cc 2014-03-03 17:32:41.0 +0100
+++ new/snapper-0.2.4/client/cleanup.cc 2014-12-11 18:21:17.0 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2011-2013] Novell, Inc.
+ * Copyright (c) [2011-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -24,6 +24,8 @@
 
 #include snapper/SnapperTmpl.h
 
+#include utils/equal-date.h
+
 #include commands.h
 
 using namespace std;
@@ -189,31 +191,6 @@
 
 
 bool
-equal_year(const struct tm tmp1, const struct tm tmp2)
-{
-return tmp1.tm_year == tmp2.tm_year;
-}
-
-bool
-equal_month(const struct tm tmp1, const struct tm tmp2)
-{
-return equal_year(tmp1, tmp2)  tmp1.tm_mon == tmp2.tm_mon;
-}
-
-bool
-equal_day(const struct tm tmp1, const struct tm tmp2)
-{
-return equal_month(tmp1, tmp2)  tmp1.tm_mday == tmp2.tm_mday;
-}
-
-bool
-equal_hour(const struct tm tmp1, const struct tm tmp2)
-{
-return equal_day(tmp1, tmp2)  tmp1.tm_hour == tmp2.tm_hour;
-}
-
-
-bool
 is_first_yearly(listXSnapshots::const_iterator::const_iterator first,
listXSnapshots::const_iterator::const_iterator last,
XSnapshots::const_iterator it1)
@@ -230,6 +207,14 @@
 }
 
 bool
+is_first_weekly(listXSnapshots::const_iterator::const_iterator first,
+   listXSnapshots::const_iterator::const_iterator last,
+   XSnapshots::const_iterator it1)
+{
+return is_first(first, last, it1, equal_week);
+}
+
+bool
 is_first_daily(listXSnapshots::const_iterator::const_iterator first,
   listXSnapshots::const_iterator::const_iterator last,
   XSnapshots::const_iterator it1)
@@ -253,6 +238,7 @@
 size_t limit_hourly = 10;
 size_t limit_daily = 10;
 size_t limit_monthly = 10;
+size_t limit_weekly = 0;
 size_t limit_yearly = 10;
 
 XConfigInfo ci = command_get_xconfig(conn, config_name);
@@ -263,6 +249,8 @@
pos-second  limit_hourly;
 if ((pos = ci.raw.find(TIMELINE_LIMIT_DAILY)) != ci.raw.end())
pos-second  limit_daily;
+if ((pos = ci.raw.find(TIMELINE_LIMIT_WEEKLY)) != ci.raw.end())
+   pos-second  limit_weekly;
 if ((pos = ci.raw.find(TIMELINE_LIMIT_MONTHLY)) != ci.raw.end())
pos-second  limit_monthly;
 if ((pos = ci.raw.find(TIMELINE_LIMIT_YEARLY)) != ci.raw.end())
@@ -270,6 +258,7 @@
 
 size_t num_hourly = 0;
 

commit snapper for openSUSE:Factory

2014-10-08 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-10-08 22:13:30

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-10-05 
20:31:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-10-08 
22:13:38.0 +0200
@@ -1,0 +2,6 @@
+Fri Oct 3 01:05:01 CEST 2014 - dste...@suse.cz
+
+- add option --all-configs to snapper client, list snapshots from
+  all accessible configs
+
+---



Other differences:
--
++ snapper-0.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/client/snapper.cc 
new/snapper-0.2.4/client/snapper.cc
--- old/snapper-0.2.4/client/snapper.cc 2014-10-02 15:46:25.0 +0200
+++ new/snapper-0.2.4/client/snapper.cc 2014-10-06 10:44:19.0 +0200
@@ -140,6 +140,32 @@
 }
 
 
+listpairstring, string 
+enum_configs(DBus::Connection* conn)
+{
+listpairstring, string  configs;
+
+if (no_dbus)
+{
+   listConfigInfo config_infos = Snapper::getConfigs();
+   for (listConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
+   {
+   configs.push_back(make_pair(it-getConfigName(), 
it-getSubvolume()));
+   }
+}
+else
+{
+   listXConfigInfo config_infos = command_list_xconfigs(*conn);
+   for (listXConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
+   {
+   configs.push_back(make_pair(it-config_name, it-subvolume));
+   }
+}
+
+return configs;
+}
+
+
 void
 command_list_configs(DBus::Connection* conn, Snapper* snapper)
 {
@@ -157,27 +183,14 @@
 header.add(_(Subvolume));
 table.setHeader(header);
 
-if (no_dbus)
-{
-   listConfigInfo config_infos = Snapper::getConfigs();
-   for (listConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
-   {
-   TableRow row;
-   row.add(it-getConfigName());
-   row.add(it-getSubvolume());
-   table.add(row);
-   }
-}
-else
+listpairstring, string  configs = enum_configs(conn);
+
+for (listpairstring,string ::iterator it = configs.begin(); it != 
configs.end(); ++it)
 {
-   listXConfigInfo config_infos = command_list_xconfigs(*conn);
-   for (listXConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
-   {
-   TableRow row;
-   row.add(it-config_name);
-   row.add(it-subvolume);
-   table.add(row);
-   }
+   TableRow row;
+   row.add(it-first);
+   row.add(it-second);
+   table.add(row);
 }
 
 cout  table;
@@ -381,15 +394,20 @@
  endl
  _(Options for 'list' command:)  endl
  _(\t--type, -t type\t\tType of snapshots to list.)  endl
+ _(\t--all-configs, -a\t\tList snapshots from all accessible 
configs.)  endl
  endl;
 }
 
+enum ListMode { LM_ALL, LM_SINGLE, LM_PRE_POST };
+
+void list_from_one_config(DBus::Connection* conn, Snapper* snapper, string 
config_name, ListMode list_mode);
 
 void
 command_list(DBus::Connection* conn, Snapper* snapper)
 {
 const struct option options[] = {
{ type,   required_argument,  0,  't' },
+   { all-configs,no_argument,0,  'a' },
{ 0, 0, 0, 0 }
 };
 
@@ -400,7 +418,6 @@
exit(EXIT_FAILURE);
 }
 
-enum ListMode { LM_ALL, LM_SINGLE, LM_PRE_POST };
 ListMode list_mode = LM_ALL;
 
 GetOpts::parsed_opts::const_iterator opt;
@@ -420,6 +437,29 @@
}
 }
 
+listpairstring, string  configs;
+if ((opt = opts.find(all-configs)) != opts.end())
+{
+   configs = enum_configs(conn);
+}
+else
+{
+   configs.push_back(make_pair(config_name, ));
+}
+
+for (listpairstring,string ::iterator it = configs.begin(); it != 
configs.end(); ++it)
+{
+   if (it != configs.begin())
+   cout  endl;
+
+   if (configs.size()  1)
+   cout  Config:   it-first  , subvolume:   it-second  
endl;
+   list_from_one_config(conn, snapper, it-first, list_mode);
+}
+}
+
+void list_from_one_config(DBus::Connection* conn, Snapper* snapper, string 
config_name, ListMode list_mode)
+{
 Table table;
 
 switch (list_mode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/doc/snapper.xml.in 

commit snapper for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-10-05 20:30:37

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-10-01 
07:40:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-10-05 
20:31:09.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 02 14:46:37 CEST 2014 - aschn...@suse.de
+
+- allow to specify command for comparing file
+
+---



Other differences:
--
++ snapper-0.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/client/misc.cc 
new/snapper-0.2.4/client/misc.cc
--- old/snapper-0.2.4/client/misc.cc2014-08-01 10:12:17.0 +0200
+++ new/snapper-0.2.4/client/misc.cc2014-10-02 15:46:25.0 +0200
@@ -27,6 +27,7 @@
 #include boost/algorithm/string.hpp
 
 #include snapper/AppUtil.h
+#include snapper/SystemCmd.h
 
 #include utils/text.h
 
@@ -209,3 +210,27 @@
 
 return username;
 }
+
+
+Differ::Differ()
+: command(DIFFBIN  --new-file --unified), extensions()
+{
+}
+
+
+void
+Differ::run(const string f1, const string f2) const
+{
+string tmp = command;
+if (!extensions.empty())
+   tmp +=   + extensions;
+tmp +=   + quote(f1) +   + quote(f2);
+
+SystemCmd cmd(tmp);
+
+for (const string line : cmd.stdout())
+   cout  line  endl;
+
+for (const string line : cmd.stderr())
+   cerr  line  endl;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/client/misc.h 
new/snapper-0.2.4/client/misc.h
--- old/snapper-0.2.4/client/misc.h 2014-08-01 10:12:17.0 +0200
+++ new/snapper-0.2.4/client/misc.h 2014-10-02 15:46:25.0 +0200
@@ -49,3 +49,14 @@
 
 string
 username(uid_t uid);
+
+
+struct Differ
+{
+Differ();
+
+void run(const string f1, const string f2) const;
+
+string command;
+string extensions;
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/client/snapper.cc 
new/snapper-0.2.4/client/snapper.cc
--- old/snapper-0.2.4/client/snapper.cc 2014-09-12 11:53:52.0 +0200
+++ new/snapper-0.2.4/client/snapper.cc 2014-10-02 15:46:25.0 +0200
@@ -34,7 +34,6 @@
 #include snapper/SnapperTmpl.h
 #include snapper/Enum.h
 #include snapper/AsciiFile.h
-#include snapper/SystemCmd.h
 #include snapper/SnapperDefines.h
 #include snapper/XAttributes.h
 #ifdef ENABLE_ROLLBACK
@@ -964,6 +963,10 @@
 {
 cout  _(  Comparing snapshots:)  endl
  _(\tsnapper diff number1..number2 [files])  endl
+ endl
+ _(Options for 'diff' command:)  endl
+ _(\t--diff-cmd command\t\tCommand used for comparing files.)  
endl
+ _(\t--extensions, -x options\tExtra options passed to the diff 
command.)  endl
  endl;
 }
 
@@ -971,15 +974,29 @@
 void
 command_diff(DBus::Connection* conn, Snapper* snapper)
 {
-GetOpts::parsed_opts opts = getopts.parse(diff, GetOpts::no_options);
+const struct option options[] = {
+   { diff-cmd,   required_argument,  0,  0 },
+   { extensions, required_argument,  0,  'x' },
+   { 0, 0, 0, 0 }
+};
+
+GetOpts::parsed_opts opts = getopts.parse(diff, options);
 
 if (getopts.numArgs()  1) {
cerr  _(Command 'diff' needs at least one argument.)  endl;
exit(EXIT_FAILURE);
 }
 
+Differ differ;
+
 GetOpts::parsed_opts::const_iterator opt;
 
+if ((opt = opts.find(diff-cmd)) != opts.end())
+   differ.command = opt-second;
+
+if ((opt = opts.find(extensions)) != opts.end())
+   differ.extensions = opt-second;
+
 pairunsigned int, unsigned int nums(read_nums(getopts.popArg()));
 
 MyComparison comparison(*conn, nums, true);
@@ -988,14 +1005,7 @@
 if (getopts.numArgs() == 0)
 {
for (Files::const_iterator it1 = files.begin(); it1 != files.end(); 
++it1)
-   {
-   SystemCmd cmd(DIFFBIN  --unified --new-file  + 
quote(it1-getAbsolutePath(LOC_PRE)) +
-   + quote(it1-getAbsolutePath(LOC_POST)), false);
-
-   const vectorstring lines = cmd.stdout();
-   for (vectorstring::const_iterator it2 = lines.begin(); it2 != 
lines.end(); ++it2)
-   cout  it2-c_str()  endl;
-   }
+   differ.run(it1-getAbsolutePath(LOC_PRE), 
it1-getAbsolutePath(LOC_POST));
 }
 else
 {
@@ -1004,15 +1014,8 @@
string name = getopts.popArg();
 
   

commit snapper for openSUSE:Factory

2014-09-30 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-10-01 07:40:18

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-09-28 
19:55:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-10-01 
07:40:26.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 29 11:55:37 CEST 2014 - aschn...@suse.de
+
+- updated translations
+
+---



Other differences:
--
++ snapper-0.2.4.tar.bz2 ++
 16833 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-09-28 19:55:30

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-09-17 
21:24:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-09-28 
19:55:35.0 +0200
@@ -1,0 +2,5 @@
+Wed Sep 24 15:29:51 CEST 2014 - aschn...@suse.de
+
+- resolved some code issues found by code analysis
+
+---



Other differences:
--
++ snapper-0.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/snapper/AppUtil.cc 
new/snapper-0.2.4/snapper/AppUtil.cc
--- old/snapper-0.2.4/snapper/AppUtil.cc2014-08-01 10:12:17.0 
+0200
+++ new/snapper-0.2.4/snapper/AppUtil.cc2014-09-23 17:52:24.0 
+0200
@@ -35,6 +35,7 @@
 #include dirent.h
 #include mntent.h
 #include boost/algorithm/string.hpp
+#include boost/io/ios_state.hpp
 
 #include snapper/Log.h
 #include snapper/AppUtil.h
@@ -93,7 +94,7 @@
while (true)
{
// use small value for count to make function better interruptible
-   ssize_t r1 = sendfile(dest_fd, src_fd, NULL, 0x);
+   ssize_t r1 = sendfile(dest_fd, src_fd, NULL, 0x1);
if (r1 == 0)
return true;
 
@@ -371,6 +372,7 @@
 
 std::ostream operator(std::ostream s, const StopWatch sw)
 {
+   boost::io::ios_all_saver ias(s);
return s  fixed  sw.read()  s;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.4/snapper/FileUtils.cc 
new/snapper-0.2.4/snapper/FileUtils.cc
--- old/snapper-0.2.4/snapper/FileUtils.cc  2014-06-04 12:23:25.0 
+0200
+++ new/snapper-0.2.4/snapper/FileUtils.cc  2014-09-24 16:44:25.0 
+0200
@@ -61,7 +61,12 @@
}
 
struct stat buf;
-   fstat(dirfd, buf);
+   if (fstat(dirfd, buf) != 0)
+   {
+   y2err(fstat failed path:  base_path   error:  
stringerror(errno));
+   throw IOErrorException();
+   }
+
if (!S_ISDIR(buf.st_mode))
{
y2err(not a directory path:  base_path);
@@ -86,7 +91,12 @@
}
 
struct stat buf;
-   fstat(dirfd, buf);
+   if (fstat(dirfd, buf) != 0)
+   {
+   y2err(fstat failed path:  base_path   error:  
stringerror(errno));
+   throw IOErrorException();
+   }
+
if (!S_ISDIR(buf.st_mode))
{
y2err(not a directory path:  dir.fullname(name));
@@ -405,6 +415,7 @@
 
name = string(t[strlen(t) - name.size()]);
 
+   free(t);
return true;
 }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-09-17 21:24:39

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-09-08 
21:28:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-09-17 
21:24:56.0 +0200
@@ -4,0 +5 @@
+- version 0.2.4

Old:

  snapper-0.2.3.tar.bz2

New:

  snapper-0.2.4.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.28McyB/_old  2014-09-17 21:24:57.0 +0200
+++ /var/tmp/diff_new_pack.28McyB/_new  2014-09-17 21:24:57.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.3
+Version:0.2.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.3.tar.bz2 - snapper-0.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/VERSION new/snapper-0.2.4/VERSION
--- old/snapper-0.2.3/VERSION   2014-06-24 11:07:29.0 +0200
+++ new/snapper-0.2.4/VERSION   2014-09-15 11:42:45.0 +0200
@@ -1 +1 @@
-0.2.3
+0.2.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/client/snapper.cc 
new/snapper-0.2.4/client/snapper.cc
--- old/snapper-0.2.3/client/snapper.cc 2014-07-01 11:10:53.0 +0200
+++ new/snapper-0.2.4/client/snapper.cc 2014-09-12 11:53:52.0 +0200
@@ -1588,7 +1588,8 @@
 
 if ((opt = opts.find(version)) != opts.end())
 {
-   cout  snapper   VERSION  endl;
+   cout  snapper   Snapper::compileVersion()  endl;
+   cout  flags   Snapper::compileFlags()  endl;
exit(EXIT_SUCCESS);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/server/Client.cc 
new/snapper-0.2.4/server/Client.cc
--- old/snapper-0.2.3/server/Client.cc  2014-08-01 09:54:24.0 +0200
+++ new/snapper-0.2.4/server/Client.cc  2014-09-12 11:53:52.0 +0200
@@ -1367,25 +1367,8 @@
 }
 
 hoho  compile options:;
-hohoVERSION  VERSION;
-#ifdef ENABLE_BTRFS
-hohoENABLE_BTRFS;
-#endif
-#ifdef ENABLE_LVM
-hohoENABLE_LVM;
-#endif
-#ifdef ENABLE_EXT4
-hohoENABLE_EXT4;
-#endif
-#ifdef ENABLE_XATTRS
-hohoENABLE_XATTRS;
-#endif
-#ifdef ENABLE_ROLLBACK
-hohoENABLE_ROLLBACK;
-#endif
-#ifdef HAVE_LIBBTRFS
-hohoHAVE_LIBBTRFS;
-#endif
+hoho  version  + string(Snapper::compileVersion());
+hoho  flags  + string(Snapper::compileFlags());
 
 hoho.close_array();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/snapper/Snapper.cc 
new/snapper-0.2.4/snapper/Snapper.cc
--- old/snapper-0.2.3/snapper/Snapper.cc2014-09-01 15:40:38.0 
+0200
+++ new/snapper-0.2.4/snapper/Snapper.cc2014-09-12 11:53:52.0 
+0200
@@ -728,4 +728,50 @@
return !best_match.empty();
 }
 
+
+const char*
+Snapper::compileVersion()
+{
+   return VERSION;
+}
+
+
+const char*
+Snapper::compileFlags()
+{
+   return
+
+#ifndef ENABLE_BTRFS
+   no-
+#endif
+   btrfs,
+
+#ifndef ENABLE_LVM
+   no-
+#endif
+   lvm,
+
+#ifndef ENABLE_EXT4
+   no-
+#endif
+   ext4,
+
+#ifndef ENABLE_XATTRS
+   no-
+#endif
+   xattrs,
+
+#ifndef ENABLE_ROLLBACK
+   no-
+#endif
+   rollback,
+
+#ifndef ENABLE_BTRFS_QUOTA
+   no-
+#endif
+   btrfs-quota
+
+   ;
+}
+
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/snapper/Snapper.h 
new/snapper-0.2.4/snapper/Snapper.h
--- old/snapper-0.2.3/snapper/Snapper.h 2014-04-10 12:28:10.0 +0200
+++ new/snapper-0.2.4/snapper/Snapper.h 2014-09-12 11:53:52.0 +0200
@@ -170,6 +170,9 @@
 
void syncAcl() const;
 
+   static const char* compileVersion();
+   static const char* compileFlags();
+
 private:
 
void filter1(listSnapshots::iterator tmp, time_t min_age);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-09-08 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-09-08 21:28:10

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-08-03 
15:36:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-09-08 
21:28:12.0 +0200
@@ -1,0 +2,10 @@
+Wed Aug 27 17:55:32 CEST 2014 - dste...@suse.cz
+
+- conditional check for libbtrfs API version
+
+---
+Thu Aug 14 14:15:21 CEST 2014 - aschn...@suse.de
+
+- cleanup after failed create-config (bnc#863578)
+
+---



Other differences:
--
++ snapper-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/config.h.in 
new/snapper-0.2.3/config.h.in
--- old/snapper-0.2.3/config.h.in   2014-08-01 10:14:16.0 +0200
+++ new/snapper-0.2.3/config.h.in   2014-09-04 12:28:54.0 +0200
@@ -30,6 +30,9 @@
 /* Enable extended attributes support */
 #undef ENABLE_XATTRS
 
+/* Define to 1 if you have the btrfs/version.h header file. */
+#undef HAVE_BTRFS_VERSION_H
+
 /* Define to 1 if you have the dlfcn.h header file. */
 #undef HAVE_DLFCN_H
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/configure new/snapper-0.2.3/configure
--- old/snapper-0.2.3/configure 2014-08-01 10:14:15.0 +0200
+++ new/snapper-0.2.3/configure 2014-09-04 12:28:53.0 +0200
@@ -1960,6 +1960,93 @@
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# ---
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+  as_lineno=${as_lineno-$1} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if eval \${$3+:} false; then :
+  { $as_echo $as_me:${as_lineno-$LINENO}: checking for $2 5
+$as_echo_n checking for $2...  6; }
+if eval \${$3+:} false; then :
+  $as_echo_n (cached)  6
+fi
+eval ac_res=\$$3
+  { $as_echo $as_me:${as_lineno-$LINENO}: result: $ac_res 5
+$as_echo $ac_res 6; }
+else
+  # Is the header compilable?
+{ $as_echo $as_me:${as_lineno-$LINENO}: checking $2 usability 5
+$as_echo_n checking $2 usability...  6; }
+cat confdefs.h - _ACEOF conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include $2
+_ACEOF
+if ac_fn_c_try_compile $LINENO; then :
+  ac_header_compiler=yes
+else
+  ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo $as_me:${as_lineno-$LINENO}: result: $ac_header_compiler 5
+$as_echo $ac_header_compiler 6; }
+
+# Is the header present?
+{ $as_echo $as_me:${as_lineno-$LINENO}: checking $2 presence 5
+$as_echo_n checking $2 presence...  6; }
+cat confdefs.h - _ACEOF conftest.$ac_ext
+/* end confdefs.h.  */
+#include $2
+_ACEOF
+if ac_fn_c_try_cpp $LINENO; then :
+  ac_header_preproc=yes
+else
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo $as_me:${as_lineno-$LINENO}: result: $ac_header_preproc 5
+$as_echo $ac_header_preproc 6; }
+
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+  yes:no: )
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the 
compiler, rejected by the preprocessor! 5
+$as_echo $as_me: WARNING: $2: accepted by the compiler, rejected by the 
preprocessor! 2;}
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the 
compiler's result 5
+$as_echo $as_me: WARNING: $2: proceeding with the compiler's result 2;}
+;;
+  no:yes:* )
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot 
be compiled 5
+$as_echo $as_me: WARNING: $2: present but cannot be compiled 2;}
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: check for 
missing prerequisite headers? 5
+$as_echo $as_me: WARNING: $2: check for missing prerequisite headers? 
2;}
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf 
documentation 5
+$as_echo $as_me: WARNING: $2: see the Autoconf documentation 2;}
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: section 
\Present But Cannot Be Compiled\ 5
+$as_echo $as_me: WARNING: $2: section \Present But Cannot Be Compiled\ 
2;}
+{ $as_echo $as_me:${as_lineno-$LINENO}: WARNING: $2: 

commit snapper for openSUSE:Factory

2014-08-03 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-08-03 15:36:32

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-07-28 
06:31:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-08-03 
15:36:33.0 +0200
@@ -1,0 +2,7 @@
+Thu Jul 31 15:38:16 CEST 2014 - aschn...@suse.de
+
+- also handle primary group of user when checking permissions
+  (see gh#openSUSE/snapper#100)
+- show id of user if username cannot be detected
+
+---



Other differences:
--
++ snapper-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/client/misc.cc 
new/snapper-0.2.3/client/misc.cc
--- old/snapper-0.2.3/client/misc.cc2014-04-11 12:50:13.0 +0200
+++ new/snapper-0.2.3/client/misc.cc2014-08-01 10:12:17.0 +0200
@@ -196,3 +196,16 @@
 
 return configdata;
 }
+
+
+string
+username(uid_t uid)
+{
+string username;
+gid_t gid;
+
+if (!get_uid_username_gid(uid, username, gid))
+   return sformat(unknown (%d), uid);
+
+return username;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/client/misc.h 
new/snapper-0.2.3/client/misc.h
--- old/snapper-0.2.3/client/misc.h 2014-04-11 12:50:13.0 +0200
+++ new/snapper-0.2.3/client/misc.h 2014-08-01 10:12:17.0 +0200
@@ -47,3 +47,5 @@
 mapstring, string
 read_configdata(const liststring l, const mapstring, string old = 
mapstring, string());
 
+string
+username(uid_t uid);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/server/Client.cc 
new/snapper-0.2.3/server/Client.cc
--- old/snapper-0.2.3/server/Client.cc  2014-06-23 09:25:37.0 +0200
+++ new/snapper-0.2.3/server/Client.cc  2014-08-01 09:54:24.0 +0200
@@ -382,12 +382,33 @@
 const MetaSnapper meta_snapper) const
 {
 unsigned long uid = conn.get_unix_userid(msg);
+
+// Check if the uid of the dbus-user is root.
 if (uid == 0)
return;
 
-if (find(meta_snapper.uids.begin(), meta_snapper.uids.end(), uid) != 
meta_snapper.uids.end())
+// Check if the uid of the dbus-user is included in the allowed uids.
+if (contains(meta_snapper.uids, uid))
return;
 
+string username;
+gid_t gid;
+
+if (get_uid_username_gid(uid, username, gid))
+{
+   // Check if the primary gid of the dbus-user is included in the allowed 
gids.
+   if (contains(meta_snapper.gids, gid))
+   return;
+
+   vectorgid_t gids = getgrouplist(username.c_str(), gid);
+
+   // Check if any (primary or secondary) gid of the dbus-user is included 
in the allowed
+   // gids.
+   for (vectorgid_t::const_iterator it = gids.begin(); it != gids.end(); 
++it)
+   if (contains(meta_snapper.gids, *it))
+   return;
+}
+
 throw Permissions();
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/server/MetaSnapper.cc 
new/snapper-0.2.3/server/MetaSnapper.cc
--- old/snapper-0.2.3/server/MetaSnapper.cc 2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.3/server/MetaSnapper.cc 2014-08-01 09:54:24.0 
+0200
@@ -147,19 +147,24 @@
}
 }
 
+sort(uids.begin(), uids.end());
+uids.erase(unique(uids.begin(), uids.end()), uids.end());
+
+gids.clear();
+
 vectorstring groups;
 if (config_info.getValue(KEY_ALLOW_GROUPS, groups))
 {
for (vectorstring::const_iterator it = groups.begin(); it != 
groups.end(); ++it)
{
-   vectoruid_t tmp;
-   if (get_group_uids(it-c_str(), tmp))
-   uids.insert(uids.end(), tmp.begin(), tmp.end());
+   gid_t tmp;
+   if (get_group_gid(it-c_str(), tmp))
+   gids.push_back(tmp);
}
 }
 
-sort(uids.begin(), uids.end());
-uids.erase(unique(uids.begin(), uids.end()), uids.end());
+sort(gids.begin(), gids.end());
+gids.erase(unique(gids.begin(), gids.end()), gids.end());
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/server/MetaSnapper.h 
new/snapper-0.2.3/server/MetaSnapper.h
--- old/snapper-0.2.3/server/MetaSnapper.h  2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.3/server/MetaSnapper.h  2014-08-01 09:54:24.0 
+0200
@@ -95,6 

commit snapper for openSUSE:Factory

2014-07-27 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-07-28 06:31:07

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-07-12 
17:14:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-07-28 
06:31:08.0 +0200
@@ -1,0 +2,10 @@
+Fri Jul 25 12:38:33 CEST 2014 - aschn...@suse.de
+
+- updated translations
+
+---
+Tue Jul 22 10:26:09 CEST 2014 - aschn...@suse.de
+
+- disable support for qgroup (see bug#887046)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.WkxZzY/_old  2014-07-28 06:31:09.0 +0200
+++ /var/tmp/diff_new_pack.WkxZzY/_new  2014-07-28 06:31:09.0 +0200
@@ -82,9 +82,9 @@
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
--docdir=%{prefix}/share/doc/packages/snapper   
\
 %if 0%{?suse_version} = 1310
-   --disable-rollback --disable-btrfs-quota
\
+   --disable-rollback  
\
 %endif
-   --disable-silent-rules --disable-ext4
+   --disable-silent-rules --disable-ext4 --disable-btrfs-quota
 make %{?jobs:-j%jobs}
 
 %install

++ snapper-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/po/ar.po new/snapper-0.2.3/po/ar.po
--- old/snapper-0.2.3/po/ar.po  2014-07-04 11:15:51.0 +0200
+++ new/snapper-0.2.3/po/ar.po  2014-07-25 12:41:06.0 +0200
@@ -5,10 +5,10 @@
 msgstr 
 Project-Id-Version: snapper\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2014-07-04 10:40+0200\n
-PO-Revision-Date: 2014-06-06 14:45\n
-Last-Translator: Novell Language langu...@novell.com\n
-Language-Team: Novell Language langu...@novell.com\n
+POT-Creation-Date: 2014-07-01 11:36+0200\n
+PO-Revision-Date: 2014-07-15 11:31\n
+Last-Translator: Novell language langu...@novell.com\n
+Language-Team: Novell language langu...@novell.com\n
 Language: \n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
@@ -48,11 +48,11 @@
 
 #: ../client/snapper.cc:1492
 msgid \t--iso\t\t\t\tDisplay dates and times in ISO format.
-msgstr 
+msgstr \t--iso\t\t\t\tعرض التواريخ والأوقات بتنسيق ISO.
 
 #: ../client/snapper.cc:1495
 msgid \t--no-dbus\t\t\tOperate without DBus.
-msgstr \t--no-dbus\t\t\tلا تعمل بدون تثبيت DBus.
+msgstr \t--no-dbus\t\t\tتشغيل بدون DBus.
 
 #: ../client/snapper.cc:914
 msgid \t--output, -o file\t\tSave status to file.
@@ -100,7 +100,7 @@
 
 #: ../client/snapper.cc:1491
 msgid \t--utc\t\t\t\tDisplay dates and times in UTC.
-msgstr 
+msgstr \t--utc\t\t\t\tعرض التواريخ والأوقات بتوقيت UTC.
 
 #: ../client/snapper.cc:1490
 msgid \t--verbose, -v\t\t\tIncrease verbosity.
@@ -136,7 +136,7 @@
 
 #: ../client/snapper.cc:293
 msgid \tsnapper get-config
-msgstr \tضبط تهيئة الملتقط
+msgstr \tsnapper get-config
 
 #: ../client/snapper.cc:381
 msgid \tsnapper list
@@ -160,7 +160,7 @@
 
 #: ../client/snapper.cc:349
 msgid \tsnapper set-config configdata
-msgstr \tإعداد snapper configdata
+msgstr \tsnapper set-config configdata
 
 #: ../client/snapper.cc:911
 msgid \tsnapper status number1..number2
@@ -176,7 +176,7 @@
 
 #: ../client/snapper.cc:1391
 msgid \tsnapper xadiff number1..number2 [files]
-msgstr \tإختلافات الملتقط number1..number2 [ملف]
+msgstr \tsnapper xadiff number1..number2 [ملفات]
 
 #: ../client/snapper.cc:1488
 msgid Global options:
@@ -216,7 +216,7 @@
 
 #: ../client/snapper.cc:1390
 msgid   Comparing snapshots extended attributes:
-msgstr   مقارنة لقطات السمات الموسعة:
+msgstr   مقارنة السمات الموسعة للقطات:
 
 #: ../client/snapper.cc:910 ../client/snapper.cc:965
 msgid   Comparing snapshots:
@@ -240,7 +240,7 @@
 
 #: ../client/snapper.cc:292
 msgid   Get config:
-msgstr   إنشاء تهيئة:
+msgstr   الحصول على تهيئة:
 
 #: ../client/snapper.cc:138
 msgid   List configs:
@@ -264,7 +264,7 @@
 
 #: ../client/snapper.cc:348
 msgid   Set config:
-msgstr   ضبط التهيئة:
+msgstr   تعيين التهيئة:
 
 #: ../client/snapper.cc:873
 msgid   Umount snapshot:
@@ -280,9 +280,9 @@
 
 #: ../client/snapper.cc:1283 ../client/snapper.cc:1290
 #: ../client/snapper.cc:1301 ../client/snapper.cc:1308
-#, fuzzy, c-format
+#, c-format
 msgid (Snapshot %d.)
-msgstr اللقطة '%u' لم يتم العثور على.
+msgstr (اللقطة %d.)
 
 #: ../client/snapper.cc:1669 ../client/errors.cc:88
 msgid ACL error.
@@ -327,7 +327,7 @@
 
 #: 

commit snapper for openSUSE:Factory

2014-07-12 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-07-12 17:14:23

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-07-02 
15:04:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-07-12 
17:14:36.0 +0200
@@ -1,0 +2,10 @@
+Fri Jul 04 11:02:06 CEST 2014 - aschn...@suse.de
+
+- updated translations
+
+---
+Thu Jul 03 10:45:35 CEST 2014 - aschn...@suse.de
+
+- fixed pam_snapper_pamconfig.sh script (bnc#885604)
+
+---



Other differences:
--
++ snapper-0.2.3.tar.bz2 ++
 19210 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-07-02 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-07-02 15:04:27

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-06-26 
08:00:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-07-02 
15:04:28.0 +0200
@@ -1,0 +2,10 @@
+Mon Jun 30 15:43:56 CEST 2014 - aschn...@suse.de
+
+- make rollback command print verbose messages
+
+---
+Mon Jun 30 14:44:25 CEST 2014 - aschn...@suse.de
+
+- allow to add snapshots to qgroup (prototype for fate#312751)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.pmOzgp/_old  2014-07-02 15:04:29.0 +0200
+++ /var/tmp/diff_new_pack.pmOzgp/_new  2014-07-02 15:04:29.0 +0200
@@ -82,7 +82,7 @@
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
--docdir=%{prefix}/share/doc/packages/snapper   
\
 %if 0%{?suse_version} = 1310
-   --disable-rollback  
\
+   --disable-rollback --disable-btrfs-quota
\
 %endif
--disable-silent-rules --disable-ext4
 make %{?jobs:-j%jobs}

++ snapper-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/client/snapper.cc 
new/snapper-0.2.3/client/snapper.cc
--- old/snapper-0.2.3/client/snapper.cc 2014-06-06 13:36:33.0 +0200
+++ new/snapper-0.2.3/client/snapper.cc 2014-07-01 11:10:53.0 +0200
@@ -1274,22 +1274,42 @@
 
 if (getopts.numArgs() == 0)
 {
-   command_create_single_xsnapshot_of_default(*conn, config_name, true, 
description, cleanup,
-  userdata);
+   if (!quiet)
+   cout  _(Creating read-only snapshot of default subvolume.)  
flush;
+   unsigned int num1 = command_create_single_xsnapshot_of_default(*conn, 
config_name, true,
+  
description, cleanup,
+  
userdata);
+   if (!quiet)
+   cout sformat(_((Snapshot %d.)), num1)  endl;
 
+   if (!quiet)
+   cout  _(Creating read-write snapshot of current subvolume.) 
flush;
num2 = command_create_single_xsnapshot_v2(*conn, config_name, 0, false, 
description,
  cleanup, userdata);
+   if (!quiet)
+   cout sformat(_((Snapshot %d.)), num2)  endl;
 }
 else
 {
unsigned int tmp = read_num(getopts.popArg());
 
-   command_create_single_xsnapshot(*conn, config_name, description, 
cleanup, userdata);
+   if (!quiet)
+   cout  _(Creating read-only snapshot of current system.)  
flush;
+   unsigned int num1 = command_create_single_xsnapshot(*conn, config_name, 
description,
+   cleanup, userdata);
+   if (!quiet)
+   cout sformat(_((Snapshot %d.)), num1)  endl;
 
+   if (!quiet)
+   cout  sformat(_(Creating read-write snapshot of snapshot %d.), 
tmp)  flush;
num2 = command_create_single_xsnapshot_v2(*conn, config_name, tmp, 
false,
  description, cleanup, 
userdata);
+   if (!quiet)
+   cout sformat(_((Snapshot %d.)), num2)  endl;
 }
 
+if (!quiet)
+   cout  sformat(_(Setting default subvolume to snapshot %d.), num2) 
 endl;
 filesystem-setDefault(num2);
 
 if (print_number)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/config.h.in 
new/snapper-0.2.3/config.h.in
--- old/snapper-0.2.3/config.h.in   2014-06-24 11:09:17.0 +0200
+++ new/snapper-0.2.3/config.h.in   2014-07-01 11:11:26.0 +0200
@@ -15,6 +15,9 @@
 /* Enable Btrfs internal snapshots support */
 #undef ENABLE_BTRFS
 
+/* Enable btrfs quota support */
+#undef ENABLE_BTRFS_QUOTA
+
 /* Enable Ext4 snapshots support */
 #undef ENABLE_EXT4
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/configure new/snapper-0.2.3/configure
--- old/snapper-0.2.3/configure 2014-06-24 11:09:17.0 +0200
+++ new/snapper-0.2.3/configure 2014-07-01 11:11:26.0 +0200
@@ -646,6 +646,8 @@
 PKG_CONFIG
 

commit snapper for openSUSE:Factory

2014-06-26 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-06-26 08:00:27

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-06-10 
14:37:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-06-26 
08:00:39.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 23 09:19:03 CEST 2014 - aschn...@suse.de
+
+- fixed DBus introspection data
+- version 0.2.3
+
+---

Old:

  snapper-0.2.2.tar.bz2

New:

  snapper-0.2.3.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.gTcOWo/_old  2014-06-26 08:00:40.0 +0200
+++ /var/tmp/diff_new_pack.gTcOWo/_new  2014-06-26 08:00:40.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.2
+Version:0.2.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.2.2.tar.bz2 - snapper-0.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/VERSION new/snapper-0.2.3/VERSION
--- old/snapper-0.2.2/VERSION   2014-04-16 12:33:22.0 +0200
+++ new/snapper-0.2.3/VERSION   2014-06-24 11:07:29.0 +0200
@@ -1 +1 @@
-0.2.2
+0.2.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/server/Client.cc 
new/snapper-0.2.3/server/Client.cc
--- old/snapper-0.2.2/server/Client.cc  2014-04-17 15:27:38.0 +0200
+++ new/snapper-0.2.3/server/Client.cc  2014-06-23 09:25:37.0 +0200
@@ -272,7 +272,7 @@
method name='CreateSingleSnapshotV2'\n
  arg name='config-name' type='s' direction='in'/\n
  arg name='parent-number' type='u' direction='in'/\n
- arg name='read-only' type 'b' direction='in'/\n
+ arg name='read-only' type='b' direction='in'/\n
  arg name='description' type='s' direction='in'/\n
  arg name='cleanup' type='s' direction='in'/\n
  arg name='userdata' type='a{ss}' direction='in'/\n
@@ -281,7 +281,7 @@
 
method name='CreateSingleSnapshotOfDefault'\n
  arg name='config-name' type='s' direction='in'/\n
- arg name='read-only' type 'b' direction='in'/\n
+ arg name='read-only' type='b' direction='in'/\n
  arg name='description' type='s' direction='in'/\n
  arg name='cleanup' type='s' direction='in'/\n
  arg name='userdata' type='a{ss}' direction='in'/\n

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-06-10 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-06-10 14:37:26

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-06-01 
18:55:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-06-10 
14:37:59.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 02 14:54:29 CEST 2014 - aschn...@suse.de
+
+- added aliases for some snapper commands
+
+---



Other differences:
--
++ snapper-0.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/client/snapper.cc 
new/snapper-0.2.2/client/snapper.cc
--- old/snapper-0.2.2/client/snapper.cc 2014-05-27 13:00:30.0 +0200
+++ new/snapper-0.2.2/client/snapper.cc 2014-06-06 13:36:33.0 +0200
@@ -66,15 +66,20 @@
  works_without_dbus(works_without_dbus), needs_snapper(needs_snapper)
 {}
 
+Cmd(const string name, const vectorstring aliases, cmd_func_t cmd_func,
+   help_func_t help_func, bool works_without_dbus, bool needs_snapper)
+   : name(name), aliases(aliases), cmd_func(cmd_func), 
help_func(help_func),
+ works_without_dbus(works_without_dbus), needs_snapper(needs_snapper)
+{}
+
 const string name;
+const vectorstring aliases;
 const cmd_func_t cmd_func;
 const help_func_t help_func;
 const bool works_without_dbus;
 const bool needs_snapper;
 };
 
-listCmd cmds;
-
 GetOpts getopts;
 
 bool quiet = false;
@@ -1448,7 +1453,7 @@
 void help() __attribute__ ((__noreturn__));
 
 void
-help()
+help(const listCmd cmds)
 {
 getopts.parse(help, GetOpts::no_options);
 if (getopts.hasArgs())
@@ -1486,28 +1491,30 @@
 setLogDo(log_do);
 setLogQuery(log_query);
 
-cmds.push_back(Cmd(list-configs, command_list_configs, 
help_list_configs, true, false));
-cmds.push_back(Cmd(create-config, command_create_config, 
help_create_config, true, false));
-cmds.push_back(Cmd(delete-config, command_delete_config, 
help_delete_config, true, false));
-cmds.push_back(Cmd(get-config, command_get_config, help_get_config, 
true, false));
-cmds.push_back(Cmd(set-config, command_set_config, help_set_config, 
true, true));
-cmds.push_back(Cmd(list, command_list, help_list, true, true));
-cmds.push_back(Cmd(create, command_create, help_create, false, true));
-cmds.push_back(Cmd(modify, command_modify, help_modify, false, true));
-cmds.push_back(Cmd(delete, command_delete, help_delete, false, true));
-cmds.push_back(Cmd(mount, command_mount, help_mount, true, true));
-cmds.push_back(Cmd(umount, command_umount, help_umount, true, true));
-cmds.push_back(Cmd(status, command_status, help_status, false, true));
-cmds.push_back(Cmd(diff, command_diff, help_diff, false, true));
+const listCmd cmds = {
+   Cmd(list-configs, command_list_configs, help_list_configs, true, 
false),
+   Cmd(create-config, command_create_config, help_create_config, true, 
false),
+   Cmd(delete-config, command_delete_config, help_delete_config, true, 
false),
+   Cmd(get-config, command_get_config, help_get_config, true, false),
+   Cmd(set-config, command_set_config, help_set_config, true, true),
+   Cmd(list, { ls }, command_list, help_list, true, true),
+   Cmd(create, command_create, help_create, false, true),
+   Cmd(modify, command_modify, help_modify, false, true),
+   Cmd(delete, { remove, rm }, command_delete, help_delete, false, 
true),
+   Cmd(mount, command_mount, help_mount, true, true),
+   Cmd(umount, command_umount, help_umount, true, true),
+   Cmd(status, command_status, help_status, false, true),
+   Cmd(diff, command_diff, help_diff, false, true),
 #ifdef ENABLE_XATTRS
-cmds.push_back(Cmd(xadiff, command_xa_diff, help_xa_diff, false, true));
+   Cmd(xadiff, command_xa_diff, help_xa_diff, false, true),
 #endif
-cmds.push_back(Cmd(undochange, command_undo, help_undo, false, true));
+   Cmd(undochange, command_undo, help_undo, false, true),
 #ifdef ENABLE_ROLLBACK
-cmds.push_back(Cmd(rollback, command_rollback, help_rollback, false, 
true));
+   Cmd(rollback, command_rollback, help_rollback, false, true),
 #endif
-cmds.push_back(Cmd(cleanup, command_cleanup, help_cleanup, false, true));
-cmds.push_back(Cmd(debug, command_debug, help_debug, false, false));
+   Cmd(cleanup, command_cleanup, help_cleanup, false, true),
+   Cmd(debug, command_debug, help_debug, false, false)
+};
 
 

commit snapper for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-06-01 18:55:56

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-05-23 
15:00:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-06-01 
18:55:58.0 +0200
@@ -1,0 +2,5 @@
+Tue May 27 11:36:21 CEST 2014 - aschn...@suse.de
+
+- allow to display dates and times in UTC and ISO format
+
+---



Other differences:
--
++ snapper-0.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/client/snapper.cc 
new/snapper-0.2.2/client/snapper.cc
--- old/snapper-0.2.2/client/snapper.cc 2014-04-17 15:27:38.0 +0200
+++ new/snapper-0.2.2/client/snapper.cc 2014-05-27 13:00:30.0 +0200
@@ -79,6 +79,8 @@
 
 bool quiet = false;
 bool verbose = false;
+bool utc = false;
+bool iso = false;
 string config_name = root;
 bool no_dbus = false;
 
@@ -440,7 +442,7 @@
row.add(toString(it1-getType()));
row.add(decString(it1-getNum()));
row.add(it1-getType() == POST ? 
decString(it1-getPreNum()) : );
-   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
false, false));
+   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
utc, iso));
row.add(username(it1-getUid()));
row.add(it1-getCleanup());
row.add(it1-getDescription());
@@ -457,7 +459,7 @@
row.add(toString(it1-getType()));
row.add(decString(it1-getNum()));
row.add(it1-getType() == POST ? 
decString(it1-getPreNum()) : );
-   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
false, false));
+   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
utc, iso));
row.add(username(it1-getUid()));
row.add(it1-getCleanup());
row.add(it1-getDescription());
@@ -488,7 +490,7 @@
 
TableRow row;
row.add(decString(it1-getNum()));
-   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
false, false));
+   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
utc, iso));
row.add(username(it1-getUid()));
row.add(it1-getDescription());
row.add(show_userdata(it1-getUserdata()));
@@ -505,7 +507,7 @@
 
TableRow row;
row.add(decString(it1-getNum()));
-   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
false, false));
+   row.add(it1-isCurrent() ?  : datetime(it1-getDate(), 
utc, iso));
row.add(username(it1-getUid()));
row.add(it1-getDescription());
row.add(show_userdata(it1-getUserdata()));
@@ -541,8 +543,8 @@
TableRow row;
row.add(decString(it1-getNum()));
row.add(decString(it2-getNum()));
-   row.add(datetime(it1-getDate(), false, false));
-   row.add(datetime(it2-getDate(), false, false));
+   row.add(datetime(it1-getDate(), utc, iso));
+   row.add(datetime(it2-getDate(), utc, iso));
row.add(it1-getDescription());
row.add(show_userdata(it1-getUserdata()));
table.add(row);
@@ -563,8 +565,8 @@
TableRow row;
row.add(decString(it1-getNum()));
row.add(decString(it2-getNum()));
-   row.add(datetime(it1-getDate(), false, false));
-   row.add(datetime(it2-getDate(), false, false));
+   row.add(datetime(it1-getDate(), utc, iso));
+   row.add(datetime(it2-getDate(), utc, iso));
row.add(it1-getDescription());
row.add(show_userdata(it1-getUserdata()));
table.add(row);
@@ -1461,6 +1463,8 @@
 cout  _(Global options:)  endl
  _(\t--quiet, -q\t\t\tSuppress normal output.)  endl
  _(\t--verbose, -v\t\t\tIncrease verbosity.)  endl
+ _(\t--utc\t\t\t\tDisplay dates and times in UTC.)  endl
+ _(\t--iso\t\t\t\tDisplay dates and times in ISO format.)  endl
  _(\t--table-style, -t style\tTable style (integer).)  endl
  _(\t--config, -c name\t\tSet 

commit snapper for openSUSE:Factory

2014-05-23 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-05-23 15:00:40

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-05-06 
13:39:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-05-23 
15:00:41.0 +0200
@@ -1,0 +2,6 @@
+Tue May 20 16:24:10 CEST 2014 - aschn...@suse.de
+
+- extended documentation about number cleanup algorithm
+  (bnc#878009)
+
+---



Other differences:
--
++ snapper-0.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/data/zypp-plugin.conf 
new/snapper-0.2.2/data/zypp-plugin.conf
--- old/snapper-0.2.2/data/zypp-plugin.conf 2014-02-20 15:30:52.0 
+0100
+++ new/snapper-0.2.2/data/zypp-plugin.conf 2014-05-12 11:22:39.0 
+0200
@@ -4,8 +4,9 @@
   !-- List of solvables. If the zypp commit transaction includes any solvable
listed below, snapper will create pre and post snapshots. The match
attribute defines whether the pattern is a Unix shell-style wildcard
-   (w) or a regular expression (re). If any of the matching solvables
-   is marked as important, the snapshots are also marked as important. --
+   (w) or a Python regular expression (re). If any of the matching
+   solvables is marked as important, the snapshots are also marked as
+   important. --
   solvables
 solvable match=w important=truekernel-*/solvable
 solvable match=w important=truedracut/solvable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.2/doc/snapper-configs.xml.in 
new/snapper-0.2.2/doc/snapper-configs.xml.in
--- old/snapper-0.2.2/doc/snapper-configs.xml.in2014-04-22 
09:59:17.0 +0200
+++ new/snapper-0.2.2/doc/snapper-configs.xml.in2014-05-20 
17:12:42.0 +0200
@@ -2,7 +2,7 @@
 refentry id='snapper-configs5'
 
   refentryinfo
-date2014-01-29/date
+date2014-05-20/date
   /refentryinfo
 
   refmeta
@@ -131,6 +131,8 @@
  paraDefines how many important snapshots the number cleanup
  algorithm should keep. Important snapshots have important=yes in the
  userdata. The youngest important snapshots will be kept./para
+ paraThe number of normal and important snapshots are counted
+ independently./para
  paraDefault value is quot;10quot;./para
  paraNew in version 0.1.8./para
/listitem

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-04-26 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-04-26 11:45:01

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-03-06 
19:18:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-04-26 
11:45:02.0 +0200
@@ -1,0 +2,21 @@
+Thu Apr 17 15:00:25 CEST 2014 - aschn...@suse.de
+
+- fixed parent of snapshot generated by rollback
+
+---
+Thu Apr 10 10:17:49 CEST 2014 - aschn...@suse.de
+
+- added rollback support (fate#317062)
+- version 0.2.2
+
+---
+Thu Apr 03 17:49:12 CEST 2014 - aschn...@suse.de
+
+- fixed execution of grub plugin (bnc#871880)
+
+---
+Tue Apr 01 20:04:33 CEST 2014 - aschn...@suse.de
+
+- allow to add snapshots subvolume to fstab (for fate#317062)
+
+---
@@ -30 +51 @@
-- 0.2.1
+- version 0.2.1
@@ -37 +58 @@
-- 0.2.0
+- version 0.2.0
@@ -54 +75 @@
-- 0.1.8
+- version 0.1.8
@@ -77 +98 @@
-- 0.1.7
+- version 0.1.7
@@ -88 +109 @@
-- 0.1.6
+- version 0.1.6
@@ -101 +122 @@
-- 0.1.5
+- version 0.1.5

Old:

  snapper-0.2.1.tar.bz2

New:

  snapper-0.2.2.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.pwTK3b/_old  2014-04-26 11:45:03.0 +0200
+++ /var/tmp/diff_new_pack.pwTK3b/_new  2014-04-26 11:45:04.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.1
+Version:0.2.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -27,6 +27,12 @@
 BuildRequires:  libacl-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
+%if 0%{?suse_version}  1230
+BuildRequires:  libbtrfs-devel
+%endif
+%if 0%{?suse_version}  1310
+BuildRequires:  libmount-devel = 2.24
+%endif
 BuildRequires:  pkg-config
 %if ! 0%{?mandriva_version}
 BuildRequires:  dbus-1-devel
@@ -75,6 +81,9 @@
 
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
--docdir=%{prefix}/share/doc/packages/snapper   
\
+%if 0%{?suse_version} = 1310
+   --disable-rollback  
\
+%endif
--disable-silent-rules --disable-ext4
 make %{?jobs:-j%jobs}
 
@@ -160,6 +169,12 @@
 Requires:   libsnapper2 = %version
 Requires:   libstdc++-devel
 Requires:   libxml2-devel
+%if 0%{?suse_version}  1230
+Requires:   libbtrfs-devel
+%endif
+%if 0%{?suse_version}  1310
+Requires:   libmount-devel = 2.24
+%endif
 Summary:Header files and documentation for libsnapper
 Group:  Development/Languages/C and C++
 

++ snapper-0.2.1.tar.bz2 - snapper-0.2.2.tar.bz2 ++
 3409 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-03-06 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-03-06 19:18:14

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-02-21 
19:43:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-03-06 
19:18:16.0 +0100
@@ -1,0 +2,10 @@
+Mon Mar 03 17:20:41 CET 2014 - aschn...@suse.de
+
+- fixed empty-pre-post cleanup algorithm
+
+---
+Fri Feb 28 11:47:22 CET 2014 - aschn...@suse.de
+
+- fixed setting setuid bit during undochange (bnc#862964)
+
+---



Other differences:
--
++ snapper-0.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/client/cleanup.cc 
new/snapper-0.2.1/client/cleanup.cc
--- old/snapper-0.2.1/client/cleanup.cc 2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.1/client/cleanup.cc 2014-03-03 17:32:41.0 +0100
@@ -362,6 +362,8 @@
tmp.push_back(it1);
tmp.push_back(it2);
}
+
+   command_delete_xcomparison(conn, config_name, it1-getNum(), 
it2-getNum());
}
}
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/client/commands.cc 
new/snapper-0.2.1/client/commands.cc
--- old/snapper-0.2.1/client/commands.cc2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.1/client/commands.cc2014-03-03 17:32:41.0 
+0100
@@ -294,6 +294,19 @@
 }
 
 
+void
+command_delete_xcomparison(DBus::Connection conn, const string config_name, 
unsigned int number1,
+  unsigned int number2)
+{
+DBus::MessageMethodCall call(SERVICE, OBJECT, INTERFACE, 
DeleteComparison);
+
+DBus::Hoho hoho(call);
+hoho  config_name  number1  number2;
+
+conn.send_with_reply_and_block(call);
+}
+
+
 listXFile
 command_get_xfiles(DBus::Connection conn, const string config_name, unsigned 
int number1,
   unsigned int number2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/client/commands.h 
new/snapper-0.2.1/client/commands.h
--- old/snapper-0.2.1/client/commands.h 2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.1/client/commands.h 2014-03-03 17:32:41.0 +0100
@@ -95,6 +95,10 @@
 command_create_xcomparison(DBus::Connection conn, const string config_name, 
unsigned int number1,
   unsigned int number2);
 
+void
+command_delete_xcomparison(DBus::Connection conn, const string config_name, 
unsigned int number1,
+  unsigned int number2);
+
 listXFile
 command_get_xfiles(DBus::Connection conn, const string config_name, unsigned 
int number1,
   unsigned int number2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/doc/snapper.xml.in 
new/snapper-0.2.1/doc/snapper.xml.in
--- old/snapper-0.2.1/doc/snapper.xml.in2014-01-31 10:38:25.0 
+0100
+++ new/snapper-0.2.1/doc/snapper.xml.in2014-02-27 14:50:22.0 
+0100
@@ -422,6 +422,38 @@
  /listitem
/varlistentry
  /variablelist
+ paraThe output consists of a string encoding the status followed by
+ the filename. The characters of the status string are:/para
+ orderedlist
+   listitem
+ paraA computeroutput+/computeroutput means the file was
+ created, a computeroutput-/computeroutput means the file 
was deleted. A
+ computeroutputc/computeroutput means the content of the 
file has changed
+ and a computeroutputt/computeroutput means the type of the 
file has
+ changed (e.g. from regular file to directory)./para
+   /listitem
+   listitem
+ paraA computeroutputp/computeroutput means the permissions
+ are have changed./para
+   /listitem
+   listitem
+ paraAn computeroutputu/computeroutput means the user
+ ownership has changed./para
+   /listitem
+   listitem
+ paraA computeroutputg/computeroutput means the group
+ ownership has changed./para
+   /listitem
+   listitem
+ paraA computeroutputx/computeroutput means the extended
+ attribute information has changed./para
+   

commit snapper for openSUSE:Factory

2014-02-21 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-02-21 19:43:23

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-02-17 
09:37:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-02-21 
19:43:24.0 +0100
@@ -1,0 +2,10 @@
+Thu Feb 20 15:04:30 CET 2014 - aschn...@suse.de
+
+- fixed segmentation fault with DBus (bnc#860119)
+
+---
+Thu Feb 20 14:18:01 CET 2014 - aschn...@suse.de
+
+- updated zypp-plugin.conf (bnc#864841)
+
+---



Other differences:
--
++ snapper-0.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/data/zypp-plugin.conf 
new/snapper-0.2.1/data/zypp-plugin.conf
--- old/snapper-0.2.1/data/zypp-plugin.conf 2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.1/data/zypp-plugin.conf 2014-02-20 15:30:52.0 
+0100
@@ -8,9 +8,9 @@
is marked as important, the snapshots are also marked as important. --
   solvables
 solvable match=w important=truekernel-*/solvable
-solvable match=w important=truemkinitrd/solvable
+solvable match=w important=truedracut/solvable
 solvable match=w important=trueglibc/solvable
-solvable match=w important=truesystemd/solvable
+solvable match=w important=truesystemd*/solvable
 solvable match=w important=trueudev/solvable
 solvable match=w*/solvable
   /solvables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/dbus/DBusMainLoop.cc 
new/snapper-0.2.1/dbus/DBusMainLoop.cc
--- old/snapper-0.2.1/dbus/DBusMainLoop.cc  2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.1/dbus/DBusMainLoop.cc  2014-02-20 15:30:52.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012 Novell, Inc.
+ * Copyright (c) [2012-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -30,6 +30,28 @@
 namespace DBus
 {
 
+MainLoop::Watch::Watch(DBusWatch* dbus_watch)
+   : dbus_watch(dbus_watch), enabled(false), fd(-1), events(0)
+{
+   enabled = dbus_watch_get_enabled(dbus_watch);
+   fd = dbus_watch_get_unix_fd(dbus_watch);
+
+   unsigned int flags = dbus_watch_get_flags(dbus_watch);
+   if (flags  DBUS_WATCH_READABLE)
+   events |= POLLIN;
+   if (flags  DBUS_WATCH_WRITABLE)
+   events |= POLLOUT;
+}
+
+
+MainLoop::Timeout::Timeout(DBusTimeout* dbus_timeout)
+   : dbus_timeout(dbus_timeout), enabled(false), interval(0)
+{
+   enabled = dbus_timeout_get_enabled(dbus_timeout);
+   interval = dbus_timeout_get_interval(dbus_timeout);
+}
+
+
 MainLoop::MainLoop(DBusBusType type)
: Connection(type), idle_timeout(-1)
 {
@@ -100,36 +122,37 @@
 
periodic();
 
-   for (vectorstruct pollfd::const_iterator it2 = pollfds.begin(); 
it2 != pollfds.end(); ++it2)
+   for (vectorstruct pollfd::const_iterator it1 = pollfds.begin(); 
it1 != pollfds.end(); ++it1)
{
-   if (it2-fd == wakeup_pipe[0]  (it2-revents  POLLIN))
+   if (it1-fd == wakeup_pipe[0])
{
-   char arbitrary;
-   read(wakeup_pipe[0], arbitrary, 1);
+   if (it1-revents  POLLIN)
+   {
+   char arbitrary;
+   read(wakeup_pipe[0], arbitrary, 1);
+   }
}
-   }
-
-   for (vectorWatch::const_iterator it = watches.begin(); it != 
watches.end(); ++it)
-   {
-   if (it-enabled)
+   else
{
-   for (vectorstruct pollfd::const_iterator it2 = 
pollfds.begin(); it2 != pollfds.end(); ++it2)
-   {
-   if (it2-fd == it-fd)
-   {
-   unsigned int flags = 0;
+   unsigned int flags = 0;
 
-   if (it2-revents  POLLIN)
-   flags |= DBUS_WATCH_READABLE;
+   if (it1-revents  POLLIN)
+   flags |= DBUS_WATCH_READABLE;
 
-   if (it2-revents  POLLOUT)
-   flags |= DBUS_WATCH_WRITABLE;
+   if (it1-revents  POLLOUT)
+   flags |= DBUS_WATCH_WRITABLE;
 
-   if (flags != 0)
-   

commit snapper for openSUSE:Factory

2014-02-17 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-02-17 09:37:40

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-02-07 
16:44:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-02-17 
09:37:41.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 11 14:08:06 CET 2014 - aschn...@suse.de
+
+- sync ACL at startup (bnc#863073)
+
+---



Other differences:
--
++ snapper-0.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/client/snapper.cc 
new/snapper-0.2.1/client/snapper.cc
--- old/snapper-0.2.1/client/snapper.cc 2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.1/client/snapper.cc 2014-02-14 11:25:44.0 +0100
@@ -1685,7 +1685,7 @@
cerr  _(Config is in use.)  endl;
else if (name == error.snapshot_in_use)
cerr  _(Snapshot is in use.)  endl;
-   else if (name == error.unknown_file_use)
+   else if (name == error.unknown_file)
cerr  _(Unknown file.)  endl;
else if (name == error.io_error)
cerr  _(IO Error.)  endl;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.1/snapper/Snapper.cc 
new/snapper-0.2.1/snapper/Snapper.cc
--- old/snapper-0.2.1/snapper/Snapper.cc2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.1/snapper/Snapper.cc2014-02-11 14:39:48.0 
+0100
@@ -95,6 +95,10 @@
config_info-getValue(KEY_FSTYPE, fstype);
filesystem = Filesystem::create(fstype, config_info-getSubvolume());
 
+   bool sync_acl;
+   if (config_info-getValue(KEY_SYNC_ACL, sync_acl)  sync_acl == true)
+   syncAcl();
+
y2mil(subvolume:  config_info-getSubvolume()   filesystem: 
  filesystem-fstype());
 
@@ -533,7 +537,11 @@
 {
SDir infos_dir = openInfosDir();
 
-   acl_t acl = acl_get_fd(infos_dir.fd());
+   acl_t orig_acl = acl_get_fd(infos_dir.fd());
+   if (!orig_acl)
+   throw AclException();
+
+   acl_t acl = acl_dup(orig_acl);
if (!acl)
throw AclException();
 
@@ -609,8 +617,9 @@
if (acl_calc_mask(acl) != 0)
throw AclException();
 
-   if (acl_set_fd(infos_dir.fd(), acl) != 0)
-   throw AclException();
+   if (acl_cmp(orig_acl, acl) == 1)
+   if (acl_set_fd(infos_dir.fd(), acl) != 0)
+   throw AclException();
 
if (acl_free(acl) != 0)
throw AclException();

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2014-02-07 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-02-07 16:44:31

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-01-30 
09:02:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-02-07 
16:44:32.0 +0100
@@ -1,0 +2,6 @@
+Wed Feb 05 10:50:25 CET 2014 - aschn...@suse.de
+
+- fixed execution of grub scripts
+- 0.2.1
+
+---

Old:

  snapper-0.2.0.tar.bz2

New:

  snapper-0.2.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.3U6wfi/_old  2014-02-07 16:44:33.0 +0100
+++ /var/tmp/diff_new_pack.3U6wfi/_new  2014-02-07 16:44:33.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.2.0
+Version:0.2.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -116,6 +116,8 @@
 %if 0%{?suse_version}
 PreReq: %fillup_prereq
 %endif
+# expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3...
+Obsoletes:  %(echo `seq -s   -f libsnapper%.f $((2 - 1))`)
 
 %description -n libsnapper2
 This package contains libsnapper, a library for filesystem snapshot management.

++ snapper-0.2.0.tar.bz2 - snapper-0.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.0/VERSION new/snapper-0.2.1/VERSION
--- old/snapper-0.2.0/VERSION   2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.1/VERSION   2014-02-05 11:22:19.0 +0100
@@ -1 +1 @@
-0.2.0
+0.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.0/doc/html.xsl 
new/snapper-0.2.1/doc/html.xsl
--- old/snapper-0.2.0/doc/html.xsl  2014-01-29 16:48:30.0 +0100
+++ new/snapper-0.2.1/doc/html.xsl  2014-01-31 10:38:25.0 +0100
@@ -1,5 +1,21 @@
 ?xml version=1.0 encoding=UTF-8?
 xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
   xsl:import 
href=http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl/
+
   xsl:output indent=yes/
+
+  !-- Turn citerefentry elements into HTML links --
+  xsl:param name=citerefentry.link select=1/
+
+  !-- But not for those with role=nolink --
+  xsl:template match=citerefentry[@role='nolink']
+xsl:call-template name=inline.charseq/
+  /xsl:template
+
+  !-- Code to generate the URL for a given citerefentry element --
+  xsl:template name=generate.citerefentry.link
+xsl:value-of select=refentrytitle/
+xsl:text.html/xsl:text
+  /xsl:template
+
 /xsl:stylesheet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.0/doc/pam_snapper.xml.in 
new/snapper-0.2.1/doc/pam_snapper.xml.in
--- old/snapper-0.2.0/doc/pam_snapper.xml.in2014-01-29 16:48:30.0 
+0100
+++ new/snapper-0.2.1/doc/pam_snapper.xml.in2014-01-31 10:38:25.0 
+0100
@@ -167,8 +167,8 @@
 titleSEE ALSO/title
 para
   
citerefentryrefentrytitlesnapper/refentrytitlemanvolnum8/manvolnum/citerefentry,
-  
citerefentryrefentrytitlepam.conf/refentrytitlemanvolnum5/manvolnum/citerefentry,
-  
citerefentryrefentrytitlepam/refentrytitlemanvolnum8/manvolnum/citerefentry,
+  citerefentry 
role=nolinkrefentrytitlepam.conf/refentrytitlemanvolnum5/manvolnum/citerefentry,
+  citerefentry 
role=nolinkrefentrytitlepam/refentrytitlemanvolnum8/manvolnum/citerefentry,
   pam_snapper_homeconvert,
   pam_snapper_pamconfig,
   pam_snapper_useradd,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.0/doc/snapper-zypp-plugin.xml.in 
new/snapper-0.2.1/doc/snapper-zypp-plugin.xml.in
--- old/snapper-0.2.0/doc/snapper-zypp-plugin.xml.in2014-01-29 
16:48:30.0 +0100
+++ new/snapper-0.2.1/doc/snapper-zypp-plugin.xml.in2014-01-31 
10:38:25.0 +0100
@@ -52,8 +52,8 @@
 para
   
citerefentryrefentrytitlesnapper-zypp-plugin.conf/refentrytitlemanvolnum5/manvolnum/citerefentry,
   
citerefentryrefentrytitlesnapper/refentrytitlemanvolnum8/manvolnum/citerefentry,
-  
citerefentryrefentrytitlezypper/refentrytitlemanvolnum8/manvolnum/citerefentry,
-  
citerefentryrefentrytitleYaST/refentrytitlemanvolnum8/manvolnum/citerefentry
+  citerefentry 
role=nolinkrefentrytitlezypper/refentrytitlemanvolnum8/manvolnum/citerefentry,
+  citerefentry 

commit snapper for openSUSE:Factory

2014-01-30 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-01-30 09:02:21

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-12-16 
07:09:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2014-01-30 
09:02:23.0 +0100
@@ -1,0 +2,12 @@
+Wed Jan 29 11:09:45 CET 2014 - aschn...@suse.de
+
+- allow to sync ALLOW_USERS and ALLOW_GROUPS to ACL of .snapshots
+  directory (see bnc#860116)
+- 0.2.0
+
+---
+Fri Jan 24 10:01:35 CET 2014 - aschn...@suse.de
+
+- removed grub-snapper-plugin subpackage (fate#316232)
+
+---

Old:

  snapper-0.1.8.tar.bz2

New:

  snapper-0.2.0.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.OBgUGO/_old  2014-01-30 09:02:23.0 +0100
+++ /var/tmp/diff_new_pack.OBgUGO/_new  2014-01-30 09:02:23.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,14 @@
 
 
 Name:   snapper
-Version:0.1.8
+Version:0.2.0
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
+BuildRequires:  libacl-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
 BuildRequires:  pkg-config
@@ -153,6 +154,7 @@
 %package -n libsnapper-devel
 Requires:   boost-devel
 Requires:   gcc-c++
+Requires:   libacl-devel
 Requires:   libsnapper2 = %version
 Requires:   libstdc++-devel
 Requires:   libxml2-devel
@@ -203,31 +205,6 @@
 %doc %{_mandir}/*/snapper-zypp-plugin.8*
 %doc %{_mandir}/*/snapper-zypp-plugin.conf.5*
 
-%package -n grub-snapper-plugin
-BuildArch:  noarch
-Requires:   python
-Requires:   python-xattr
-Requires:   snapper = %version
-%if 0%{?suse_version}
-Supplements:packageand(snapper-zypp-plugin:grub2)
-%endif
-Summary:A snapper plugin for adding snapshot metadata for grub2
-Group:  System/Packages
-
-%description -n grub-snapper-plugin
-This package contains a plugin for snapper that adds metadata to snapshots
-used by grub2.
-
-Authors:
-
-Arvin Schnell aschn...@suse.de
-
-%files -n grub-snapper-plugin
-%defattr(-,root,root)
-%dir /usr/lib/snapper
-%dir /usr/lib/snapper/plugins
-/usr/lib/snapper/plugins/grub.py*
-
 %package -n pam_snapper
 Requires:   pam
 Requires:   snapper = %version

++ snapper-0.1.8.tar.bz2 - snapper-0.2.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/LIBVERSION new/snapper-0.2.0/LIBVERSION
--- old/snapper-0.1.8/LIBVERSION2013-10-09 09:28:53.0 +0200
+++ new/snapper-0.2.0/LIBVERSION2014-01-29 16:48:30.0 +0100
@@ -1 +1 @@
-2.2.0
+2.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/VERSION new/snapper-0.2.0/VERSION
--- old/snapper-0.1.8/VERSION   2013-12-02 18:32:17.0 +0100
+++ new/snapper-0.2.0/VERSION   2014-01-29 16:48:30.0 +0100
@@ -1 +1 @@
-0.1.8
+0.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/client/snapper.cc 
new/snapper-0.2.0/client/snapper.cc
--- old/snapper-0.1.8/client/snapper.cc 2013-12-11 10:35:41.0 +0100
+++ new/snapper-0.2.0/client/snapper.cc 2014-01-29 16:48:30.0 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2011-2013] Novell, Inc.
+ * Copyright (c) [2011-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -488,12 +488,7 @@
 
 if (no_dbus)
 {
-   ConfigInfo config_info = Snapper::getConfig(config_name);
-
-   for (mapstring, string::const_iterator it = raw.begin(); it != 
raw.end(); ++it)
-   config_info.setValue(it-first, it-second);
-
-   config_info.save();
+   snapper-setConfigInfo(raw);
 }
 else
 {
@@ -1511,7 +1506,7 @@
 cmds.push_back(Cmd(create-config, command_create_config, 
help_create_config, true, false));
 cmds.push_back(Cmd(delete-config, command_delete_config, 
help_delete_config, true, false));
 cmds.push_back(Cmd(get-config, 

commit snapper for openSUSE:Factory

2013-12-15 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-12-16 07:09:58

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-12-03 
16:58:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-12-16 
07:09:59.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 13 16:10:42 CET 2013 - aschn...@suse.de
+
+- tag subpackages containing only Python plugins as noarch
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.PNij4y/_old  2013-12-16 07:10:00.0 +0100
+++ /var/tmp/diff_new_pack.PNij4y/_new  2013-12-16 07:10:00.0 +0100
@@ -174,6 +174,7 @@
 %{prefix}/include/snapper
 
 %package -n snapper-zypp-plugin
+BuildArch:  noarch
 Requires:   dbus-1-python
 Requires:   python-xml
 Requires:   snapper = %version
@@ -203,6 +204,7 @@
 %doc %{_mandir}/*/snapper-zypp-plugin.conf.5*
 
 %package -n grub-snapper-plugin
+BuildArch:  noarch
 Requires:   python
 Requires:   python-xattr
 Requires:   snapper = %version

++ snapper-0.1.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/Makefile.in 
new/snapper-0.1.8/Makefile.in
--- old/snapper-0.1.8/Makefile.in   2013-12-03 10:43:55.0 +0100
+++ new/snapper-0.1.8/Makefile.in   2013-12-13 16:12:19.0 +0100
@@ -87,7 +87,7 @@
$(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/config.h.in $(srcdir)/snapper.spec.in AUTHORS \
COPYING README config.guess config.sub depcomp install-sh \
-   missing py-compile ltmain.sh
+   missing ltmain.sh
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/configure new/snapper-0.1.8/configure
--- old/snapper-0.1.8/configure 2013-12-03 10:43:54.0 +0100
+++ new/snapper-0.1.8/configure 2013-12-13 16:12:19.0 +0100
@@ -15034,7 +15034,6 @@
 
 
 
-
 # Extract the first word of xsltproc, so it can be a program name with args.
 set dummy xsltproc; ac_word=$2
 { $as_echo $as_me:${as_lineno-$LINENO}: checking for $ac_word 5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/configure.ac 
new/snapper-0.1.8/configure.ac
--- old/snapper-0.1.8/configure.ac  2013-12-03 10:43:34.0 +0100
+++ new/snapper-0.1.8/configure.ac  2013-12-04 18:12:49.0 +0100
@@ -19,8 +19,7 @@
 AC_DISABLE_STATIC
 
 AC_PROG_CXX
-AC_PROG_LIBTOOL
-AM_PROG_LIBTOOL
+LT_INIT
 
 AC_PREFIX_DEFAULT(/usr)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/data/Makefile.am 
new/snapper-0.1.8/data/Makefile.am
--- old/snapper-0.1.8/data/Makefile.am  2013-12-03 10:43:34.0 +0100
+++ new/snapper-0.1.8/data/Makefile.am  2013-12-04 18:12:49.0 +0100
@@ -16,4 +16,7 @@
install -D -m 644 x11.txt $(DESTDIR)/etc/snapper/filters/x11.txt
install -D -m 644 org.opensuse.Snapper.conf 
$(DESTDIR)/etc/dbus-1/system.d/org.opensuse.Snapper.conf
install -D -m 644 org.opensuse.Snapper.service 
$(DESTDIR)/usr/share/dbus-1/system-services/org.opensuse.Snapper.service
+
+if HAVE_ZYPP
install -D -m 644 zypp-plugin.conf 
$(DESTDIR)/etc/snapper/zypp-plugin.conf
+endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.8/data/Makefile.in 
new/snapper-0.1.8/data/Makefile.in
--- old/snapper-0.1.8/data/Makefile.in  2013-12-03 10:43:55.0 +0100
+++ new/snapper-0.1.8/data/Makefile.in  2013-12-13 16:12:19.0 +0100
@@ -460,7 +460,8 @@
install -D -m 644 x11.txt $(DESTDIR)/etc/snapper/filters/x11.txt
install -D -m 644 org.opensuse.Snapper.conf 
$(DESTDIR)/etc/dbus-1/system.d/org.opensuse.Snapper.conf
install -D -m 644 org.opensuse.Snapper.service 
$(DESTDIR)/usr/share/dbus-1/system-services/org.opensuse.Snapper.service
-   install -D -m 644 zypp-plugin.conf 
$(DESTDIR)/etc/snapper/zypp-plugin.conf
+
+@HAVE_ZYPP_TRUE@   install -D -m 644 zypp-plugin.conf 
$(DESTDIR)/etc/snapper/zypp-plugin.conf
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit snapper for openSUSE:Factory

2013-12-03 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-12-03 16:58:29

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-11-29 
07:05:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-12-03 
16:58:31.0 +0100
@@ -5,0 +6 @@
+- 0.1.8

Old:

  snapper-0.1.7.tar.bz2

New:

  snapper-0.1.8.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.5f1Wiy/_old  2013-12-03 16:58:32.0 +0100
+++ /var/tmp/diff_new_pack.5f1Wiy/_new  2013-12-03 16:58:32.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.7
+Version:0.1.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -206,7 +206,9 @@
 Requires:   python
 Requires:   python-xattr
 Requires:   snapper = %version
+%if 0%{?suse_version}
 Supplements:packageand(snapper-zypp-plugin:grub2)
+%endif
 Summary:A snapper plugin for adding snapshot metadata for grub2
 Group:  System/Packages
 

++ snapper-0.1.7.tar.bz2 - snapper-0.1.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/Makefile.in 
new/snapper-0.1.8/Makefile.in
--- old/snapper-0.1.7/Makefile.in   2013-11-27 16:42:09.0 +0100
+++ new/snapper-0.1.8/Makefile.in   2013-12-03 10:43:55.0 +0100
@@ -87,7 +87,7 @@
$(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/config.h.in $(srcdir)/snapper.spec.in AUTHORS \
COPYING README config.guess config.sub depcomp install-sh \
-   missing ltmain.sh
+   missing py-compile ltmain.sh
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/VERSION new/snapper-0.1.8/VERSION
--- old/snapper-0.1.7/VERSION   2013-10-08 13:10:11.0 +0200
+++ new/snapper-0.1.8/VERSION   2013-12-03 10:43:34.0 +0100
@@ -1 +1 @@
-0.1.7
+0.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/py-compile new/snapper-0.1.8/py-compile
--- old/snapper-0.1.7/py-compile1970-01-01 01:00:00.0 +0100
+++ new/snapper-0.1.8/py-compile2012-04-25 11:47:45.0 +0200
@@ -0,0 +1,146 @@
+#!/bin/sh
+# py-compile - Compile a Python program
+
+scriptversion=2009-04-28.21; # UTC
+
+# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see http://www.gnu.org/licenses/.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to bug-autom...@gnu.org or send patches to
+# automake-patc...@gnu.org.
+
+if [ -z $PYTHON ]; then
+  PYTHON=python
+fi
+
+basedir=
+destdir=
+files=
+while test $# -ne 0; do
+  case $1 in
+--basedir)
+  basedir=$2
+  if test -z $basedir; then
+echo $0: Missing argument to --basedir. 12
+exit 1
+  fi
+  shift
+  ;;
+--destdir)
+  destdir=$2
+  if test -z $destdir; then
+echo $0: Missing argument to --destdir. 12
+exit 1
+  fi
+  shift
+  ;;
+-h|--h*)
+  cat \EOF
+Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] 
FILES...
+
+Byte compile some python scripts FILES.  Use --destdir to specify any
+leading directory path to the FILES that you don't want to include in the
+byte compiled file.  Specify --basedir for any additional path information you
+do want to be shown in the byte compiled file.
+

commit snapper for openSUSE:Factory

2013-11-28 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-11-29 07:05:09

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-11-07 
09:04:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-11-29 
07:05:11.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov 25 11:38:43 CET 2013 - aschn...@suse.de
+
+- allow to configure snapshotting from zypp-plugin depending on
+  package list (fate#316203)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.eyM94v/_old  2013-11-29 07:05:12.0 +0100
+++ /var/tmp/diff_new_pack.eyM94v/_new  2013-11-29 07:05:12.0 +0100
@@ -99,7 +99,9 @@
 %defattr(-,root,root)
 %{prefix}/bin/snapper
 %{prefix}/sbin/snapperd
-%doc %{_mandir}/*/snapper*.*
+%doc %{_mandir}/*/snapper.8*
+%doc %{_mandir}/*/snapperd.8*
+%doc %{_mandir}/*/snapper-configs.5*
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
@@ -173,9 +175,10 @@
 
 %package -n snapper-zypp-plugin
 Requires:   dbus-1-python
+Requires:   python-xml
 Requires:   snapper = %version
 Requires:   zypp-plugin-python
-Requires:   libzypp(plugin:commit)
+Requires:   libzypp(plugin:commit) = 1
 Summary:A zypp commit plugin for calling snapper
 Group:  System/Packages
 
@@ -189,12 +192,15 @@
 
 %files -n snapper-zypp-plugin
 %defattr(-,root,root)
+%config(noreplace) %{_sysconfdir}/snapper/zypp-plugin.conf
 %if 0%{?suse_version}  1210
 %dir /usr/lib/zypp
 %dir /usr/lib/zypp/plugins
 %dir /usr/lib/zypp/plugins/commit
 %endif
 /usr/lib/zypp/plugins/commit/snapper.py*
+%doc %{_mandir}/*/snapper-zypp-plugin.8*
+%doc %{_mandir}/*/snapper-zypp-plugin.conf.5*
 
 %package -n grub-snapper-plugin
 Requires:   python
@@ -236,6 +242,6 @@
 /%{_lib}/security/pam_snapper.so
 %dir /usr/lib/pam_snapper
 /usr/lib/pam_snapper/*.sh
-%doc %{_mandir}/*/pam_snapper*.*
+%doc %{_mandir}/*/pam_snapper.8*
 
 %changelog

++ snapper-0.1.7.tar.bz2 ++
 7780 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.7/README new/snapper-0.1.7/README
--- old/snapper-0.1.7/README1970-01-01 01:00:00.0 +0100
+++ new/snapper-0.1.7/README2013-11-19 17:40:27.0 +0100
@@ -0,0 +1,8 @@
+
+Snapper is a tool for Linux filesystem snapshot management. Apart from the
+obvious creation and deletion of snapshots, it can compare snapshots and
+revert differences between snapshots. In simple terms, this allows root and
+non-root users to view older versions of files and revert changes.
+
+For more information visit http://snapper.io/.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.7/configure.ac new/snapper-0.1.7/configure.ac
--- old/snapper-0.1.7/configure.ac  2013-10-11 16:20:30.0 +0200
+++ new/snapper-0.1.7/configure.ac  2013-11-22 16:57:19.0 +0100
@@ -144,6 +144,8 @@
doc/snapper.xml:doc/snapper.xml.in
doc/snapperd.xml:doc/snapperd.xml.in
doc/snapper-configs.xml:doc/snapper-configs.xml.in
+   doc/snapper-zypp-plugin.xml:doc/snapper-zypp-plugin.xml.in
+   doc/snapper-zypp-plugin.conf.xml:doc/snapper-zypp-plugin.conf.xml.in
doc/pam_snapper.xml:doc/pam_snapper.xml.in
po/Makefile
testsuite/Makefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.7/data/Makefile.am new/snapper-0.1.7/data/Makefile.am
--- old/snapper-0.1.7/data/Makefile.am  2013-02-28 18:38:53.0 +0100
+++ new/snapper-0.1.7/data/Makefile.am  2013-11-25 11:05:58.0 +0100
@@ -3,7 +3,8 @@
 #
 
 EXTRA_DIST = sysconfig.snapper base.txt lvm.txt x11.txt snapper.logrotate  
\
-  

commit snapper for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-11-07 09:04:01

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-10-20 
10:54:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-11-07 
09:04:02.0 +0100
@@ -1,0 +2,5 @@
+Mon Oct 21 10:24:43 CEST 2013 - aschn...@suse.de
+
+- fixed inconsistency with default value for BACKGROUND_COMPARISON
+
+---



Other differences:
--
++ snapper-0.1.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/client/utils/text.cc 
new/snapper-0.1.7/client/utils/text.cc
--- old/snapper-0.1.7/client/utils/text.cc  2013-04-02 10:11:02.0 
+0200
+++ new/snapper-0.1.7/client/utils/text.cc  2013-10-24 17:42:06.0 
+0200
@@ -243,17 +243,12 @@
 s += bytes_read;
 }
 // we're at the end of the string
-else if (bytes_read == 0)
+else
 {
   // print the rest of the text
   for(; *linep; ++linep)
 out  *linep;
 }
-else
-{
-  out  endl  WCHAR ERROR  endl;
-  return;
-}
   }
   while(bytes_read  0);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/doc/snapper-configs.xml.in 
new/snapper-0.1.7/doc/snapper-configs.xml.in
--- old/snapper-0.1.7/doc/snapper-configs.xml.in2013-10-16 
17:50:00.0 +0200
+++ new/snapper-0.1.7/doc/snapper-configs.xml.in2013-10-21 
10:13:14.0 +0200
@@ -77,7 +77,7 @@
listitem
  paraDefines whether pre and post snapshots should be compared in
  the background after creation./para
- paraDefault value is quot;noquot;./para
+ paraDefault value is quot;yesquot;./para
/listitem
   /varlistentry
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/pam/pam_snapper.c 
new/snapper-0.1.7/pam/pam_snapper.c
--- old/snapper-0.1.7/pam/pam_snapper.c 2013-07-26 11:00:18.0 +0200
+++ new/snapper-0.1.7/pam/pam_snapper.c 2013-10-24 16:58:12.0 +0200
@@ -373,20 +373,20 @@
 
if ( setgid( gid ) != 0 || initgroups( pam_user, gid ) != 0 || 
setuid( uid ) != 0 ) {
munmap( p, sizeof( *snapshot_num_out ) );
-   exit( EXIT_FAILURE );
+   _exit( EXIT_FAILURE );
}
 
if ( cdbus_create_snapshot( snapper_conf, createmode, cleanup, 
num_user_data,
user_data, snapshot_num_in, 
snapshot_num_out ) != 0 ) {
munmap( p, sizeof( *snapshot_num_out ) );
-   exit( EXIT_FAILURE );
+   _exit( EXIT_FAILURE );
}
 
memcpy( p, snapshot_num_out, sizeof( *snapshot_num_out ) );
 
munmap( p, sizeof( *snapshot_num_out ) );
 
-   exit( EXIT_SUCCESS );
+   _exit( EXIT_SUCCESS );
 
} else if ( child  0 ) {
 
@@ -494,17 +494,22 @@
 ( pamh, pam_snapper_snapshot_num,
   ( const void ** )snapshot_num_in ) != PAM_SUCCESS ) {
pam_syslog( pamh, LOG_ERR, getting previous 
snapshot_num failed );
+   free( snapshot_num_out );
return -1;
}
}
 
if ( forker( pamh, pam_user, uid, gid, snapper_conf, createmode, 
cleanup, num_user_data,
 user_data, snapshot_num_in, snapshot_num_out ) != 0 )
+   {
+   free( snapshot_num_out );
return -1;
+   }
 
if ( pam_set_data
 ( pamh, pam_snapper_snapshot_num, snapshot_num_out,
   cleanup_snapshot_num ) != PAM_SUCCESS ) {
+   free( snapshot_num_out );
pam_syslog( pamh, LOG_ERR, pam_set_data failed );
}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/server/Client.cc 
new/snapper-0.1.7/server/Client.cc
--- old/snapper-0.1.7/server/Client.cc  2013-10-08 17:05:19.0 +0200
+++ new/snapper-0.1.7/server/Client.cc  2013-10-21 10:20:11.0 +0200
@@ -921,8 +921,9 @@
 Snapshots::iterator snap2 = snapper-createPostSnapshot(snap1, 
conn.get_unix_userid(msg),
description, 
cleanup, userdata);
 
-bool tmp;

commit snapper for openSUSE:Factory

2013-10-20 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-10-20 10:54:02

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-10-14 
13:06:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-10-20 
10:54:04.0 +0200
@@ -1,0 +2,12 @@
+Thu Oct 17 10:17:59 CEST 2013 - aschn...@suse.de
+
+- extended number cleanup algorithm to privilege important
+  snapshots (fate#316233)
+
+---
+Tue Oct 15 16:28:15 CEST 2013 - aschn...@suse.de
+
+- added grub-snapper-plugin subpackage for writing extra snapshot
+  metadata for grub2 (fate#316232)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.sJZj0W/_old  2013-10-20 10:54:04.0 +0200
+++ /var/tmp/diff_new_pack.sJZj0W/_new  2013-10-20 10:54:04.0 +0200
@@ -196,6 +196,28 @@
 %endif
 /usr/lib/zypp/plugins/commit/snapper.py*
 
+%package -n grub-snapper-plugin
+Requires:   python
+Requires:   python-xattr
+Requires:   snapper = %version
+Supplements:packageand(snapper-zypp-plugin:grub2)
+Summary:A snapper plugin for adding snapshot metadata for grub2
+Group:  System/Packages
+
+%description -n grub-snapper-plugin
+This package contains a plugin for snapper that adds metadata to snapshots
+used by grub2.
+
+Authors:
+
+Arvin Schnell aschn...@suse.de
+
+%files -n grub-snapper-plugin
+%defattr(-,root,root)
+%dir /usr/lib/snapper
+%dir /usr/lib/snapper/plugins
+/usr/lib/snapper/plugins/grub.py*
+
 %package -n pam_snapper
 Requires:   pam
 Requires:   snapper = %version

++ snapper-0.1.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.7/client/cleanup.cc 
new/snapper-0.1.7/client/cleanup.cc
--- old/snapper-0.1.7/client/cleanup.cc 2013-07-09 14:05:02.0 +0200
+++ new/snapper-0.1.7/client/cleanup.cc 2013-10-17 09:44:05.0 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2011-2012] Novell, Inc.
+ * Copyright (c) [2011-2013] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -84,10 +84,19 @@
 
 
 bool
+is_important(XSnapshots::const_iterator it1)
+{
+mapstring, string::const_iterator it2 = 
it1-getUserdata().find(important);
+return it2 != it1-getUserdata().end()  it2-second == yes;
+}
+
+
+bool
 do_cleanup_number(DBus::Connection conn, const string config_name)
 {
 time_t min_age = 1800;
 size_t limit = 50;
+size_t limit_important = 10;
 
 XConfigInfo ci = command_get_xconfig(conn, config_name);
 mapstring, string::const_iterator pos;
@@ -95,6 +104,11 @@
pos-second  min_age;
 if ((pos = ci.raw.find(NUMBER_LIMIT)) != ci.raw.end())
pos-second  limit;
+if ((pos = ci.raw.find(NUMBER_LIMIT_IMPORTANT)) != ci.raw.end())
+   pos-second  limit_important;
+
+size_t num = 0;
+size_t num_important = 0;
 
 XSnapshots snapshots = command_list_xsnapshots(conn, config_name);
 
@@ -103,24 +117,41 @@
 for (XSnapshots::const_iterator it = snapshots.begin(); it != 
snapshots.end(); ++it)
 {
if (it-getCleanup() == number)
-   tmp.push_back(it);
+   tmp.push_front(it);
 }
 
-if (tmp.size()  limit)
+listXSnapshots::const_iterator::iterator it = tmp.begin();
+while (it != tmp.end())
 {
-   listXSnapshots::const_iterator::iterator it = tmp.end();
-   advance(it, - limit);
-   tmp.erase(it, tmp.end());
-
-   filter1(tmp, min_age);
-   filter2(snapshots, tmp);
+   bool keep = false;
 
-   for (listXSnapshots::const_iterator::const_iterator it = tmp.begin(); 
it != tmp.end(); ++it)
+   if (num_important  limit_important  is_important(*it))
{
-   listunsigned int nums;
-   nums.push_back((*it)-getNum());
-   command_delete_xsnapshots(conn, config_name, nums);
+   ++num_important;
+   keep = true;
+   }
+   if (num  limit)
+   {
+   ++num;
+   keep = true;
}
+
+   if (keep)
+   it = tmp.erase(it);
+   else
+   ++it;
+}
+
+tmp.reverse();
+
+filter1(tmp, min_age);
+filter2(snapshots, tmp);
+
+for (listXSnapshots::const_iterator::const_iterator it = tmp.begin(); it 
!= tmp.end(); ++it)
+{
+   listunsigned int nums;
+   nums.push_back((*it)-getNum());
+   command_delete_xsnapshots(conn, config_name, nums);
 }
 
 return true;
@@ -279,13 

commit snapper for openSUSE:Factory

2013-10-14 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-10-14 13:06:07

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-10-04 
16:01:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-10-14 
13:06:50.0 +0200
@@ -4,0 +5 @@
+- 0.1.7

Old:

  snapper-0.1.6.tar.bz2

New:

  snapper-0.1.7.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.bTFtlA/_old  2013-10-14 13:06:51.0 +0200
+++ /var/tmp/diff_new_pack.bTFtlA/_new  2013-10-14 13:06:51.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.6
+Version:0.1.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2

++ snapper-0.1.6.tar.bz2 - snapper-0.1.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/LIBVERSION new/snapper-0.1.7/LIBVERSION
--- old/snapper-0.1.6/LIBVERSION2013-07-25 14:44:29.0 +0200
+++ new/snapper-0.1.7/LIBVERSION2013-10-09 09:28:53.0 +0200
@@ -1 +1 @@
-2.1.0
+2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/VERSION new/snapper-0.1.7/VERSION
--- old/snapper-0.1.6/VERSION   2013-09-06 16:49:46.0 +0200
+++ new/snapper-0.1.7/VERSION   2013-10-08 13:10:11.0 +0200
@@ -1 +1 @@
-0.1.6
+0.1.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/client/Makefile.in 
new/snapper-0.1.7/client/Makefile.in
--- old/snapper-0.1.6/client/Makefile.in2013-09-30 14:19:37.0 
+0200
+++ new/snapper-0.1.7/client/Makefile.in2013-10-09 13:48:08.0 
+0200
@@ -330,9 +330,9 @@
  exit 1;; \
  esac; \
done; \
-   echo ' cd $(top_srcdir)  $(AUTOMAKE) --foreign client/Makefile'; \
+   echo ' cd $(top_srcdir)  $(AUTOMAKE) --gnu client/Makefile'; \
$(am__cd) $(top_srcdir)  \
- $(AUTOMAKE) --foreign client/Makefile
+ $(AUTOMAKE) --gnu client/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/client/utils/Makefile.in 
new/snapper-0.1.7/client/utils/Makefile.in
--- old/snapper-0.1.6/client/utils/Makefile.in  2013-09-30 14:19:37.0 
+0200
+++ new/snapper-0.1.7/client/utils/Makefile.in  2013-10-09 13:48:08.0 
+0200
@@ -287,9 +287,9 @@
  exit 1;; \
  esac; \
done; \
-   echo ' cd $(top_srcdir)  $(AUTOMAKE) --foreign 
client/utils/Makefile'; \
+   echo ' cd $(top_srcdir)  $(AUTOMAKE) --gnu client/utils/Makefile'; \
$(am__cd) $(top_srcdir)  \
- $(AUTOMAKE) --foreign client/utils/Makefile
+ $(AUTOMAKE) --gnu client/utils/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/data/Makefile.in 
new/snapper-0.1.7/data/Makefile.in
--- old/snapper-0.1.6/data/Makefile.in  2013-09-30 14:19:37.0 +0200
+++ new/snapper-0.1.7/data/Makefile.in  2013-10-09 13:48:08.0 +0200
@@ -234,9 +234,9 @@
  exit 1;; \
  esac; \
done; \
-   echo ' cd $(top_srcdir)  $(AUTOMAKE) --foreign data/Makefile'; \
+   echo ' cd $(top_srcdir)  $(AUTOMAKE) --gnu data/Makefile'; \
$(am__cd) $(top_srcdir)  \
- $(AUTOMAKE) --foreign data/Makefile
+ $(AUTOMAKE) --gnu data/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.6/dbus/Makefile.in 
new/snapper-0.1.7/dbus/Makefile.in
--- old/snapper-0.1.6/dbus/Makefile.in  2013-09-30 14:19:37.0 +0200
+++ new/snapper-0.1.7/dbus/Makefile.in  2013-10-09 13:48:08.0 +0200
@@ -289,9 +289,9 @@
  exit 1;; \
  esac; \
done; \
-   echo ' cd $(top_srcdir)  $(AUTOMAKE) --foreign dbus/Makefile'; \
+   echo ' cd $(top_srcdir)  $(AUTOMAKE) --gnu dbus/Makefile'; \
$(am__cd) $(top_srcdir)  \
- $(AUTOMAKE) --foreign dbus/Makefile
+ $(AUTOMAKE) --gnu dbus/Makefile
 .PRECIOUS: Makefile
 Makefile: 

commit snapper for openSUSE:Factory

2013-10-04 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-10-04 16:01:17

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-09-11 
17:15:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-10-04 
16:01:18.0 +0200
@@ -1,0 +2,10 @@
+Tue Oct 01 15:46:19 CEST 2013 - aschn...@suse.de
+
+- restrict permissions on .snapshots subvolume (bnc#843219)
+
+---
+Mon Sep 30 14:20:22 CEST 2013 - aschn...@suse.de
+
+- merged support for handling inactive LVM LVs from oniko
+
+---



Other differences:
--
++ snapper-0.1.6.tar.bz2 ++
 2458 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-09-11 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-09-11 17:15:44

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-07-29 
17:51:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-09-11 
17:15:45.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 06 16:02:47 CEST 2013 - aschn...@suse.de
+
+- added option --no-dbus to snapper tool
+- 0.1.6
+
+---

Old:

  snapper-0.1.5.tar.bz2

New:

  snapper-0.1.6.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.EHobWV/_old  2013-09-11 17:15:45.0 +0200
+++ /var/tmp/diff_new_pack.EHobWV/_new  2013-09-11 17:15:45.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.5
+Version:0.1.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -50,7 +50,7 @@
 Summary:Tool for filesystem snapshot management
 License:GPL-2.0
 Group:  System/Packages
-Url:http://en.opensuse.org/Portal:Snapper
+Url:http://snapper.io/
 
 %description
 This package contains snapper, a tool for filesystem snapshot management.

++ snapper-0.1.5.tar.bz2 - snapper-0.1.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.5/VERSION new/snapper-0.1.6/VERSION
--- old/snapper-0.1.5/VERSION   2013-07-12 10:50:54.0 +0200
+++ new/snapper-0.1.6/VERSION   2013-09-06 17:01:48.0 +0200
@@ -1 +1 @@
-0.1.5
+0.1.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.5/client/snapper.cc 
new/snapper-0.1.6/client/snapper.cc
--- old/snapper-0.1.5/client/snapper.cc 2013-07-25 15:41:50.0 +0200
+++ new/snapper-0.1.6/client/snapper.cc 2013-09-09 16:36:53.0 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2011-2012] Novell, Inc.
+ * Copyright (c) [2011-2013] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -50,14 +50,58 @@
 using namespace std;
 
 
-typedef void (*cmd_fnc)(DBus::Connection conn);
-mapstring, cmd_fnc cmds;
+struct Cmd
+{
+typedef void (*cmd_func_t)(DBus::Connection* conn, Snapper* snapper);
+typedef void (*help_func_t)();
+
+Cmd(const string name, cmd_func_t cmd_func, help_func_t help_func,
+   bool works_without_dbus, bool needs_snapper)
+   : name(name), cmd_func(cmd_func), help_func(help_func),
+ works_without_dbus(works_without_dbus), needs_snapper(needs_snapper)
+{}
+
+const string name;
+const cmd_func_t cmd_func;
+const help_func_t help_func;
+const bool works_without_dbus;
+const bool needs_snapper;
+};
+
+listCmd cmds;
 
 GetOpts getopts;
 
 bool quiet = false;
 bool verbose = false;
 string config_name = root;
+bool no_dbus = false;
+
+
+Snapshots::iterator
+read_num(Snapper* snapper, const string str)
+{
+Snapshots snapshots = snapper-getSnapshots();
+
+istringstream s(str);
+unsigned int num = 0;
+s  num;
+
+if (s.fail() || !s.eof())
+{
+cerr  sformat(_(Invalid snapshot '%s'.), str.c_str())  endl;
+exit(EXIT_FAILURE);
+}
+
+Snapshots::iterator snap = snapshots.find(num);
+if (snap == snapshots.end())
+{
+cerr  sformat(_(Snapshot '%u' not found.), num)  endl;
+exit(EXIT_FAILURE);
+}
+
+return snap;
+}
 
 
 unsigned int
@@ -211,7 +255,7 @@
 
 
 void
-command_list_configs(DBus::Connection conn)
+command_list_configs(DBus::Connection* conn, Snapper* snapper)
 {
 getopts.parse(list-configs, GetOpts::no_options);
 if (getopts.hasArgs())
@@ -227,13 +271,27 @@
 header.add(_(Subvolume));
 table.setHeader(header);
 
-listXConfigInfo config_infos = command_list_xconfigs(conn);
-for (listXConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
+if (no_dbus)
+{
+   listConfigInfo config_infos = Snapper::getConfigs();
+   for (listConfigInfo::const_iterator it = config_infos.begin(); it != 
config_infos.end(); ++it)
+   {
+   TableRow row;
+   row.add(it-getConfigName());
+   row.add(it-getSubvolume());
+   table.add(row);
+   }
+}
+else
 {
-   TableRow row;
-   row.add(it-config_name);
-   row.add(it-subvolume);
-   table.add(row);
+   listXConfigInfo config_infos = command_list_xconfigs(*conn);
+   for (listXConfigInfo::const_iterator it = 

commit snapper for openSUSE:Factory

2013-07-29 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-07-29 17:51:09

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-07-18 
18:08:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-07-29 
17:51:11.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul 25 14:40:31 CEST 2013 - aschn...@suse.de
+
+- allow to change config via DBus and with command line tool
+
+---



Other differences:
--
++ snapper-0.1.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.5/client/commands.cc 
new/snapper-0.1.5/client/commands.cc
--- old/snapper-0.1.5/client/commands.cc2013-01-22 11:46:31.0 
+0100
+++ new/snapper-0.1.5/client/commands.cc2013-07-25 15:41:50.0 
+0200
@@ -64,6 +64,19 @@
 
 
 void
+command_set_xconfig(DBus::Connection conn, const string config_name,
+   const mapstring, string raw)
+{
+DBus::MessageMethodCall call(SERVICE, OBJECT, INTERFACE, SetConfig);
+
+DBus::Hoho hoho(call);
+hoho  config_name  raw;
+
+conn.send_with_reply_and_block(call);
+}
+
+
+void
 command_create_xconfig(DBus::Connection conn, const string config_name, 
const string subvolume,
   const string fstype, const string template_name)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.5/client/commands.h 
new/snapper-0.1.5/client/commands.h
--- old/snapper-0.1.5/client/commands.h 2013-01-22 11:46:31.0 +0100
+++ new/snapper-0.1.5/client/commands.h 2013-07-25 15:41:50.0 +0200
@@ -40,6 +40,10 @@
 command_get_xconfig(DBus::Connection conn, const string config_name);
 
 void
+command_set_xconfig(DBus::Connection conn, const string config_name,
+   const mapstring, string raw);
+
+void
 command_create_xconfig(DBus::Connection conn, const string config_name, 
const string subvolume,
   const string fstype, const string template_name);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.5/client/snapper.cc 
new/snapper-0.1.5/client/snapper.cc
--- old/snapper-0.1.5/client/snapper.cc 2013-04-19 14:50:39.0 +0200
+++ new/snapper-0.1.5/client/snapper.cc 2013-07-25 15:41:50.0 +0200
@@ -25,6 +25,8 @@
 #include stdlib.h
 #include string.h
 #include sys/stat.h
+#include sys/types.h
+#include fcntl.h
 #include iostream
 #include boost/algorithm/string.hpp
 
@@ -34,6 +36,7 @@
 #include snapper/AsciiFile.h
 #include snapper/SystemCmd.h
 #include snapper/SnapperDefines.h
+#include snapper/XAttributes.h
 
 #include utils/text.h
 #include utils/Table.h
@@ -42,13 +45,6 @@
 #include commands.h
 #include cleanup.h
 
-#ifdef ENABLE_XATTRS
-#include sys/types.h
-#include sys/stat.h
-#include fcntl.h
-
-#include snapper/XAttributes.h
-#endif
 
 using namespace snapper;
 using namespace std;
@@ -325,6 +321,94 @@
 
 
 void
+help_get_config()
+{
+cout  _(  Get config:)  endl
+ _(\tsnapper get-config)  endl
+ endl;
+}
+
+
+void
+command_get_config(DBus::Connection conn)
+{
+getopts.parse(get-config, GetOpts::no_options);
+if (getopts.hasArgs())
+{
+   cerr  _(Command 'get-config' does not take arguments.)  endl;
+   exit(EXIT_FAILURE);
+}
+
+Table table;
+
+TableHeader header;
+header.add(_(Key));
+header.add(_(Value));
+table.setHeader(header);
+
+XConfigInfo ci = command_get_xconfig(conn, config_name);
+
+for (mapstring, string::const_iterator it = ci.raw.begin(); it != 
ci.raw.end(); ++it)
+{
+   TableRow row;
+   row.add(it-first);
+   row.add(it-second);
+   table.add(row);
+}
+
+cout  table;
+}
+
+
+void
+help_set_config()
+{
+cout  _(  Set config:)  endl
+ _(\tsnapper set-config configdata)  endl
+ endl;
+}
+
+
+void
+command_set_config(DBus::Connection conn)
+{
+getopts.parse(set-config, GetOpts::no_options);
+if (!getopts.hasArgs())
+{
+   cerr  _(Command 'set-config' needs at least one argument.)  endl;
+   exit(EXIT_FAILURE);
+}
+
+mapstring, string raw;
+
+while (getopts.hasArgs())
+{
+   string arg = getopts.popArg();
+
+   string::size_type pos = arg.find(=);
+   if (pos == string::npos)
+   {
+   cerr  _(Invalid configdata.)  endl;
+   exit(EXIT_FAILURE);
+   }
+
+   string key = 

commit snapper for openSUSE:Factory

2013-07-18 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-07-18 17:34:57

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-07-01 
16:00:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-07-18 
18:08:35.0 +0200
@@ -1,0 +2,13 @@
+Tue Jul 09 14:00:16 CEST 2013 - aschn...@suse.de
+
+- added manpage describing snapper configs
+- optimize timeline cleanup algorithm for only sporadic running
+  systems
+- 0.1.5
+
+---
+Mon Jul 08 16:18:10 CEST 2013 - aschn...@suse.de
+
+- document filters and use fnmatch with FNM_LEADING_DIR
+
+---

Old:

  snapper-0.1.4.tar.bz2

New:

  snapper-0.1.5.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.iSzPOD/_old  2013-07-18 18:08:36.0 +0200
+++ /var/tmp/diff_new_pack.iSzPOD/_new  2013-07-18 18:08:36.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.4
+Version:0.1.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -74,7 +74,7 @@
 
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
--docdir=%{prefix}/share/doc/packages/snapper   
\
-   --disable-silent-rules --disable-ext4 --enable-xattrs
+   --disable-silent-rules --disable-ext4
 make %{?jobs:-j%jobs}
 
 %install

++ snapper-0.1.4.tar.bz2 - snapper-0.1.5.tar.bz2 ++
 1776 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.4/LIBVERSION new/snapper-0.1.5/LIBVERSION
--- old/snapper-0.1.4/LIBVERSION2013-01-22 11:46:31.0 +0100
+++ new/snapper-0.1.5/LIBVERSION2013-07-12 10:50:54.0 +0200
@@ -1 +1 @@
-2.0.0
+2.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.4/VERSION new/snapper-0.1.5/VERSION
--- old/snapper-0.1.4/VERSION   2013-05-02 17:16:41.0 +0200
+++ new/snapper-0.1.5/VERSION   2013-07-12 10:50:54.0 +0200
@@ -1 +1 @@
-0.1.4
+0.1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.1.4/client/cleanup.cc new/snapper-0.1.5/client/cleanup.cc
--- old/snapper-0.1.4/client/cleanup.cc 2013-01-22 11:46:31.0 +0100
+++ new/snapper-0.1.5/client/cleanup.cc 2013-07-09 14:33:52.0 +0200
@@ -255,24 +255,31 @@
 listXSnapshots::const_iterator::iterator it = tmp.begin();
 while (it != tmp.end())
 {
+   bool keep = false;
+
if (num_hourly  limit_hourly  is_first_hourly(it, tmp.end(), *it))
{
++num_hourly;
-   it = tmp.erase(it);
+   keep = true;
}
-   else if (num_daily  limit_daily  is_first_daily(it, tmp.end(), *it))
+   if (num_daily  limit_daily  is_first_daily(it, tmp.end(), *it))
{
++num_daily;
-   it = tmp.erase(it);
+   keep = true;
}
-   else if (num_monthly  limit_monthly  is_first_monthly(it, tmp.end(), 
*it))
+   if (num_monthly  limit_monthly  is_first_monthly(it, tmp.end(), *it))
{
++num_monthly;
-   it = tmp.erase(it);
+   keep = true;
}
-   else if (num_yearly  limit_yearly  is_first_yearly(it, tmp.end(), 
*it))
+   if (num_yearly  limit_yearly  is_first_yearly(it, tmp.end(), *it))
{
++num_yearly;
+   keep = true;
+   }
+
+   if (keep)
+   {
it = tmp.erase(it);
}
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess 

commit snapper for openSUSE:Factory

2013-07-01 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-07-01 16:00:20

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-06-05 
14:24:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-07-01 
16:00:21.0 +0200
@@ -1,0 +2,10 @@
+Tue Jun 25 09:09:20 CEST 2013 - aschn...@suse.de
+
+- also call initgroups in pam_snapper (bnc#815383)
+
+---
+Fri Jun 21 15:50:22 CEST 2013 - aschn...@suse.de
+
+- allow whitespace in ALLOW_USERS and ALLOW_GROUPS
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.oY8kVe/_old  2013-07-01 16:00:22.0 +0200
+++ /var/tmp/diff_new_pack.oY8kVe/_new  2013-07-01 16:00:22.0 +0200
@@ -23,15 +23,19 @@
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
 BuildRequires:  boost-devel
-BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
 BuildRequires:  pkg-config
 %if ! 0%{?mandriva_version}
 BuildRequires:  dbus-1-devel
+BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  libxslt
 %else
+BuildRequires:  docbook-dtd45-xml
+BuildRequires:  docbook-xsl
 BuildRequires:  libdbus-1-devel
+BuildRequires:  xsltproc
 %endif
 %if (0%{?suse_version}  0%{?suse_version} = 1210)
 BuildRequires:  libzypp(plugin:commit)
@@ -85,6 +89,9 @@
 
 %{find_lang} snapper
 
+%check
+make check
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 

++ snapper-0.1.4.tar.bz2 ++
 8877 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-06-05 13:38:18

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-05-13 
15:34:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-06-05 
14:24:49.0 +0200
@@ -1,0 +2,5 @@
+Fri May 31 17:35:33 CEST 2013 - aschn...@suse.de
+
+- fixed xattrs reading for certain block/character devices
+
+---



Other differences:
--
++ snapper-0.1.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.4/doc/pam_snapper.8 
new/snapper-0.1.4/doc/pam_snapper.8
--- old/snapper-0.1.4/doc/pam_snapper.8 2013-05-03 09:57:13.0 +0200
+++ new/snapper-0.1.4/doc/pam_snapper.8 2013-05-31 17:42:14.0 +0200
@@ -124,7 +124,7 @@
 .\ 
 .\
 .IX Title PAM_SNAPPER 8
-.TH PAM_SNAPPER 8 2013-05-02 0.1.4  
+.TH PAM_SNAPPER 8 2013-05-23 0.1.4 Filesystem Snapshot Management
 .\ For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\ way too many mistakes in technical documents.
 .if n .ad l
@@ -133,7 +133,7 @@
 pam_snapper \- PAM module which creates filesystem snapshots via Snapper
 .SH SYNOPSIS
 .IX Header SYNOPSIS
-pam_snapper.so debug [homeprefix=] [ignoreservices=] [ignoreusers=] 
[rootasroot] [ignoreroot] [openonly] [closeonly]
+pam_snapper.so [debug] [homeprefix=] [ignoreservices=] [ignoreusers=] 
[rootasroot] [ignoreroot] [openonly] [closeonly] [cleanup=]
 .SH DESCRIPTION
 .IX Header DESCRIPTION
 Create a snapshot at every login of a User, thus he or she always have a save 
starting point.
@@ -199,7 +199,7 @@
 \\*(Lsession optional pam_snapper.so\*(R
 .SH SEE ALSO
 .IX Header SEE ALSO
-\\fIpam.conf\fR\|(5), \fIpam.d\fR\|(5) \fIpam\fR\|(8), 
pam_snapper_homeconvert, pam_snapper_pamconfig, pam_snapper_useradd, 
pam_snapper_userdel
+snapper(8), pam.conf(5), pam(8), pam_snapper_homeconvert, 
pam_snapper_pamconfig, pam_snapper_useradd, pam_snapper_userdel
 .SH AUTHORS and CONTRIBUTORS
 .IX Header AUTHORS and CONTRIBUTORS
 pam-snapper was written by Matthias G. Eckermann m...@suse.com
@@ -227,7 +227,7 @@
 General Public License for more details.
 .PP
 You should have received a copy of the \s-1GNU\s0 General Public License
-along with this program; if not, contact \s-1SUSE\s0
+along with this program; if not, contact \s-1SUSE\s0.
 .PP
 To contact \s-1SUSE\s0 about this file by physical or electronic mail, you
-may find current contact information at www.suse.com
+may find current contact information at www.suse.com.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.4/doc/pam_snapper.8.in 
new/snapper-0.1.4/doc/pam_snapper.8.in
--- old/snapper-0.1.4/doc/pam_snapper.8.in  2013-05-02 16:46:40.0 
+0200
+++ new/snapper-0.1.4/doc/pam_snapper.8.in  2013-05-23 16:51:34.0 
+0200
@@ -124,7 +124,7 @@
 .\ 
 .\
 .IX Title PAM_SNAPPER 8
-.TH PAM_SNAPPER 8 2013-05-02 @VERSION@  
+.TH PAM_SNAPPER 8 2013-05-23 @VERSION@ Filesystem Snapshot Management
 .\ For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\ way too many mistakes in technical documents.
 .if n .ad l
@@ -133,7 +133,7 @@
 pam_snapper \- PAM module which creates filesystem snapshots via Snapper
 .SH SYNOPSIS
 .IX Header SYNOPSIS
-pam_snapper.so debug [homeprefix=] [ignoreservices=] [ignoreusers=] 
[rootasroot] [ignoreroot] [openonly] [closeonly]
+pam_snapper.so [debug] [homeprefix=] [ignoreservices=] [ignoreusers=] 
[rootasroot] [ignoreroot] [openonly] [closeonly] [cleanup=]
 .SH DESCRIPTION
 .IX Header DESCRIPTION
 Create a snapshot at every login of a User, thus he or she always have a save 
starting point.
@@ -199,7 +199,7 @@
 \\*(Lsession optional pam_snapper.so\*(R
 .SH SEE ALSO
 .IX Header SEE ALSO
-\\fIpam.conf\fR\|(5), \fIpam.d\fR\|(5) \fIpam\fR\|(8), 
pam_snapper_homeconvert, pam_snapper_pamconfig, pam_snapper_useradd, 
pam_snapper_userdel
+snapper(8), pam.conf(5), pam(8), pam_snapper_homeconvert, 
pam_snapper_pamconfig, pam_snapper_useradd, pam_snapper_userdel
 .SH AUTHORS and CONTRIBUTORS
 .IX Header AUTHORS and CONTRIBUTORS
 pam-snapper was written by Matthias G. Eckermann m...@suse.com
@@ -227,7 +227,7 @@
 General Public License for more details.
 .PP
 You should have received a copy of the \s-1GNU\s0 General Public License
-along with this 

commit snapper for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-05-13 15:34:01

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-04-24 
12:23:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-05-13 
15:34:02.0 +0200
@@ -1,0 +2,6 @@
+Thu May 02 15:11:17 CEST 2013 - aschn...@suse.de
+
+- added PAM module from mge
+- version 0.1.4
+
+---
@@ -5 +11 @@
-- 0.1.3
+- version 0.1.3
@@ -42 +48 @@
-- 0.1.2
+- version 0.1.2
@@ -64 +70 @@
-- 0.1.1
+- version 0.1.1
@@ -82 +88 @@
-- 0.1.0
+- version 0.1.0
@@ -88 +94 @@
-- 0.0.14
+- version 0.0.14
@@ -100 +106 @@
-- 0.0.13
+- version 0.0.13
@@ -106 +112 @@
-- 0.0.12
+- version 0.0.12
@@ -112 +118 @@
-- 0.0.11
+- version 0.0.11
@@ -123 +129 @@
-- 0.0.10
+- version 0.0.10
@@ -129 +135 @@
-- 0.0.9
+- version 0.0.9
@@ -145 +151 @@
-- 0.0.8
+- version 0.0.8
@@ -266 +271,0 @@
-

Old:

  snapper-0.1.3.tar.bz2

New:

  snapper-0.1.4.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.CqqxQt/_old  2013-05-13 15:34:04.0 +0200
+++ /var/tmp/diff_new_pack.CqqxQt/_new  2013-05-13 15:34:04.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.3
+Version:0.1.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -36,6 +36,7 @@
 %if (0%{?suse_version}  0%{?suse_version} = 1210)
 BuildRequires:  libzypp(plugin:commit)
 %endif
+BuildRequires:  pam-devel
 Requires:   diffutils
 Requires:   libsnapper2 = %version
 %if 0%{?suse_version}
@@ -67,16 +68,19 @@
 automake --add-missing --copy
 autoconf
 
-./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--docdir=%{prefix}/share/doc/packages/snapper --disable-ext4 
--disable-silent-rules
+./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
\
+   --docdir=%{prefix}/share/doc/packages/snapper   
\
+   --disable-silent-rules --disable-ext4 --enable-xattrs
 make %{?jobs:-j%jobs}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT/%{_lib}/security/pam_snapper.la
 
 %if 0%{?suse_version}
-install -D data/sysconfig.snapper 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.snapper
+install -D -m 644 data/sysconfig.snapper 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.snapper
 %else
-install -D data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper
+install -D -m 644 data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper
 %endif
 
 %{find_lang} snapper
@@ -88,7 +92,7 @@
 %defattr(-,root,root)
 %{prefix}/bin/snapper
 %{prefix}/sbin/snapperd
-%doc %{_mandir}/*/*
+%doc %{_mandir}/*/snapper*.*
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
@@ -162,7 +166,7 @@
 
 %package -n snapper-zypp-plugin
 Requires:   dbus-1-python
-Requires:   snapper
+Requires:   snapper = %version
 Requires:   zypp-plugin-python
 Requires:   libzypp(plugin:commit)
 Summary:A zypp commit plugin for calling snapper
@@ -185,4 +189,24 @@
 %endif
 /usr/lib/zypp/plugins/commit/snapper.py*
 
+%package -n pam_snapper
+Requires:   pam
+Requires:   snapper = %version
+Summary:PAM module for calling snapper
+Group:  System/Packages
+
+%description -n pam_snapper
+A PAM module for calling snapper during user login and logout.
+
+Authors:
+
+Matthias G. Eckermann m...@suse.com
+
+%files -n pam_snapper
+%defattr(-,root,root)
+/%{_lib}/security/pam_snapper.so
+%dir /usr/lib/pam_snapper
+/usr/lib/pam_snapper/*.sh
+%doc %{_mandir}/*/pam_snapper*.*
+
 %changelog

++ snapper-0.1.3.tar.bz2 - snapper-0.1.4.tar.bz2 ++
 3922 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-02-25 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-02-25 20:44:41

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-02-22 
17:02:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-02-25 
20:44:42.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb 25 10:54:32 CET 2013 - aschn...@suse.de
+
+- updated translations
+
+---



Other differences:
--
++ snapper-0.1.2.tar.bz2 ++
 16835 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-02-22 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-02-22 17:02:09

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-02-21 
15:37:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-02-22 
17:02:10.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb 22 11:49:23 CET 2013 - aschn...@suse.de
+
+- use sendfile system-call instead of read/write loop
+
+---



Other differences:
--
++ snapper-0.1.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.2/snapper/AppUtil.cc 
new/snapper-0.1.2/snapper/AppUtil.cc
--- old/snapper-0.1.2/snapper/AppUtil.cc2013-02-08 10:51:31.0 
+0100
+++ new/snapper-0.1.2/snapper/AppUtil.cc2013-02-22 14:31:31.0 
+0100
@@ -30,6 +30,7 @@
 #include sys/utsname.h
 #include sys/ioctl.h
 #include sys/types.h
+#include sys/sendfile.h
 #include pwd.h
 #include dirent.h
 #include mntent.h
@@ -90,45 +91,19 @@
 bool
 copyfile(int src_fd, int dest_fd)
 {
-   struct stat src_stat;
-   int r1 = fstat(src_fd, src_stat);
-   if (r1 != 0)
-   {
-   y2err(fstat failed errno:  errno   (  stringerror(errno) 
 ));
-   return false;
-   }
-
-   posix_fadvise(src_fd, 0, src_stat.st_size, POSIX_FADV_SEQUENTIAL);
-
-   static_assert(sizeof(off_t) = 8, off_t is too small);
-
-   const off_t block_size = 4096;
-
-   char block[block_size];
-
-   off_t length = src_stat.st_size;
-   while (length  0)
+   while (true)
{
-   off_t t = min(block_size, length);
+   // use small value for count to make function better interruptible
+   ssize_t r1 = sendfile(dest_fd, src_fd, NULL, 0x);
+   if (r1 == 0)
+   return true;
 
-   int r2 = read(src_fd, block, t);
-   if (r2 != t)
+   if (r1  0)
{
-   y2err(read failed errno:  errno   (  
stringerror(errno)  ));
+   y2err(sendfile failed errno:  errno   (  
stringerror(errno)  ));
return false;
}
-
-   int r3 = write(dest_fd, block, t);
-   if (r3 != t)
-   {
-   y2err(write failed errno:  errno   (  
stringerror(errno)  ));
-   return false;
-   }
-
-   length -= t;
}
-
-   return true;
 }
 
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-02-21 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-02-21 15:37:24

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-02-08 
23:26:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-02-21 
15:37:26.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 21 14:23:55 CET 2013 - aschn...@suse.de
+
+- removed obsolete calls to renice and ionice in cron scripts
+  (bnc#804355)
+
+---



Other differences:
--
++ snapper-0.1.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.2/Makefile.in 
new/snapper-0.1.2/Makefile.in
--- old/snapper-0.1.2/Makefile.in   2013-02-08 10:51:56.0 +0100
+++ new/snapper-0.1.2/Makefile.in   2013-02-21 14:26:52.0 +0100
@@ -181,6 +181,9 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+CHATTRBIN = @CHATTRBIN@
+CHSNAPBIN = @CHSNAPBIN@
+CPBIN = @CPBIN@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -192,6 +195,7 @@
 DBUS_LIBS = @DBUS_LIBS@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DIFFBIN = @DIFFBIN@
 DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
@@ -217,6 +221,9 @@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
+LVCREATEBIN = @LVCREATEBIN@
+LVREMOVEBIN = @LVREMOVEBIN@
+LVSBIN = @LVSBIN@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
 MKDIR_P = @MKDIR_P@
@@ -238,10 +245,12 @@
 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 RANLIB = @RANLIB@
+RMBIN = @RMBIN@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
+TOUCHBIN = @TOUCHBIN@
 VERSION = @VERSION@
 abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.2/client/Makefile.in 
new/snapper-0.1.2/client/Makefile.in
--- old/snapper-0.1.2/client/Makefile.in2013-02-08 10:51:56.0 
+0100
+++ new/snapper-0.1.2/client/Makefile.in2013-02-21 14:26:52.0 
+0100
@@ -177,6 +177,9 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+CHATTRBIN = @CHATTRBIN@
+CHSNAPBIN = @CHSNAPBIN@
+CPBIN = @CPBIN@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -188,6 +191,7 @@
 DBUS_LIBS = @DBUS_LIBS@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DIFFBIN = @DIFFBIN@
 DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
@@ -213,6 +217,9 @@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
+LVCREATEBIN = @LVCREATEBIN@
+LVREMOVEBIN = @LVREMOVEBIN@
+LVSBIN = @LVSBIN@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
 MKDIR_P = @MKDIR_P@
@@ -234,10 +241,12 @@
 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 RANLIB = @RANLIB@
+RMBIN = @RMBIN@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
+TOUCHBIN = @TOUCHBIN@
 VERSION = @VERSION@
 abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.2/client/utils/Makefile.in 
new/snapper-0.1.2/client/utils/Makefile.in
--- old/snapper-0.1.2/client/utils/Makefile.in  2013-02-08 10:51:56.0 
+0100
+++ new/snapper-0.1.2/client/utils/Makefile.in  2013-02-21 14:26:53.0 
+0100
@@ -135,6 +135,9 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
+CHATTRBIN = @CHATTRBIN@
+CHSNAPBIN = @CHSNAPBIN@
+CPBIN = @CPBIN@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@
@@ -146,6 +149,7 @@
 DBUS_LIBS = @DBUS_LIBS@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
+DIFFBIN = @DIFFBIN@
 DLLTOOL = @DLLTOOL@
 DSYMUTIL = @DSYMUTIL@
 DUMPBIN = @DUMPBIN@
@@ -171,6 +175,9 @@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
+LVCREATEBIN = @LVCREATEBIN@
+LVREMOVEBIN = @LVREMOVEBIN@
+LVSBIN = @LVSBIN@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
 MKDIR_P = @MKDIR_P@
@@ -192,10 +199,12 @@
 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 RANLIB = @RANLIB@
+RMBIN = @RMBIN@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
+TOUCHBIN = @TOUCHBIN@
 VERSION = @VERSION@
 abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.1.2/config.h.in 
new/snapper-0.1.2/config.h.in
--- old/snapper-0.1.2/config.h.in   2013-02-08 10:51:55.0 +0100
+++ new/snapper-0.1.2/config.h.in   2013-02-21 14:26:51.0 +0100
@@ -1,5 +1,17 @@
 /* 

commit snapper for openSUSE:Factory

2013-02-08 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-02-08 14:45:00

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2013-01-25 
09:40:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-02-08 
23:26:02.0 +0100
@@ -1,0 +2,16 @@
+Thu Feb 07 18:13:26 CET 2013 - aschn...@suse.de
+
+- zypp-plugin requires dbus-1-python
+
+---
+Wed Feb 06 10:27:57 CET 2013 - aschn...@suse.de
+
+- fixed compatibility issue with boost 1.52
+
+---
+Mon Feb 04 14:00:45 CET 2013 - aschn...@suse.de
+
+- use btrfs send ioctl for snapshot comparison (fate #311399)
+- 0.1.2
+
+---

Old:

  snapper-0.1.1.tar.bz2

New:

  snapper-0.1.2.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.hQSXYu/_old  2013-02-08 23:26:04.0 +0100
+++ /var/tmp/diff_new_pack.hQSXYu/_new  2013-02-08 23:26:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.1.1
+Version:0.1.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -36,6 +36,7 @@
 %if (0%{?suse_version}  0%{?suse_version} = 1210)
 BuildRequires:  libzypp(plugin:commit)
 %endif
+Requires:   diffutils
 Requires:   libsnapper2 = %version
 %if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
@@ -97,7 +98,6 @@
 %package -n libsnapper2
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
-Requires:   diffutils
 Requires:   util-linux
 %if 0%{?suse_version}
 PreReq: %fillup_prereq
@@ -161,6 +161,7 @@
 %{prefix}/include/snapper
 
 %package -n snapper-zypp-plugin
+Requires:   dbus-1-python
 Requires:   snapper
 Requires:   zypp-plugin-python
 Requires:   libzypp(plugin:commit)

++ snapper-0.1.1.tar.bz2 - snapper-0.1.2.tar.bz2 ++
 2291 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2013-01-25 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2013-01-25 09:40:24

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-12-07 
14:51:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2013-01-25 
09:40:26.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 24 14:32:02 CET 2013 - aschn...@suse.de
+
+- fixed type of time_t in DBus protocol
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.W2KeNt/_old  2013-01-25 09:40:27.0 +0100
+++ /var/tmp/diff_new_pack.W2KeNt/_new  2013-01-25 09:40:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ snapper-0.1.1.tar.bz2 ++
 2864 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2012-12-07 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-12-07 14:51:34

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-11-13 
09:44:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-12-07 
14:51:39.0 +0100
@@ -1,0 +2,11 @@
+Mon Nov 26 12:40:54 CET 2012 - aschn...@suse.de
+
+- implemented use-counter for mounts of snapshots
+- updated translations
+
+---
+Wed Nov 21 11:55:28 CET 2012 - aschn...@suse.de
+
+- handle userdata in zypp plugin (fate #312521)
+
+---



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.g2rvBd/_old  2012-12-07 14:51:47.0 +0100
+++ /var/tmp/diff_new_pack.g2rvBd/_new  2012-12-07 14:51:47.0 +0100
@@ -27,6 +27,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
+BuildRequires:  pkg-config
 %if ! 0%{?mandriva_version}
 BuildRequires:  dbus-1-devel
 %else

++ snapper-0.1.1.tar.bz2 ++
 14827 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2012-11-13 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-11-13 09:44:02

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-09-14 
12:38:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-11-13 
09:44:07.0 +0100
@@ -1,0 +2,24 @@
+Mon Nov 12 15:37:25 CET 2012 - aschn...@suse.de
+
+- reject create-config on non-thin LVM volumes
+- 0.1.1
+
+---
+Thu Oct 18 15:11:49 CEST 2012 - aschn...@suse.de
+
+- .snapshots is not required to have group root if it is not
+  group-writable
+
+---
+Mon Oct 15 10:40:07 CEST 2012 - aschn...@suse.de
+
+- merged dbus branch (fate #313010 and fate #313042)
+  - allows non-root user to use snapper
+  - record user id during snapshot creation
+  - run background comparisons sequential
+  - use ioctl instead of btrfs program
+  - disable ext4 support
+  - removed Python bindings
+- 0.1.0
+
+---

Old:

  no-readonly.diff
  snapper-0.0.14.tar.bz2

New:

  snapper-0.1.1.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.yKqSuk/_old  2012-11-13 09:44:08.0 +0100
+++ /var/tmp/diff_new_pack.yKqSuk/_new  2012-11-13 09:44:08.0 +0100
@@ -17,23 +17,25 @@
 
 
 Name:   snapper
-Version:0.0.14
+Version:0.1.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
-Patch1: no-readonly.diff
 Prefix: /usr
 BuildRequires:  boost-devel
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
-BuildRequires:  python-devel
-BuildRequires:  swig
+%if ! 0%{?mandriva_version}
+BuildRequires:  dbus-1-devel
+%else
+BuildRequires:  libdbus-1-devel
+%endif
 %if (0%{?suse_version}  0%{?suse_version} = 1210)
 BuildRequires:  libzypp(plugin:commit)
 %endif
-Requires:   libsnapper1 = %version
+Requires:   libsnapper2 = %version
 %if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
@@ -52,9 +54,6 @@
 
 %prep
 %setup -n snapper-%{version}
-%if (0%{?suse_version}  0%{?suse_version}  1210) || (0%{?fedora}  
0%{?fedora}  17) || (0%{?rhel_version}  0%{?rhel_version}  700) || 
(0%{?centos_version}  0%{?centos_version}  700) || (0%{?mdkversion}  
0%{?mdkversion}  201200)
-%patch1
-%endif
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS -DNDEBUG
@@ -66,7 +65,7 @@
 automake --add-missing --copy
 autoconf
 
-./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--docdir=%{prefix}/share/doc/packages/snapper --disable-silent-rules
+./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--docdir=%{prefix}/share/doc/packages/snapper --disable-ext4 
--disable-silent-rules
 make %{?jobs:-j%jobs}
 
 %install
@@ -80,21 +79,21 @@
 
 %{find_lang} snapper
 
-rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.a
-rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.la
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f snapper.lang
 %defattr(-,root,root)
 %{prefix}/bin/snapper
+%{prefix}/sbin/snapperd
 %doc %{_mandir}/*/*
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
+%config /etc/dbus-1/system.d/org.opensuse.Snapper.conf
+%{prefix}/share/dbus-1/system-services/org.opensuse.Snapper.service
 
-%package -n libsnapper1
+%package -n libsnapper2
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   diffutils
@@ -103,14 +102,14 @@
 PreReq: %fillup_prereq
 %endif
 
-%description -n libsnapper1
+%description -n libsnapper2
 This package contains libsnapper, a library for filesystem snapshot management.
 
 Authors:
 
 Arvin Schnell aschn...@suse.de
 
-%files -n libsnapper1
+%files -n libsnapper2
 %defattr(-,root,root)
 %{_libdir}/libsnapper.so.*
 %dir %{_sysconfdir}/snapper
@@ -127,23 +126,20 @@
 %else
 %config(noreplace) %{_sysconfdir}/sysconfig/snapper
 %endif
-%dir %{_libdir}/snapper
-%dir %{_libdir}/snapper/bin
-%{_libdir}/snapper/bin/compare-dirs
 
-%post -n libsnapper1
+%post -n libsnapper2
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -n snapper}
 %endif
 
-%postun -n libsnapper1
+%postun -n libsnapper2
 /sbin/ldconfig
 
 %package -n libsnapper-devel
 Requires:   boost-devel
 Requires:   

commit snapper for openSUSE:Factory

2012-09-14 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-09-14 12:38:50

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-06-13 
22:46:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-09-14 
12:38:51.0 +0200
@@ -1,0 +2,24 @@
+Wed Aug 22 18:43:47 CEST 2012 - aschn...@suse.de
+
+- fixed segmentation fault for unknown fstype
+- 0.0.14
+
+---
+Tue Aug 14 12:03:50 CEST 2012 - aschn...@suse.de
+
+- fixed logging during program termination
+
+---
+Wed Jul 25 10:44:38 CEST 2012 - aschn...@suse.de
+
+- take mount options from original filesystem when mounting
+  snapshots
+- 0.0.13
+
+---
+Tue Jul 24 14:35:44 CEST 2012 - aschn...@suse.de
+
+- added experimental support for LVM thin-provisioned snapshots
+- 0.0.12
+
+---

Old:

  snapper-0.0.11.tar.bz2

New:

  snapper-0.0.14.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.2vPbCc/_old  2012-09-14 12:38:52.0 +0200
+++ /var/tmp/diff_new_pack.2vPbCc/_new  2012-09-14 12:38:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   snapper
-Version:0.0.11
+Version:0.0.14
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
@@ -66,7 +66,7 @@
 automake --add-missing --copy
 autoconf
 
-./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--disable-silent-rules
+./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--docdir=%{prefix}/share/doc/packages/snapper --disable-silent-rules
 make %{?jobs:-j%jobs}
 
 %install
@@ -127,9 +127,9 @@
 %else
 %config(noreplace) %{_sysconfdir}/sysconfig/snapper
 %endif
-%dir %{prefix}/lib/snapper
-%dir %{prefix}/lib/snapper/bin
-%{prefix}/lib/snapper/bin/compare-dirs
+%dir %{_libdir}/snapper
+%dir %{_libdir}/snapper/bin
+%{_libdir}/snapper/bin/compare-dirs
 
 %post -n libsnapper1
 /sbin/ldconfig
@@ -201,6 +201,6 @@
 %dir /usr/lib/zypp/plugins
 %dir /usr/lib/zypp/plugins/commit
 %endif
-/usr/lib/zypp/plugins/commit/snapper.py
+/usr/lib/zypp/plugins/commit/snapper.py*
 
 %changelog

++ snapper-0.0.11.tar.bz2 - snapper-0.0.14.tar.bz2 ++
 9798 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.11/VERSION new/snapper-0.0.14/VERSION
--- old/snapper-0.0.11/VERSION  2012-06-12 10:08:30.0 +0200
+++ new/snapper-0.0.14/VERSION  2012-08-22 18:43:25.0 +0200
@@ -1 +1 @@
-0.0.11
+0.0.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.11/bindings/python/libsnapper.py 
new/snapper-0.0.14/bindings/python/libsnapper.py
--- old/snapper-0.0.11/bindings/python/libsnapper.py2012-06-13 
12:41:52.0 +0200
+++ new/snapper-0.0.14/bindings/python/libsnapper.py2012-09-13 
15:39:27.0 +0200
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 2.0.4
+# Version 2.0.7
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
@@ -77,8 +77,8 @@
 __swig_destroy__ = _libsnapper.delete_SwigPyIterator
 __del__ = lambda self : None;
 def value(self): return _libsnapper.SwigPyIterator_value(self)
-def incr(self, n = 1): return _libsnapper.SwigPyIterator_incr(self, n)
-def decr(self, n = 1): return _libsnapper.SwigPyIterator_decr(self, n)
+def incr(self, n=1): return _libsnapper.SwigPyIterator_incr(self, n)
+def decr(self, n=1): return _libsnapper.SwigPyIterator_decr(self, n)
 def distance(self, *args): return 
_libsnapper.SwigPyIterator_distance(self, *args)
 def equal(self, *args): return _libsnapper.SwigPyIterator_equal(self, 
*args)
 def copy(self): return 

commit snapper for openSUSE:Factory

2012-06-13 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-06-13 22:46:23

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-03-17 
13:23:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-06-13 
22:46:25.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 12 10:07:08 CEST 2012 - aschn...@suse.de
+
+- removed blocxx (fate #313242)
+- 0.0.11
+
+---

Old:

  snapper-0.0.10.tar.bz2

New:

  snapper-0.0.11.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.XiZdPP/_old  2012-06-13 22:46:26.0 +0200
+++ /var/tmp/diff_new_pack.XiZdPP/_new  2012-06-13 22:46:26.0 +0200
@@ -16,30 +16,31 @@
 #
 
 
-
 Name:   snapper
-Version:0.0.10
+Version:0.0.11
 Release:0
-License:GPL-2.0
-Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Patch1: no-readonly.diff
 Prefix: /usr
-BuildRequires:  boost-devel doxygen gcc-c++ libtool libxml2-devel
-BuildRequires:  python-devel swig
-%if 0%{?suse_version}
-BuildRequires:  libblocxx-devel
-%if 0%{?suse_version} = 1210
+BuildRequires:  boost-devel
+BuildRequires:  doxygen
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  libxml2-devel
+BuildRequires:  python-devel
+BuildRequires:  swig
+%if (0%{?suse_version}  0%{?suse_version} = 1210)
 BuildRequires:  libzypp(plugin:commit)
 %endif
-%endif
 Requires:   libsnapper1 = %version
 %if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
 %endif
 Summary:Tool for filesystem snapshot management
+License:GPL-2.0
+Group:  System/Packages
 Url:http://en.opensuse.org/Portal:Snapper
 
 %description
@@ -96,7 +97,8 @@
 %package -n libsnapper1
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
-Requires:   diffutils util-linux
+Requires:   diffutils
+Requires:   util-linux
 %if 0%{?suse_version}
 PreReq: %fillup_prereq
 %endif
@@ -139,11 +141,11 @@
 /sbin/ldconfig
 
 %package -n libsnapper-devel
+Requires:   boost-devel
+Requires:   gcc-c++
 Requires:   libsnapper1 = %version
-Requires:   gcc-c++ libstdc++-devel boost-devel libxml2-devel
-%if 0%{?suse_version}
-Requires:   blocxx-devel
-%endif
+Requires:   libstdc++-devel
+Requires:   libxml2-devel
 Summary:Header files and documentation for libsnapper
 Group:  Development/Languages/C and C++
 
@@ -178,7 +180,9 @@
 %attr(755,root,root) %{python_sitearch}/_libsnapper.so
 
 %package -n snapper-zypp-plugin
-Requires:   snapper libzypp(plugin:commit) zypp-plugin-python
+Requires:   snapper
+Requires:   zypp-plugin-python
+Requires:   libzypp(plugin:commit)
 Summary:A zypp commit plugin for calling snapper
 Group:  System/Packages
 

++ snapper-0.0.10.tar.bz2 - snapper-0.0.11.tar.bz2 ++
 17296 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.10/LIBVERSION new/snapper-0.0.11/LIBVERSION
--- old/snapper-0.0.10/LIBVERSION   2011-10-12 15:20:19.0 +0200
+++ new/snapper-0.0.11/LIBVERSION   2012-06-12 10:06:56.0 +0200
@@ -1 +1 @@
-1.5.0
+1.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.10/VERSION new/snapper-0.0.11/VERSION
--- old/snapper-0.0.10/VERSION  2012-03-06 17:23:43.0 +0100
+++ new/snapper-0.0.11/VERSION  2012-06-12 10:08:30.0 +0200
@@ -1 +1 @@
-0.0.10
+0.0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 

commit snapper for openSUSE:Factory

2012-03-17 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-03-17 13:23:18

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2012-01-04 
07:31:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-03-17 
13:23:20.0 +0100
@@ -1,0 +2,22 @@
+Thu Mar 15 10:56:40 CET 2012 - aschn...@suse.de
+
+- added missing includes for gcc 4.7
+
+---
+Tue Mar 06 11:37:34 CET 2012 - aschn...@suse.de
+
+- allow to disable background comparison (bnc#726122)
+- 0.0.10
+
+---
+Fri Mar 02 16:25:26 CET 2012 - aschn...@suse.de
+
+- added option --command to snapper create
+- 0.0.9
+
+---
+Fri Feb 24 19:21:15 CET 2012 - aschn...@suse.de
+
+- allow to compile without blocxx
+
+---

Old:

  snapper-0.0.8.tar.bz2

New:

  no-readonly.diff
  snapper-0.0.10.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.fovMms/_old  2012-03-17 13:23:22.0 +0100
+++ /var/tmp/diff_new_pack.fovMms/_new  2012-03-17 13:23:22.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package snapper
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,27 @@
 
 
 Name:   snapper
-Version:0.0.8
+Version:0.0.10
 Release:0
 License:GPL-2.0
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
+Patch1: no-readonly.diff
 Prefix: /usr
-BuildRequires:  boost-devel doxygen gcc-c++ libblocxx-devel libtool 
libxml2-devel
+BuildRequires:  boost-devel doxygen gcc-c++ libtool libxml2-devel
 BuildRequires:  python-devel swig
+%if 0%{?suse_version}
+BuildRequires:  libblocxx-devel
+%if 0%{?suse_version} = 1210
 BuildRequires:  libzypp(plugin:commit)
+%endif
+%endif
 Requires:   libsnapper1 = %version
+%if 0%{?suse_version}
 Recommends: cron logrotate snapper-zypp-plugin
 Supplements:btrfsprogs
+%endif
 Summary:Tool for filesystem snapshot management
 Url:http://en.opensuse.org/Portal:Snapper
 
@@ -43,6 +51,9 @@
 
 %prep
 %setup -n snapper-%{version}
+%if (0%{?suse_version}  0%{?suse_version}  1210) || (0%{?fedora}  
0%{?fedora}  17) || (0%{?rhel_version}  0%{?rhel_version}  700) || 
(0%{?centos_version}  0%{?centos_version}  700) || (0%{?mdkversion}  
0%{?mdkversion}  201200)
+%patch1
+%endif
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS -DNDEBUG
@@ -60,6 +71,12 @@
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
+%if 0%{?suse_version}
+install -D data/sysconfig.snapper 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.snapper
+%else
+install -D data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper
+%endif
+
 %{find_lang} snapper
 
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.a
@@ -80,7 +97,9 @@
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   diffutils util-linux
+%if 0%{?suse_version}
 PreReq: %fillup_prereq
+%endif
 
 %description -n libsnapper1
 This package contains libsnapper, a library for filesystem snapshot management.
@@ -101,21 +120,30 @@
 %doc %dir %{prefix}/share/doc/packages/snapper
 %doc %{prefix}/share/doc/packages/snapper/AUTHORS
 %doc %{prefix}/share/doc/packages/snapper/COPYING
+%if 0%{?suse_version}
 /var/adm/fillup-templates/sysconfig.snapper
+%else
+%config(noreplace) %{_sysconfdir}/sysconfig/snapper
+%endif
 %dir %{prefix}/lib/snapper
 %dir %{prefix}/lib/snapper/bin
 %{prefix}/lib/snapper/bin/compare-dirs
 
 %post -n libsnapper1
 /sbin/ldconfig
+%if 0%{?suse_version}
 %{fillup_only -n snapper}
+%endif
 
 %postun -n libsnapper1
 /sbin/ldconfig
 
 %package -n libsnapper-devel
 Requires:   libsnapper1 = %version
-Requires:   gcc-c++ libstdc++-devel boost-devel blocxx-devel libxml2-devel
+Requires:   gcc-c++ libstdc++-devel boost-devel libxml2-devel
+%if 0%{?suse_version}
+Requires:   blocxx-devel
+%endif
 Summary:Header files and documentation for libsnapper
 Group:  Development/Languages/C and C++
 
@@ -164,6 +192,11 @@
 
 %files -n 

commit snapper for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2012-01-04 07:31:45

Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and  /work/SRC/openSUSE:Factory/.snapper.new (New)


Package is snapper, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2011-10-21 
16:38:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes 2012-01-04 
07:31:47.0 +0100
@@ -1,0 +2,22 @@
+Fri Dec 23 15:33:12 CET 2011 - aschn...@suse.de
+
+- allow to delete a configuration
+
+---
+Thu Nov 24 14:09:15 CET 2011 - aschn...@suse.de
+
+- package Python bindings
+- 0.0.8
+
+---
+Sat Nov 19 20:46:08 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---
+Fri Nov 11 11:20:03 CET 2011 - aschn...@suse.de
+
+- moved supplements btrfsprogs from libsnapper to snapper
+  (bnc#729859)
+
+---

Old:

  snapper-0.0.7.tar.bz2

New:

  snapper-0.0.8.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.XTgS1T/_old  2012-01-04 07:31:48.0 +0100
+++ /var/tmp/diff_new_pack.XTgS1T/_new  2012-01-04 07:31:48.0 +0100
@@ -15,21 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   snapper
-Version:0.0.7
+Version:0.0.8
 Release:0
-License:GPL
+License:GPL-2.0
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
-BuildRequires:  boost-devel doxygen gcc-c++ libblocxx-devel libxml2-devel
+BuildRequires:  boost-devel doxygen gcc-c++ libblocxx-devel libtool 
libxml2-devel
+BuildRequires:  python-devel swig
 BuildRequires:  libzypp(plugin:commit)
 Requires:   libsnapper1 = %version
 Recommends: cron logrotate snapper-zypp-plugin
+Supplements:btrfsprogs
 Summary:Tool for filesystem snapshot management
 Url:http://en.opensuse.org/Portal:Snapper
 
@@ -53,7 +54,6 @@
 automake --add-missing --copy
 autoconf
 
-%{?suse_update_config:%{suse_update_config -f}}
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--disable-silent-rules
 make %{?jobs:-j%jobs}
 
@@ -62,6 +62,9 @@
 
 %{find_lang} snapper
 
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.a
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -78,7 +81,6 @@
 Group:  System/Libraries
 Requires:   diffutils util-linux
 PreReq: %fillup_prereq
-Supplements:btrfsprogs
 
 %description -n libsnapper1
 This package contains libsnapper, a library for filesystem snapshot management.
@@ -131,6 +133,22 @@
 %{_libdir}/libsnapper.so
 %{prefix}/include/snapper
 
+%package -n libsnapper-python
+Summary:Python bindings for libsnapper
+Group:  System/Libraries
+
+%description -n libsnapper-python
+This package contains Python bindings for libsnapper.
+
+Authors:
+
+Thomas Fehr f...@suse.de
+
+%files -n libsnapper-python
+%defattr(-,root,root)
+%{python_sitelib}/libsnapper.py*
+%attr(755,root,root) %{python_sitearch}/_libsnapper.so
+
 %package -n snapper-zypp-plugin
 Requires:   snapper libzypp(plugin:commit) zypp-plugin-python
 Summary:A zypp commit plugin for calling snapper

++ snapper-0.0.7.tar.bz2 - snapper-0.0.8.tar.bz2 ++
 4014 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-10-16 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Sun Oct 16 12:58:04 CEST 2011.




--- openSUSE:Factory/snapper/snapper.changes2011-10-07 17:07:47.0 
+0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-10-14 
12:54:20.0 +0200
@@ -1,0 +2,5 @@
+Wed Oct 12 15:12:41 CEST 2011 - aschn...@suse.de
+
+- updated translations
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper-0.0.7.tar.bz2 ++
 7059 lines of diff (skipped)

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-10-07 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Fri Oct 7 17:07:45 CEST 2011.




--- openSUSE:Factory/snapper/snapper.changes2011-09-26 10:20:16.0 
+0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-10-07 
15:45:17.0 +0200
@@ -1,0 +2,5 @@
+Fri Oct 07 15:42:40 CEST 2011 - aschn...@suse.de
+
+- check iterator in findPre
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper-0.0.7.tar.bz2 ++
 2030 lines of diff (skipped)

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Mon Sep 19 18:04:51 CEST 2011.




--- snapper/snapper.changes 2011-09-02 10:30:22.0 +0200
+++ snapper/snapper.changes 2011-09-16 14:03:08.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 16:44:26 CEST 2011 - aschn...@suse.de
+
+- added userdata to snapshots
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.sqEARi/_old  2011-09-19 18:04:43.0 +0200
+++ /var/tmp/diff_new_pack.sqEARi/_new  2011-09-19 18:04:43.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   snapper
 Version:0.0.7
-Release:7
+Release:0
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -74,7 +74,6 @@
 /etc/cron.daily/suse.de-snapper
 
 %package -n libsnapper1
-
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   diffutils util-linux
@@ -113,7 +112,6 @@
 /sbin/ldconfig
 
 %package -n libsnapper-devel
-
 Requires:   libsnapper1 = %version
 Requires:   gcc-c++ libstdc++-devel boost-devel blocxx-devel libxml2-devel
 Summary:Header files and documentation for libsnapper
@@ -134,7 +132,6 @@
 %{prefix}/include/snapper
 
 %package -n snapper-zypp-plugin
-
 Requires:   snapper libzypp(plugin:commit) zypp-plugin-python
 Summary:A zypp commit plugin for calling snapper
 Group:  System/Packages
@@ -150,4 +147,5 @@
 %files -n snapper-zypp-plugin
 %defattr(-,root,root)
 /usr/lib/zypp/plugins/commit/snapper.py
+
 %changelog

++ snapper-0.0.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/LIBVERSION new/snapper-0.0.7/LIBVERSION
--- old/snapper-0.0.7/LIBVERSION2011-08-11 14:53:42.0 +0200
+++ new/snapper-0.0.7/LIBVERSION2011-09-16 14:00:26.0 +0200
@@ -1 +1 @@
-1.3.0
+1.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8 
new/snapper-0.0.7/doc/snapper.8
--- old/snapper-0.0.7/doc/snapper.8 2011-09-02 10:28:12.0 +0200
+++ new/snapper-0.0.7/doc/snapper.8 2011-09-16 14:01:54.0 +0200
@@ -39,6 +39,12 @@
 .LP
 Note that filesystem\-wise all three types are the same.
 
+.SS Snapshot Description und Userdata
+.LP
+With each snapshot a description and some userdata can be associated. The
+description is a string. The userdata is a list of key-value pairs where the
+keys and values are strings.
+
 .SS Automatic Snapshot Creation
 Next to manual snapshot creation snapshots are also created automatically.
 .LP
@@ -130,14 +136,19 @@
 \fI\-\-pre\-number\fR number
 For post snapshots the number of the pre snapshot must be provided.
 .TP
-\fI\-d, \-\-description\fR description
-Description for the snapshot.
-.TP
 \fI\-p, \-\-print\-number\fR
 Print number of the created snapshot.
 .TP
+\fI\-d, \-\-description\fR description
+Description for the snapshot.
+.TP
 \fI\-c, \-\-cleanup\-algorithm\fR cleanup-algorithm
-Sets the cleanup-algorithm for the snapshot.
+Set the cleanup-algorithm for the snapshot.
+.TP
+\fI\-u, \-\-userdata\fR userdata
+Set userdata for the snapshot. The key-value pairs must be seperated by comma
+and the key and value must be seperated by an equal sign,
+e.g. requestid=42,user=arthur.
 
 .TP
 .B modify [options] number
@@ -145,6 +156,14 @@
 .TP
 \fI\-d, \-\-description\fR description
 New description for snapshot.
+.TP
+\fI\-c, \-\-cleanup\-algorithm\fR cleanup-algorithm
+Set the cleanup-algorithm for the snapshot.
+.TP
+\fI\-u, \-\-userdata\fR userdata
+Set userdata for the snapshot. The key-value pairs must be seperated by comma
+and the key and value must be seperated by an equal sign,
+e.g. requestid=42,user=arthur.
 
 .TP
 .B delete number
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8.in 
new/snapper-0.0.7/doc/snapper.8.in
--- old/snapper-0.0.7/doc/snapper.8.in  2011-08-31 15:48:07.0 +0200
+++ new/snapper-0.0.7/doc/snapper.8.in  2011-09-15 17:30:03.0 +0200
@@ -39,6 +39,12 @@
 .LP
 Note that filesystem\-wise all three types are the same.
 
+.SS Snapshot Description und Userdata
+.LP
+With each snapshot a description and some userdata can be associated. The
+description is a string. The userdata is a list of key-value pairs where the
+keys and values are strings.
+
 .SS Automatic Snapshot Creation
 Next to manual snapshot creation snapshots are also created automatically.
 .LP
@@ -130,14 +136,19 @@
 \fI\-\-pre\-number\fR number
 For post snapshots the number of the pre snapshot must be provided.
 .TP
-\fI\-d, \-\-description\fR 

commit snapper for openSUSE:Factory

2011-09-05 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Mon Sep 5 17:15:48 CEST 2011.




--- snapper/snapper.changes 2011-08-12 10:58:43.0 +0200
+++ snapper/snapper.changes 2011-09-02 10:30:22.0 +0200
@@ -1,0 +2,15 @@
+Fri Sep 02 10:27:46 CEST 2011 - aschn...@suse.de
+
+- updated translations
+
+---
+Wed Aug 31 15:44:42 CEST 2011 - aschn...@suse.de
+
+- renamed snapper command diff to status and contentdiff to diff
+
+---
+Mon Aug 29 16:17:11 CEST 2011 - aschn...@suse.de
+
+- improved manpage (bnc #710858)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.IpbWHT/_old  2011-09-05 17:15:15.0 +0200
+++ /var/tmp/diff_new_pack.IpbWHT/_new  2011-09-05 17:15:15.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   snapper
 Version:0.0.7
-Release:5
+Release:7
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ snapper-0.0.7.tar.bz2 ++
 5121 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-08-12 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Fri Aug 12 13:53:38 CEST 2011.




--- snapper/snapper.changes 2011-08-05 14:41:08.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-08-12 
10:58:43.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug 11 12:09:19 CEST 2011 - aschn...@suse.de
+
+- improvements to command-line interface
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.PCpT7x/_old  2011-08-12 13:52:18.0 +0200
+++ /var/tmp/diff_new_pack.PCpT7x/_new  2011-08-12 13:52:18.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   snapper
 Version:0.0.7
-Release:3
+Release:5
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ snapper-0.0.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/LIBVERSION new/snapper-0.0.7/LIBVERSION
--- old/snapper-0.0.7/LIBVERSION2011-08-03 14:25:59.0 +0200
+++ new/snapper-0.0.7/LIBVERSION2011-08-11 14:53:42.0 +0200
@@ -1 +1 @@
-1.2.0
+1.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8 
new/snapper-0.0.7/doc/snapper.8
--- old/snapper-0.0.7/doc/snapper.8 2011-08-05 14:40:21.0 +0200
+++ new/snapper-0.0.7/doc/snapper.8 2011-08-12 10:58:05.0 +0200
@@ -13,7 +13,7 @@
 .SH DESCRIPTION
 .LP
 Snapper is a command\-line program for filesystem snapshot management. It can
-create, delete and compare snapshots and rollback changes between
+create, delete and compare snapshots and undo changes between
 snapshots. Supported filesystems are btrfs and ext4.
 
 .SH CONCEPTS
@@ -156,23 +156,26 @@
 Unmount a snapshot. Not required for all filesystem types.
 
 .TP
-.B diff [options] number1 number2
-Compare two snapshots. This will show a list of files and directories
-that have been created, modified or deleted in the time between the two
-snapshots have been made.
+.B diff [options] number1..number2
+Compare the snapshots number1 and number2. This will show a list of files and
+directories that have been created, modified or deleted in the time between
+the two snapshots have been made.
 .TP
 \fI\-o, \-\-output\fR file
 Write output to file file.
+
 .TP
-\fI\-f, \-\-file\fR file
-Compare the file file between the two snapshots.
+.B contentdiff [options] number1..number2 [files]
+Compare the snapshots number1 and number2. This will show a diff of the
+content of files and directories that have been created, modified or deleted
+in the time between the two snapshots have been made.
 
 .TP
-.B rollback [options] number1 number2
-Rollback changes between the two snapshots.
+.B undochange [options] number1..number2 [files]
+Undo changes done between snapshot number1 and number2.
 .TP
-\fI\-f, \-\-file\fR file
-Read the files to rollback from the file file.
+\fI\-i, \-\-input\fR file
+Read files for which to undo changes from file file.
 
 .TP
 .B cleanup cleanup-algorithm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8.in 
new/snapper-0.0.7/doc/snapper.8.in
--- old/snapper-0.0.7/doc/snapper.8.in  2011-08-05 10:26:24.0 +0200
+++ new/snapper-0.0.7/doc/snapper.8.in  2011-08-11 14:53:42.0 +0200
@@ -13,7 +13,7 @@
 .SH DESCRIPTION
 .LP
 Snapper is a command\-line program for filesystem snapshot management. It can
-create, delete and compare snapshots and rollback changes between
+create, delete and compare snapshots and undo changes between
 snapshots. Supported filesystems are btrfs and ext4.
 
 .SH CONCEPTS
@@ -156,23 +156,26 @@
 Unmount a snapshot. Not required for all filesystem types.
 
 .TP
-.B diff [options] number1 number2
-Compare two snapshots. This will show a list of files and directories
-that have been created, modified or deleted in the time between the two
-snapshots have been made.
+.B diff [options] number1..number2
+Compare the snapshots number1 and number2. This will show a list of files and
+directories that have been created, modified or deleted in the time between
+the two snapshots have been made.
 .TP
 \fI\-o, \-\-output\fR file
 Write output to file file.
+
 .TP
-\fI\-f, \-\-file\fR file
-Compare the file file between the two snapshots.
+.B contentdiff [options] number1..number2 [files]
+Compare the snapshots number1 and number2. This will show a diff of the
+content of files and directories that have been created, modified or deleted
+in the time between the two snapshots have been made.
 
 .TP
-.B rollback [options] number1 number2
-Rollback changes between the two snapshots.
+.B 

commit snapper for openSUSE:Factory

2011-08-07 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Sun Aug 7 19:04:23 CEST 2011.




--- snapper/snapper.changes 2011-08-01 14:50:48.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-08-05 
14:41:08.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug 04 20:51:59 CEST 2011 - aschn...@suse.de
+
+- added experimental ext4 support
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.4IOYUk/_old  2011-08-07 19:03:27.0 +0200
+++ /var/tmp/diff_new_pack.4IOYUk/_new  2011-08-07 19:03:27.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   snapper
 Version:0.0.7
-Release:1
+Release:3
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -77,8 +77,9 @@
 
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
-Requires:   btrfsprogs diffutils util-linux
+Requires:   diffutils util-linux
 PreReq: %fillup_prereq
+Supplements:btrfsprogs
 
 %description -n libsnapper1
 This package contains libsnapper, a library for filesystem snapshot management.

++ snapper-0.0.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/LIBVERSION new/snapper-0.0.7/LIBVERSION
--- old/snapper-0.0.7/LIBVERSION2011-07-29 16:34:02.0 +0200
+++ new/snapper-0.0.7/LIBVERSION2011-08-03 14:25:59.0 +0200
@@ -1 +1 @@
-1.1.0
+1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8 
new/snapper-0.0.7/doc/snapper.8
--- old/snapper-0.0.7/doc/snapper.8 2011-08-01 14:49:29.0 +0200
+++ new/snapper-0.0.7/doc/snapper.8 2011-08-05 14:40:21.0 +0200
@@ -1,7 +1,7 @@
 .TH snapper 8 0.0.7 snapper System Tools
 .SH NAME
 .LP
-snapper - Command\-line program for btrfs snapshot management
+snapper - Command\-line program for filesystem snapshot management
 
 .SH SYNTAX
 .LP
@@ -12,16 +12,17 @@
 
 .SH DESCRIPTION
 .LP
-Snapper is a command\-line program for btrfs snapshot management. It can
-create, delete and compare snapshots and rollback changes between snapshots.
+Snapper is a command\-line program for filesystem snapshot management. It can
+create, delete and compare snapshots and rollback changes between
+snapshots. Supported filesystems are btrfs and ext4.
 
 .SH CONCEPTS
 
 .SS Configurations
 .LP
-For each btrfs subvolume that should be snapshotted by snapper a configuration
-file is required. The complete setup can be done with the create-config
-command.
+For each filesystem or subvolume that should be snapshotted by snapper a
+configuration file is required. The complete setup can be done with the
+create-config command.
 
 .SS Snapshots
 .LP
@@ -36,7 +37,7 @@
 \fBsingle\fR - These snapshots have no special relationship to other
 snapshots.
 .LP
-Note that btrfs\-wise all three types are the same.
+Note that filesystem\-wise all three types are the same.
 
 .SS Automatic Snapshot Creation
 Next to manual snapshot creation snapshots are also created automatically.
@@ -70,7 +71,7 @@
 Increase verbosity.
 .TP
 .I \-t, \-\-table\-style
-Specifies table style to use. Table style is identified by an integer number.
+Specifies table style. Table style is identified by an integer number.
 .TP
 .I \-c, \-\-config name
 Use specified configuration instead of the default.
@@ -100,7 +101,11 @@
 
 .TP
 .B create-config [options] subvolume
-Create a new configuration for a btrfs subvolume.
+Create a new configuration for a filesystem or subvolume.
+.TP
+\fI\-f, \-\-fstype\fR fstype
+Manually set filesystem type. Supported values are btrfs and ext4. Without
+this option snapper detect the filesystem.
 .TP
 \fI\-t, \-\-template\fR name
 Name of template for the new configuration file.
@@ -143,6 +148,14 @@
 Delete a snapshot.
 
 .TP
+.B mount number
+Mount a snapshot. Not required for all filesystem types.
+
+.TP
+.B umount number
+Unmount a snapshot. Not required for all filesystem types.
+
+.TP
 .B diff [options] number1 number2
 Compare two snapshots. This will show a list of files and directories
 that have been created, modified or deleted in the time between the two
@@ -179,6 +192,9 @@
 .TP
 .B /etc/snapper/filters
 Directory containing filter files.
+.TP
+.B /var/log/snapper.log
+Logfile. Please include this file in bug reports.
 
 .SH HOMEPAGE
 .LP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.7/doc/snapper.8.in 
new/snapper-0.0.7/doc/snapper.8.in
--- old/snapper-0.0.7/doc/snapper.8.in  2011-06-15 11:49:47.0 +0200
+++ 

commit snapper for openSUSE:Factory

2011-08-01 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Mon Aug 1 16:11:45 CEST 2011.




--- snapper/snapper.changes 2011-06-28 12:51:50.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-08-01 
14:50:48.0 +0200
@@ -1,0 +2,16 @@
+Mon Aug 01 14:42:16 CEST 2011 - aschn...@suse.de
+
+- preparations for supporting multiple filesystem types
+- version 0.0.7
+
+---
+Mon Aug 01 12:34:40 CEST 2011 - aschn...@suse.de
+
+- updated translations
+
+---
+Sat Jul 30 16:15:42 CEST 2011 - aschn...@suse.de
+
+- added missing shell quoting
+
+---

calling whatdependson for head-i586


Old:

  snapper-0.0.6.tar.bz2

New:

  snapper-0.0.7.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.utSbjt/_old  2011-08-01 16:11:22.0 +0200
+++ /var/tmp/diff_new_pack.utSbjt/_new  2011-08-01 16:11:22.0 +0200
@@ -19,8 +19,8 @@
 
 
 Name:   snapper
-Version:0.0.6
-Release:5
+Version:0.0.7
+Release:1
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ snapper-0.0.6.tar.bz2 - snapper-0.0.7.tar.bz2 ++
 1895 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-07-08 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Fri Jul 8 15:51:05 CEST 2011.




--- snapper/snapper.changes 2011-06-17 11:07:21.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-06-28 
12:51:50.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 28 11:46:28 CEST 2011 - aschn...@suse.de
+
+- added snapper-zypp-plugin subpackage (fate #308626)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.92dei0/_old  2011-07-08 15:50:29.0 +0200
+++ /var/tmp/diff_new_pack.92dei0/_new  2011-07-08 15:50:29.0 +0200
@@ -20,15 +20,16 @@
 
 Name:   snapper
 Version:0.0.6
-Release:3
+Release:5
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
-BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel
+BuildRequires:  boost-devel doxygen gcc-c++ libblocxx-devel libxml2-devel
+BuildRequires:  libzypp(plugin:commit)
 Requires:   libsnapper1 = %version
-Recommends: cron logrotate
+Recommends: cron logrotate snapper-zypp-plugin
 Summary:Tool for filesystem snapshot management
 Url:http://en.opensuse.org/Portal:Snapper
 
@@ -130,4 +131,22 @@
 %{_libdir}/libsnapper.la
 %{_libdir}/libsnapper.so
 %{prefix}/include/snapper
+
+%package -n snapper-zypp-plugin
+
+Requires:   snapper libzypp(plugin:commit) zypp-plugin-python
+Summary:A zypp commit plugin for calling snapper
+Group:  System/Packages
+
+%description -n snapper-zypp-plugin
+This package contains a plugin for zypp that makes filesystem snapshots with
+snapper during commits.
+
+Authors:
+
+Arvin Schnell aschn...@suse.de
+
+%files -n snapper-zypp-plugin
+%defattr(-,root,root)
+/usr/lib/zypp/plugins/commit/snapper.py
 %changelog

++ snapper-0.0.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.6/scripts/Makefile.am 
new/snapper-0.0.6/scripts/Makefile.am
--- old/snapper-0.0.6/scripts/Makefile.am   2011-02-28 17:46:14.0 
+0100
+++ new/snapper-0.0.6/scripts/Makefile.am   2011-06-28 11:46:02.0 
+0200
@@ -2,9 +2,10 @@
 # Makefile.am for snapper/scripts
 #
 
-EXTRA_DIST = snapper-hourly snapper-daily
+EXTRA_DIST = snapper-hourly snapper-daily zypp-plugin.py
 
 install-data-local:
install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/suse.de-snapper
install -D snapper-daily $(DESTDIR)/etc/cron.daily/suse.de-snapper
+   install -D zypp-plugin.py 
$(DESTDIR)/usr/lib/zypp/plugins/commit/snapper.py
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.6/scripts/Makefile.in 
new/snapper-0.0.6/scripts/Makefile.in
--- old/snapper-0.0.6/scripts/Makefile.in   2011-06-17 11:05:22.0 
+0200
+++ new/snapper-0.0.6/scripts/Makefile.in   2011-07-08 14:17:44.0 
+0200
@@ -176,7 +176,7 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-EXTRA_DIST = snapper-hourly snapper-daily
+EXTRA_DIST = snapper-hourly snapper-daily zypp-plugin.py
 all: all-am
 
 .SUFFIXES:
@@ -366,6 +366,7 @@
 install-data-local:
install -D snapper-hourly $(DESTDIR)/etc/cron.hourly/suse.de-snapper
install -D snapper-daily $(DESTDIR)/etc/cron.daily/suse.de-snapper
+   install -D zypp-plugin.py 
$(DESTDIR)/usr/lib/zypp/plugins/commit/snapper.py
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.6/scripts/snapper-hourly 
new/snapper-0.0.6/scripts/snapper-hourly
--- old/snapper-0.0.6/scripts/snapper-hourly2011-03-07 11:06:22.0 
+0100
+++ new/snapper-0.0.6/scripts/snapper-hourly2011-06-29 11:28:42.0 
+0200
@@ -33,7 +33,7 @@
 . /etc/snapper/configs/$CONFIG
 
 if [ $TIMELINE_CREATE = yes ] ; then
-   snapper --config=$CONFIG --quiet create --description=timeline 
--cleanup=timeline
+   snapper --config=$CONFIG --quiet create --description=timeline 
--cleanup-algorithm=timeline
 fi
 
 done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.0.6/scripts/zypp-plugin.py 
new/snapper-0.0.6/scripts/zypp-plugin.py
--- old/snapper-0.0.6/scripts/zypp-plugin.py1970-01-01 01:00:00.0 
+0100
+++ new/snapper-0.0.6/scripts/zypp-plugin.py2011-06-29 12:24:54.0 
+0200
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+
+from os 

commit snapper for openSUSE:Factory

2011-06-17 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Fri Jun 17 12:48:50 CEST 2011.




--- snapper/snapper.changes 2011-06-09 17:54:43.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-06-17 
11:07:21.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 11:02:48 CEST 2011 - aschn...@suse.de
+
+- updated translations
+
+---

calling whatdependson for head-i586




Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.CQZoF2/_old  2011-06-17 12:48:38.0 +0200
+++ /var/tmp/diff_new_pack.CQZoF2/_new  2011-06-17 12:48:38.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   snapper
 Version:0.0.6
-Release:1
+Release:3
 License:GPL
 Group:  System/Packages
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ snapper-0.0.6.tar.bz2 ++
 2483 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit snapper for openSUSE:Factory

2011-06-10 Thread h_root

Hello community,

here is the log from the commit of package snapper for openSUSE:Factory
checked in at Fri Jun 10 11:41:17 CEST 2011.




--- snapper/snapper.changes 2011-04-19 14:15:10.0 +0200
+++ /mounts/work_src_done/STABLE/snapper/snapper.changes2011-06-09 
17:54:43.0 +0200
@@ -1,0 +2,11 @@
+Thu Jun 09 17:52:41 CEST 2011 - aschn...@suse.de
+
+- added man-page
+
+---
+Mon Jun 06 15:01:13 CEST 2011 - aschn...@suse.de
+
+- place snapshots in .snapshots directory
+- version 0.0.6
+
+---
@@ -15 +26 @@
-- started development
+- started development (fate #303699)

calling whatdependson for head-i586


Old:

  snapper-0.0.5.tar.bz2

New:

  snapper-0.0.6.tar.bz2



Other differences:
--
++ snapper.spec ++
--- /var/tmp/diff_new_pack.kNKEYO/_old  2011-06-10 11:40:19.0 +0200
+++ /var/tmp/diff_new_pack.kNKEYO/_new  2011-06-10 11:40:19.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   snapper
-Version:0.0.5
+Version:0.0.6
 Release:1
 License:GPL
 Group:  System/Packages
@@ -27,9 +27,10 @@
 Source: snapper-%{version}.tar.bz2
 Prefix: /usr
 BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel
-Requires:   libsnapper0 = %version
+Requires:   libsnapper1 = %version
 Recommends: cron logrotate
 Summary:Tool for filesystem snapshot management
+Url:http://en.opensuse.org/Portal:Snapper
 
 %description
 This package contains snapper, a tool for filesystem snapshot management.
@@ -66,25 +67,26 @@
 %files -f snapper.lang
 %defattr(-,root,root)
 %{prefix}/bin/snapper
+%doc %{_mandir}/*/*
 %config(noreplace) %{_sysconfdir}/logrotate.d/snapper
 /etc/cron.hourly/suse.de-snapper
 /etc/cron.daily/suse.de-snapper
 
-%package -n libsnapper0
-License:GPL
+%package -n libsnapper1
+
 Summary:Library for filesystem snapshot management
 Group:  System/Libraries
 Requires:   btrfsprogs diffutils util-linux
 PreReq: %fillup_prereq
 
-%description -n libsnapper0
+%description -n libsnapper1
 This package contains libsnapper, a library for filesystem snapshot management.
 
 Authors:
 
 Arvin Schnell aschn...@suse.de
 
-%files -n libsnapper0
+%files -n libsnapper1
 %defattr(-,root,root)
 %{_libdir}/libsnapper.so.*
 %dir %{_sysconfdir}/snapper
@@ -101,16 +103,16 @@
 %dir %{prefix}/lib/snapper/bin
 %{prefix}/lib/snapper/bin/compare-dirs
 
-%post -n libsnapper0
+%post -n libsnapper1
 /sbin/ldconfig
 %{fillup_only -n snapper}
 
-%postun -n libsnapper0
+%postun -n libsnapper1
 /sbin/ldconfig
 
 %package -n libsnapper-devel
-License:GPL
-Requires:   libsnapper0 = %version
+
+Requires:   libsnapper1 = %version
 Requires:   gcc-c++ libstdc++-devel boost-devel blocxx-devel libxml2-devel
 Summary:Header files and documentation for libsnapper
 Group:  Development/Languages/C and C++
@@ -128,5 +130,4 @@
 %{_libdir}/libsnapper.la
 %{_libdir}/libsnapper.so
 %{prefix}/include/snapper
-
 %changelog

++ snapper-0.0.5.tar.bz2 - snapper-0.0.6.tar.bz2 ++
 2381 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.5/LIBVERSION new/snapper-0.0.6/LIBVERSION
--- old/snapper-0.0.5/LIBVERSION1970-01-01 01:00:00.0 +0100
+++ new/snapper-0.0.6/LIBVERSION2011-06-06 15:03:22.0 +0200
@@ -0,0 +1 @@
+1.0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/snapper-0.0.5/Makefile.am new/snapper-0.0.6/Makefile.am
--- old/snapper-0.0.5/Makefile.am   2011-04-07 10:18:43.0 +0200
+++ new/snapper-0.0.6/Makefile.am   2011-06-08 11:28:32.0 +0200
@@ -2,13 +2,13 @@
 # Makefile.am for snapper
 #
 
-SUBDIRS = snapper examples tools scripts data po testsuite-real
+SUBDIRS = snapper examples tools scripts data doc po testsuite-real
 
 AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
 
 doc_DATA = AUTHORS COPYING
 
-EXTRA_DIST = $(doc_DATA) VERSION
+EXTRA_DIST = $(doc_DATA) VERSION LIBVERSION
 
 
 snapper-$(VERSION).tar.bz2: dist-bzip2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 

  1   2   >