Hello community,
here is the log from the commit of package yast2-snapper for openSUSE:Factory
checked in at Thu Mar 24 17:35:57 CET 2011.
--------
--- yast2-snapper/yast2-snapper.changes 2011-03-23 11:49:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-snapper/yast2-snapper.changes 2011-03-24 13:25:29.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Mar 24 13:21:37 CET 2011 - jsuchome@suse.cz
+
+- added agent documentation
+- 2.21.2
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-snapper-2.21.1.tar.bz2
New:
----
yast2-snapper-2.21.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-snapper.spec ++++++
--- /var/tmp/diff_new_pack.1SepSS/_old 2011-03-24 17:35:48.000000000 +0100
+++ /var/tmp/diff_new_pack.1SepSS/_new 2011-03-24 17:35:48.000000000 +0100
@@ -19,12 +19,12 @@
Name: yast2-snapper
-Version: 2.21.1
+Version: 2.21.2
Release: 1
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-snapper-2.21.1.tar.bz2
+Source0: yast2-snapper-2.21.2.tar.bz2
Prefix: /usr
@@ -38,7 +38,7 @@
YaST module for accessing and managing btrfs system snapshots
%prep
-%setup -n yast2-snapper-2.21.1
+%setup -n yast2-snapper-2.21.2
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-snapper-2.21.1.tar.bz2 -> yast2-snapper-2.21.2.tar.bz2 ++++++
++++ 3372 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/yast2-snapper-2.21.1/VERSION new/yast2-snapper-2.21.2/VERSION
--- old/yast2-snapper-2.21.1/VERSION 2011-03-23 11:48:17.000000000 +0100
+++ new/yast2-snapper-2.21.2/VERSION 2011-03-24 13:22:02.000000000 +0100
@@ -1 +1 @@
-2.21.1
+2.21.2
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/yast2-snapper-2.21.1/agent-snapper/doc/Makefile.am new/yast2-snapper-2.21.2/agent-snapper/doc/Makefile.am
--- old/yast2-snapper-2.21.1/agent-snapper/doc/Makefile.am 2011-03-07 08:25:45.000000000 +0100
+++ new/yast2-snapper-2.21.2/agent-snapper/doc/Makefile.am 2011-03-24 10:35:15.000000000 +0100
@@ -1 +1,7 @@
SUBDIRS = autodocs
+
+htmldir = $(docdir)
+
+html_DATA = snapper.html
+EXTRA_DIST = $(html_DATA)
+
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/yast2-snapper-2.21.1/agent-snapper/doc/snapper.html new/yast2-snapper-2.21.2/agent-snapper/doc/snapper.html
--- old/yast2-snapper-2.21.1/agent-snapper/doc/snapper.html 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-snapper-2.21.2/agent-snapper/doc/snapper.html 2011-03-24 13:15:50.000000000 +0100
@@ -0,0 +1,114 @@
+<html>
+<head>
+<title>Snapper agent description</title>
+</head>
+<body>
+<h1>Snapper agent description</h1>
+<hr>
+
+<h2>Purpose</h2>
+The Snapper agent (<tt>ag_snapper</tt>) is used to access API of <tt>libsnapper<tt> library from YaST
+(libsnapper is a library for managing btrfs filesystem snapshots).
+
+It is part of YaST2 SCR, the system configuration repository,
+used to access configuration data on the target system. The general
+SCR API allows <tt>Read()</tt> and <tt>Write()</tt> access to get and
+change data. However, snapper agent currently provides only Read calls.
+
+<p>
+<h2>Implementation</h2>
+It is simple wrapper for libsnapper C++ library. The library initialization routines are used to read list of current snapshots and their data.
+<p>
+Each snapshot is described in YCPMap. Snapshot is identified by number. The map also contains the snapshot type (`SINGLE, `PRE, `POST) and the date of snapshot creation. SINGLE and PRE types of snapshot have the description string. The snapshot of PRE type contains number of relevant POST snapshot and vice versa.
+
+<P>
+<i><b>Note:</b> The complete development documentation is available in the
+<a href="autodocs/index.html"><tt>autodocs/</tt></a> directory.</i>
+
+<P>
+<h2>Interface for snapper-agent</h2>
+The interface is implemented as a SCR agent with the usual <tt>Read()</tt>,
+<tt>Write()</tt> and <tt>Dir()</tt> interface. The path prefix used is
+
+<ul><tt>.snapper</tt></ul>
+
+<P>
+<h2>Complete Read paths table</h2>
+
+<table border=3>
+ <tr>
+ <th width="20%" align="left">Path</th>
+ <th width="10%" align="left">Argument</th>
+ <th width="10%" align="left">Type of Result</th>
+ <th align="left">Result</th>
+ </tr>
+
+ <tr><td><tt>.snapper.snapshots</td><td></td><td align="left">YCPList</td>
+ <td>Return list of current snapshot maps.<br>
+ <b>Example of result</b>:
+ <pre>
+ [
+ $[
+ "date" : 1297364138,
+ "description" : "before yast2-users",
+ "name" : "1",
+ "num" : 1,
+ "post_num" : 2,
+ "type" : `PRE
+ ],
+ $[
+ "date" : 1297364204,
+ "name" : "2",
+ "num" : 2,
+ "pre_num" : 1,
+ "type" : `POST
+ ],
+ $[
+ "date" : 1297758106,
+ "description" : "Tuesday",
+ "name" : "3",
+ "num" : 3,
+ "type" : `SINGLE
+ ]
+ ]
+ </pre>
+ </td>
+ </tr>
+
+ <tr><td><tt>.snapper.diff</td><td>YCPMap</td><td align="left">YCPList</td>
+ <td>Returns the list of files modified between given snapshots.
+ Each file is described by YCPMap which contains file path and type of the change.
+ Argument map contains 2 integers, identifying the snapshots.<br>
+ <b>Example of argument map</b>:
+ <pre>
+ $[
+ "from" : 1,
+ "to" : 2
+ $]
+ </pre>
+ <b>Example of result</b>:
+ <pre>
+ [
+ $[
+ "changes" : "c...",
+ "name" : "/etc/group"
+ ],
+ $[
+ "changes" : "c...",
+ "name" : "/etc/group.YaST2save"
+ ]
+ ]
+ </pre>
+ </td></tr>
+</table>
+
+<P>
+
+<P>
+<address>
+Jiri Suchomel <jsuchome@suse.cz>
+</address>
+
+
+</body>
+</html>
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/yast2-snapper-2.21.1/config.h.in new/yast2-snapper-2.21.2/config.h.in
--- old/yast2-snapper-2.21.1/config.h.in 2011-03-07 10:27:34.000000000 +0100
+++ new/yast2-snapper-2.21.2/config.h.in 2011-03-24 13:23:18.000000000 +0100
@@ -83,3 +83,6 @@
/* Version number of package */
#undef VERSION
+
+/* Define to `unsigned int' if