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 - [email protected] + +- 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 <[email protected]> +</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 <sys/types.h> does not define. */ +#undef size_t 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/configure.in new/yast2-snapper-2.21.2/configure.in --- old/yast2-snapper-2.21.1/configure.in 2011-03-07 10:27:26.000000000 +0100 +++ new/yast2-snapper-2.21.2/configure.in 2011-03-24 13:23:10.000000000 +0100 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-snapper, 2.21.0, http://bugs.opensuse.org/, yast2-snapper) +AC_INIT(yast2-snapper, 2.21.2, http://bugs.opensuse.org/, yast2-snapper) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.21.0" +VERSION="2.21.2" RPMNAME="yast2-snapper" MAINTAINER="Jiri Suchomel <[email protected]>" 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/libtool.m4 new/yast2-snapper-2.21.2/libtool.m4 --- old/yast2-snapper-2.21.1/libtool.m4 2011-03-07 10:27:30.000000000 +0100 +++ new/yast2-snapper-2.21.2/libtool.m4 2011-03-24 13:23:14.000000000 +0100 @@ -1020,7 +1020,7 @@ # to the aix ld manual. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { @@ -4825,9 +4825,18 @@ # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], [ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - ) + ]) LDFLAGS="$save_LDFLAGS" else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 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/ltversion.m4 new/yast2-snapper-2.21.2/ltversion.m4 --- old/yast2-snapper-2.21.1/ltversion.m4 2011-03-07 10:27:30.000000000 +0100 +++ new/yast2-snapper-2.21.2/ltversion.m4 2011-03-24 13:23:15.000000000 +0100 @@ -9,15 +9,15 @@ # Generated from ltversion.in. -# serial 3017 ltversion.m4 +# serial 3018 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) +m4_define([LT_PACKAGE_REVISION], [1.3018]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b' -macro_revision='1.3017' +macro_revision='1.3018' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
