r46870 - in /trunk/librrdtool-oo-perl: Changes META.yml README debian/changelog lib/RRDTool/OO.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat Nov 7 02:35:40 UTC 2009


Author: jawnsy-guest
Date: Sat Nov  7 02:35:33 2009
New Revision: 46870

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46870
Log:
New upstream release

Modified:
    trunk/librrdtool-oo-perl/Changes
    trunk/librrdtool-oo-perl/META.yml
    trunk/librrdtool-oo-perl/README
    trunk/librrdtool-oo-perl/debian/changelog
    trunk/librrdtool-oo-perl/lib/RRDTool/OO.pm

Modified: trunk/librrdtool-oo-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librrdtool-oo-perl/Changes?rev=46870&op=diff
==============================================================================
--- trunk/librrdtool-oo-perl/Changes (original)
+++ trunk/librrdtool-oo-perl/Changes Sat Nov  7 02:35:33 2009
@@ -1,3 +1,7 @@
+0.28 (11/05/2009)
+    (ms) Applied patch by Lyle Brooks, adding optional step, start, and
+         end parameters to "draw".
+
 0.27 (10/11/2009)
     (ms) Slaven Rezic reported huge memory consumption by the test suite,
          turned out to be fetch_start() call spanning several years. 

Modified: trunk/librrdtool-oo-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librrdtool-oo-perl/META.yml?rev=46870&op=diff
==============================================================================
--- trunk/librrdtool-oo-perl/META.yml (original)
+++ trunk/librrdtool-oo-perl/META.yml Sat Nov  7 02:35:33 2009
@@ -1,23 +1,12 @@
---- #YAML:1.0
-name:               RRDTool-OO
-version:            0.27
-abstract:           Object-oriented interface to RRDTool
-author:
-    - Mike Schilli <m at perlmeister.com>
-license:            unknown
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
-build_requires:
-    ExtUtils::MakeMaker:  0
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         RRDTool-OO
+version:      0.28
+version_from: lib/RRDTool/OO.pm
+installdirs:  site
 requires:
-    Log::Log4perl:  0.40
-    RRDs:           0
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.50
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+    Log::Log4perl:                 0.40
+    RRDs:                          0
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: trunk/librrdtool-oo-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librrdtool-oo-perl/README?rev=46870&op=diff
==============================================================================
--- trunk/librrdtool-oo-perl/README (original)
+++ trunk/librrdtool-oo-perl/README Sat Nov  7 02:35:33 2009
@@ -1,5 +1,5 @@
 ######################################################################
-    RRDTool::OO 0.27
+    RRDTool::OO 0.28
 ######################################################################
 
 NAME
@@ -919,7 +919,7 @@
     Mike Schilli, <m at perlmeister.com>
 
 COPYRIGHT AND LICENSE
-    Copyright (C) 2004-2008 by Mike Schilli
+    Copyright (C) 2004-2009 by Mike Schilli
 
     This library is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself, either Perl version 5.8.3 or, at

Modified: trunk/librrdtool-oo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librrdtool-oo-perl/debian/changelog?rev=46870&op=diff
==============================================================================
--- trunk/librrdtool-oo-perl/debian/changelog (original)
+++ trunk/librrdtool-oo-perl/debian/changelog Sat Nov  7 02:35:33 2009
@@ -1,3 +1,9 @@
+librrdtool-oo-perl (0.28-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Fri, 06 Nov 2009 18:07:59 -0500
+
 librrdtool-oo-perl (0.27-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/librrdtool-oo-perl/lib/RRDTool/OO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librrdtool-oo-perl/lib/RRDTool/OO.pm?rev=46870&op=diff
==============================================================================
--- trunk/librrdtool-oo-perl/lib/RRDTool/OO.pm (original)
+++ trunk/librrdtool-oo-perl/lib/RRDTool/OO.pm Sat Nov  7 02:35:33 2009
@@ -7,7 +7,7 @@
 use RRDs;
 use Log::Log4perl qw(:easy);
 
-our $VERSION = '0.27';
+our $VERSION = '0.28';
 
    # Define the mandatory and optional parameters for every method.
 our $OPTIONS = {
@@ -56,7 +56,7 @@
                       mandatory => [qw()],
                       optional  => [qw(file dsname cfunc thickness 
                                        type color legend name cdef vdef
-                                       stack
+                                       stack step start end
                                       )],
                     },
                     color     => {
@@ -1041,10 +1041,10 @@
                                      $options_hash->{cfunc};
 
             # Create the draw strings
-            #DEF:myload=$DB:load:MAX
-            push @$options, "DEF:$p->{name}=$p->{file}:" .
-                           "$p->{dsname}:" .
-                           "$p->{cfunc}";
+            # DEF:vname=rrdfile:ds-name:CF[:step=step][:start=time][:end=time]
+            my $def = "DEF:$p->{name}=$p->{file}:$p->{dsname}:$p->{cfunc}";
+            map { $def .= ":$_=$p->{$_}" } grep { defined $p->{$_} } qw(step start end);
+            push @$options, $def;
         }
 
             #LINE2:myload#FF0000
@@ -2146,7 +2146,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2004-2008 by Mike Schilli
+Copyright (C) 2004-2009 by Mike Schilli
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.8.3 or,




More information about the Pkg-perl-cvs-commits mailing list