openSUSE Commits
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2014
- 1 participants
- 1675 discussions
Hello community,
here is the log from the commit of package freeglut for openSUSE:Factory checked in at 2014-09-20 07:26:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freeglut (Old)
and /work/SRC/openSUSE:Factory/.freeglut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeglut"
Changes:
--------
--- /work/SRC/openSUSE:Factory/freeglut/freeglut.changes 2013-04-07 14:21:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.freeglut.new/freeglut.changes 2014-09-20 07:26:39.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 15 17:13:24 UTC 2014 - crrodriguez(a)opensuse.org
+
+- Cleanup buildrequires to include only what is actually
+ used.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ freeglut.spec ++++++
--- /var/tmp/diff_new_pack.qTF3Gs/_old 2014-09-20 07:26:40.000000000 +0200
+++ /var/tmp/diff_new_pack.qTF3Gs/_new 2014-09-20 07:26:40.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package freeglut
#
-# 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
@@ -27,15 +27,16 @@
Url: http://freeglut.sourceforge.net/
Source: https://downloads.sourceforge.net/project/freeglut/%{name}/%{version}/%{nam…
Source1: glutman.tar.bz2
-BuildRequires: Mesa-devel
+Source2: baselibs.conf
BuildRequires: gcc-c++
-BuildRequires: libdrm-devel
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: xorg-x11-devel
-%if 0%{?suse_version} >= 1220
+BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
-%endif
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(xxf86vm)
Recommends: Mesa-demo-x
Provides: mesaglut = 7.11
Obsoletes: mesaglut < 7.11
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Devel-StackTrace for openSUSE:Factory checked in at 2014-09-19 22:27:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-StackTrace (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-StackTrace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-StackTrace"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Devel-StackTrace/perl-Devel-StackTrace.changes 2014-02-24 14:12:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Devel-StackTrace.new/perl-Devel-StackTrace.changes 2014-09-19 22:27:48.000000000 +0200
@@ -1,0 +2,19 @@
+Fri Sep 19 12:15:46 UTC 2014 - coolo(a)suse.com
+
+- updated to 1.34
+ - Fixed use of // operator (my use, not Graham's) in previous release.
+
+
+ 1.33 2014-06-26
+
+ - Added a skip_frames option. This causes the stack trace to skip an arbitrary
+ number of frames. Patch by Graham Knopp. PR #5.
+
+
+ 1.32 2014-05-05
+
+ - Added a filter_frames_early option to filter frames before arguments are
+ stringified. Added by Dagfinn Ilmari Mannsåker. PR #4.
+
+
+-------------------------------------------------------------------
Old:
----
Devel-StackTrace-1.31.tar.gz
New:
----
Devel-StackTrace-1.34.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-StackTrace.spec ++++++
--- /var/tmp/diff_new_pack.sRI2NG/_old 2014-09-19 22:27:49.000000000 +0200
+++ /var/tmp/diff_new_pack.sRI2NG/_new 2014-09-19 22:27:49.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Devel-StackTrace
-Version: 1.31
+Version: 1.34
Release: 0
%define cpan_name Devel-StackTrace
Summary: An object representing a stack trace
++++++ Devel-StackTrace-1.31.tar.gz -> Devel-StackTrace-1.34.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/Changes new/Devel-StackTrace-1.34/Changes
--- old/Devel-StackTrace-1.31/Changes 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/Changes 2014-06-26 23:49:42.000000000 +0200
@@ -1,3 +1,20 @@
+1.34 2014-06-26
+
+- Fixed use of // operator (my use, not Graham's) in previous release.
+
+
+1.33 2014-06-26
+
+- Added a skip_frames option. This causes the stack trace to skip an arbitrary
+ number of frames. Patch by Graham Knopp. PR #5.
+
+
+1.32 2014-05-05
+
+- Added a filter_frames_early option to filter frames before arguments are
+ stringified. Added by Dagfinn Ilmari Mannsåker. PR #4.
+
+
1.31 2014-01-16
- No code changes, just doc updates, including documenting the as_string()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/MANIFEST new/Devel-StackTrace-1.34/MANIFEST
--- old/Devel-StackTrace-1.31/MANIFEST 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/MANIFEST 2014-06-26 23:49:42.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
Changes
INSTALL
LICENSE
@@ -18,6 +18,8 @@
t/05-back-compat.t
t/06-dollar-at.t
t/07-no-args.t
+t/08-filter-early.t
+t/09-skip-frames.t
t/author-pod-spell.t
t/release-cpan-changes.t
t/release-eol.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/META.json new/Devel-StackTrace-1.34/META.json
--- old/Devel-StackTrace-1.31/META.json 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/META.json 2014-06-26 23:49:42.000000000 +0200
@@ -4,7 +4,7 @@
"Dave Rolsky <autarch(a)urth.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.120921",
"license" : [
"artistic_2"
],
@@ -22,6 +22,8 @@
"develop" : {
"requires" : {
"Pod::Coverage::TrustPod" : "0",
+ "Test::More" : "0",
+ "Test::NoTabs" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08"
}
@@ -60,10 +62,12 @@
"web" : "http://git.urth.org/Devel-StackTrace.git"
}
},
- "version" : "1.31",
+ "version" : "1.34",
"x_authority" : "cpan:DROLSKY",
"x_contributors" : [
+ "Dagfinn Ilmari Mannsåker <ilmari(a)ilmari.org>",
"David Cantrell <david(a)cantrell.org.uk>",
+ "Graham Knop <haarg(a)haarg.org>",
"Ricardo Signes <rjbs(a)cpan.org>",
"autarch <devnull@localhost>",
"convert-repo <devnull@localhost>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/META.yml new/Devel-StackTrace-1.34/META.yml
--- old/Devel-StackTrace-1.31/META.yml 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/META.yml 2014-06-26 23:49:42.000000000 +0200
@@ -12,7 +12,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.120921'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,10 +29,12 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-StackTrace
homepage: http://metacpan.org/release/Devel-StackTrace
repository: git://git.urth.org/Devel-StackTrace.git
-version: 1.31
+version: 1.34
x_authority: cpan:DROLSKY
x_contributors:
+ - 'Dagfinn Ilmari Mannsåker <ilmari(a)ilmari.org>'
- 'David Cantrell <david(a)cantrell.org.uk>'
+ - 'Graham Knop <haarg(a)haarg.org>'
- 'Ricardo Signes <rjbs(a)cpan.org>'
- 'autarch <devnull@localhost>'
- 'convert-repo <devnull@localhost>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/Makefile.PL new/Devel-StackTrace-1.34/Makefile.PL
--- old/Devel-StackTrace-1.31/Makefile.PL 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/Makefile.PL 2014-06-26 23:49:42.000000000 +0200
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -12,7 +12,6 @@
my %WriteMakefileArgs = (
"ABSTRACT" => "An object representing a stack trace",
"AUTHOR" => "Dave Rolsky <autarch\(a)urth.org>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -35,7 +34,7 @@
"base" => 0,
"bytes" => 0
},
- "VERSION" => "1.31",
+ "VERSION" => "1.34",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/README new/Devel-StackTrace-1.34/README
--- old/Devel-StackTrace-1.31/README 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/README 2014-06-26 23:49:42.000000000 +0200
@@ -2,7 +2,7 @@
Devel::StackTrace - An object representing a stack trace
VERSION
- version 1.31
+ version 1.34
SYNOPSIS
use Devel::StackTrace;
@@ -76,6 +76,16 @@
The filter should return true if the frame should be included, or
false if it should be skipped.
+ * filter_frames_early => $boolean
+
+ If this parameter is true, "frame_filter" will be called as soon as
+ the stacktrace is created, and before refs are stringified (if
+ "no_refs" is true), rather than being filtered lazily when
+ Devel::StackTrace::Frame objects are first needed.
+
+ This is useful if you want to filter based on the frame's arguments
+ and want to be able to examine object properties, for example.
+
* ignore_package => $package_name OR \@package_names
Any frames where the package is one of these packages will not be on
@@ -91,6 +101,13 @@
ignored. However, if you create a subclass of Devel::StackTrace it
will not be ignored.
+ * skip_frames => $integer
+
+ This will cause this number of stack frames to be excluded from top
+ of the stack trace. This prevents the frames from being captured at
+ all, and applies before the "frame_filter", "ignore_package", or
+ "ignore_class" options, even with "filter_frames_early".
+
* no_refs => $boolean
If this parameter is true, then Devel::StackTrace will not store
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/dist.ini new/Devel-StackTrace-1.34/dist.ini
--- old/Devel-StackTrace-1.31/dist.ini 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/dist.ini 2014-06-26 23:49:42.000000000 +0200
@@ -3,7 +3,7 @@
license = Artistic_2_0
copyright_holder = Dave Rolsky
-version = 1.31
+version = 1.34
[@DROLSKY]
dist = Devel-StackTrace
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/lib/Devel/StackTrace/Frame.pm new/Devel-StackTrace-1.34/lib/Devel/StackTrace/Frame.pm
--- old/Devel-StackTrace-1.31/lib/Devel/StackTrace/Frame.pm 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/lib/Devel/StackTrace/Frame.pm 2014-06-26 23:49:42.000000000 +0200
@@ -1,9 +1,5 @@
package Devel::StackTrace::Frame;
-$Devel::StackTrace::Frame::VERSION = '1.31';
-BEGIN {
- $Devel::StackTrace::Frame::AUTHORITY = 'cpan:DROLSKY';
-}
-
+$Devel::StackTrace::Frame::VERSION = '1.34';
use strict;
use warnings;
@@ -159,7 +155,7 @@
=head1 VERSION
-version 1.31
+version 1.34
=head1 DESCRIPTION
@@ -194,8 +190,8 @@
=head2 $frame->args()
-Returns the arguments passed to the frame. Note that any arguments
-that are references are returned as references, not copies.
+Returns the arguments passed to the frame. Note that any arguments that are
+references are returned as references, not copies.
=head2 $frame->hints()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/lib/Devel/StackTrace.pm new/Devel-StackTrace-1.34/lib/Devel/StackTrace.pm
--- old/Devel-StackTrace-1.31/lib/Devel/StackTrace.pm 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/lib/Devel/StackTrace.pm 2014-06-26 23:49:42.000000000 +0200
@@ -1,9 +1,5 @@
package Devel::StackTrace;
-$Devel::StackTrace::VERSION = '1.31';
-BEGIN {
- $Devel::StackTrace::AUTHORITY = 'cpan:DROLSKY';
-}
-
+$Devel::StackTrace::VERSION = '1.34';
use 5.006;
use strict;
@@ -41,8 +37,11 @@
sub _record_caller_data {
my $self = shift;
- # We exclude this method by starting one frame back.
- my $x = 1;
+ my $filter = $self->{filter_frames_early} && $self->_make_frame_filter();
+
+ # We exclude this method by starting at least one frame back.
+ my $x = 1 + ( $self->{skip_frames} || 0 );
+
while (
my @c
= $self->{no_args}
@@ -57,19 +56,20 @@
my @args;
- unless ( $self->{no_args} ) {
- @args = @DB::args;
+ @args = $self->{no_args} ? () : @DB::args;
+
+ my $raw = {
+ caller => \@c,
+ args => \@args,
+ };
+
+ next if $filter && !$filter->($raw);
- if ( $self->{no_refs} ) {
- @args = map { ref $_ ? $self->_ref_to_string($_) : $_ } @args;
- }
+ if ( $self->{no_refs} ) {
+ $raw->{args} = [ map { ref $_ ? $self->_ref_to_string($_) : $_ } @{$raw->{args}} ];
}
- push @{ $self->{raw} },
- {
- caller => \@c,
- args => \@args,
- };
+ push @{ $self->{raw} }, $raw;
}
}
@@ -93,11 +93,11 @@
sub _make_frames {
my $self = shift;
- my $filter = $self->_make_frame_filter;
+ my $filter = !$self->{filter_frames_early} && $self->_make_frame_filter();
my $raw = delete $self->{raw};
for my $r ( @{$raw} ) {
- next unless $filter->($r);
+ next if $filter && ! $filter->($r);
$self->_add_frame( $r->{caller}, $r->{args} );
}
@@ -268,7 +268,7 @@
=head1 VERSION
-version 1.31
+version 1.34
=head1 SYNOPSIS
@@ -349,6 +349,16 @@
The filter should return true if the frame should be included, or
false if it should be skipped.
+=item * filter_frames_early => $boolean
+
+If this parameter is true, C<frame_filter> will be called as soon as the
+stacktrace is created, and before refs are stringified (if C<no_refs> is
+true), rather than being filtered lazily when L<Devel::StackTrace::Frame>
+objects are first needed.
+
+This is useful if you want to filter based on the frame's arguments and want
+to be able to examine object properties, for example.
+
=item * ignore_package => $package_name OR \@package_names
Any frames where the package is one of these packages will not be on
@@ -364,6 +374,13 @@
ignored. However, if you create a subclass of Devel::StackTrace it
will not be ignored.
+=item * skip_frames => $integer
+
+This will cause this number of stack frames to be excluded from top of the
+stack trace. This prevents the frames from being captured at all, and applies
+before the C<frame_filter>, C<ignore_package>, or C<ignore_class> options,
+even with C<filter_frames_early>.
+
=item * no_refs => $boolean
If this parameter is true, then Devel::StackTrace will not store
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/t/08-filter-early.t new/Devel-StackTrace-1.34/t/08-filter-early.t
--- old/Devel-StackTrace-1.31/t/08-filter-early.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Devel-StackTrace-1.34/t/08-filter-early.t 2014-06-26 23:49:42.000000000 +0200
@@ -0,0 +1,31 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+use Devel::StackTrace;
+
+{
+ my $trace = foo( [] );
+ is(
+ 0 + grep( ref, map { $_->args } $trace->frames ), 0,
+ 'args stringified in trace'
+ );
+}
+
+done_testing();
+
+sub foo {
+ return Devel::StackTrace->new(
+ frame_filter => sub {
+ my $frame = shift;
+ if ( $frame->{caller}[3] eq "main::foo" ) {
+ ok( ref $frame->{args}[0], 'ref arg passed to filter' );
+ }
+ 1;
+ },
+ filter_frames_early => 1,
+ no_refs => 1,
+ );
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/t/09-skip-frames.t new/Devel-StackTrace-1.34/t/09-skip-frames.t
--- old/Devel-StackTrace-1.31/t/09-skip-frames.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Devel-StackTrace-1.34/t/09-skip-frames.t 2014-06-26 23:49:42.000000000 +0200
@@ -0,0 +1,41 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+use Devel::StackTrace;
+
+{
+ my $trace = baz();
+ my @f;
+ while ( my $f = $trace->next_frame ) { push @f, $f; }
+
+ my $cnt = scalar @f;
+ is(
+ $cnt, 2,
+ "Trace should have 2 frames"
+ );
+
+ is(
+ $f[0]->subroutine, 'main::bar',
+ "First frame subroutine should be main::bar"
+ );
+ is(
+ $f[1]->subroutine, 'main::baz',
+ "First frame subroutine should be main::baz"
+ );
+}
+
+done_testing();
+
+sub foo {
+ return Devel::StackTrace->new( skip_frames => 2 );
+}
+
+sub bar {
+ foo();
+}
+
+sub baz {
+ bar();
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/t/release-no-tabs.t new/Devel-StackTrace-1.34/t/release-no-tabs.t
--- old/Devel-StackTrace-1.31/t/release-no-tabs.t 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/t/release-no-tabs.t 2014-06-26 23:49:42.000000000 +0200
@@ -8,9 +8,35 @@
use strict;
use warnings;
-use Test::More;
-eval 'use Test::NoTabs';
-plan skip_all => 'Test::NoTabs required' if $@;
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.07
-all_perl_files_ok();
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+ 'lib/Devel/StackTrace.pm',
+ 'lib/Devel/StackTrace/Frame.pm',
+ 't/00-compile.t',
+ 't/01-basic.t',
+ 't/02-bad-utf8.t',
+ 't/03-message.t',
+ 't/04-indent.t',
+ 't/05-back-compat.t',
+ 't/06-dollar-at.t',
+ 't/07-no-args.t',
+ 't/08-filter-early.t',
+ 't/09-skip-frames.t',
+ 't/author-pod-spell.t',
+ 't/release-cpan-changes.t',
+ 't/release-eol.t',
+ 't/release-no-tabs.t',
+ 't/release-pod-coverage.t',
+ 't/release-pod-linkcheck.t',
+ 't/release-pod-no404s.t',
+ 't/release-pod-syntax.t',
+ 't/release-synopsis.t'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/t/release-pod-coverage.t new/Devel-StackTrace-1.34/t/release-pod-coverage.t
--- old/Devel-StackTrace-1.31/t/release-pod-coverage.t 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/t/release-pod-coverage.t 2014-06-26 23:49:42.000000000 +0200
@@ -9,14 +9,7 @@
# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-StackTrace-1.31/t/release-pod-syntax.t new/Devel-StackTrace-1.34/t/release-pod-syntax.t
--- old/Devel-StackTrace-1.31/t/release-pod-syntax.t 2014-01-16 23:35:53.000000000 +0100
+++ new/Devel-StackTrace-1.34/t/release-pod-syntax.t 2014-06-26 23:49:42.000000000 +0200
@@ -9,8 +9,6 @@
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Sub-Install for openSUSE:Factory checked in at 2014-09-19 22:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sub-Install (Old)
and /work/SRC/openSUSE:Factory/.perl-Sub-Install.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sub-Install"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sub-Install/perl-Sub-Install.changes 2013-11-26 19:32:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Sub-Install.new/perl-Sub-Install.changes 2014-09-19 22:27:46.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Sep 19 12:15:47 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.928
+ - cope with subroutines with spaces in their names when catching
+ warnings
+ - don't assume that the source sub isn't blessed in tests (!)
+
+-------------------------------------------------------------------
Old:
----
Sub-Install-0.927.tar.gz
New:
----
Sub-Install-0.928.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Sub-Install.spec ++++++
--- /var/tmp/diff_new_pack.1SAFrP/_old 2014-09-19 22:27:48.000000000 +0200
+++ /var/tmp/diff_new_pack.1SAFrP/_new 2014-09-19 22:27:48.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Sub-Install
#
-# 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,7 +17,7 @@
Name: perl-Sub-Install
-Version: 0.927
+Version: 0.928
Release: 0
%define cpan_name Sub-Install
Summary: Install subroutines into packages easily
@@ -30,7 +30,6 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.96
-#BuildRequires: perl(Sub::Install)
%{perl_requires}
%description
++++++ Sub-Install-0.927.tar.gz -> Sub-Install-0.928.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/Changes new/Sub-Install-0.928/Changes
--- old/Sub-Install-0.927/Changes 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/Changes 2014-06-27 00:57:41.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for Sub-Install
+0.928 2014-06-26 18:57:27-04:00 America/New_York
+ - cope with subroutines with spaces in their names when catching
+ warnings
+ - don't assume that the source sub isn't blessed in tests (!)
+
0.927 2013-10-15 22:46:38 America/New_York
rebuild using Dist::Zilla, update links to repo, metadata, etc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/LICENSE new/Sub-Install-0.928/LICENSE
--- old/Sub-Install-0.927/LICENSE 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/LICENSE 2014-06-27 00:57:41.000000000 +0200
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/MANIFEST new/Sub-Install-0.928/MANIFEST
--- old/Sub-Install-0.927/MANIFEST 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/MANIFEST 2014-06-27 00:57:41.000000000 +0200
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
Changes
LICENSE
MANIFEST
@@ -7,7 +8,6 @@
README
dist.ini
lib/Sub/Install.pm
-t/00-compile.t
t/000-report-versions-tiny.t
t/SI_install.t
t/SI_reinstall.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/META.json new/Sub-Install-0.928/META.json
--- old/Sub-Install-0.927/META.json 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/META.json 2014-06-27 00:57:41.000000000 +0200
@@ -4,7 +4,7 @@
"Ricardo SIGNES <rjbs(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
"license" : [
"perl_5"
],
@@ -36,9 +36,6 @@
},
"test" : {
"requires" : {
- "File::Spec" : "0",
- "IO::Handle" : "0",
- "IPC::Open3" : "0",
"Test::More" : "0.96"
}
}
@@ -55,126 +52,169 @@
"web" : "https://github.com/rjbs/Sub-Install"
}
},
- "version" : "0.927",
+ "version" : "0.928",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.019004"
+ "version" : "5.021001"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::GatherDir" : {
+ "include_untracked" : "0"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.009"
+ "version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.011"
+ "version" : "0.021"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : 0,
+ "check_all_prereqs" : 0,
+ "modules" : [
+ "Dist::Zilla::PluginBundle::RJBS"
+ ],
+ "phase" : "build",
+ "skip" : []
+ }
+ },
"name" : "@RJBS/RJBS-Outdated",
- "version" : "0.008"
+ "version" : "0.023"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : "1",
+ "check_all_prereqs" : 0,
+ "modules" : [],
+ "phase" : "release",
+ "skip" : []
+ }
+ },
"name" : "@RJBS/CPAN-Outdated",
- "version" : "0.008"
+ "version" : "0.023"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "4.300039"
- },
- {
- "class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@RJBS/@Filter/MakeMaker",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "4.300039"
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 9
+ }
+ },
+ "name" : "@RJBS/MakeMaker",
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : "0",
+ "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -184,7 +224,7 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -192,22 +232,6 @@
"version" : "1.10"
},
{
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "config" : {
- "Dist::Zilla::Plugin::Test::Compile" : {
- "filename" : "t/00-compile.t",
- "module_finder" : [
- ":InstallModules"
- ],
- "script_finder" : [
- ":ExecFiles"
- ]
- }
- },
- "name" : "@RJBS/Test::Compile",
- "version" : "2.036"
- },
- {
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
@@ -216,76 +240,239 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
"config" : {
"Dist::Zilla::Plugin::PodWeaver" : {
- "config_plugin" : "@RJBS",
+ "config_plugins" : [
+ "@RJBS"
+ ],
"finder" : [
":InstallModules",
":ExecFiles"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@RJBS/SingleEncoding",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@RJBS/Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@RJBS/Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/Prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Synopsis",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Description",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Overview",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Stability",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Attributes",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Methods",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Functions",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@RJBS/Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@RJBS/Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@RJBS/Legal",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::Transformer",
+ "name" : "@RJBS/List",
+ "version" : "4.006"
+ }
]
}
},
"name" : "@RJBS/PodWeaver",
- "version" : "3.102000"
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.42"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Check",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "v%v%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Commit",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "0.928",
+ "tag_format" : "%v",
+ "tag_message" : "v%v",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Tag",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "origin :",
+ "github :"
+ ],
+ "remotes_must_exist" : 0
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Push",
- "version" : "2.014"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300039"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300039"
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.019"
}
],
"zilla" : {
@@ -293,7 +480,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300039"
+ "version" : "5.019"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/META.yml new/Sub-Install-0.928/META.yml
--- old/Sub-Install-0.927/META.yml 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/META.yml 2014-06-27 00:57:41.000000000 +0200
@@ -3,149 +3,165 @@
author:
- 'Ricardo SIGNES <rjbs(a)cpan.org>'
build_requires:
- File::Spec: 0
- IO::Handle: 0
- IPC::Open3: 0
- Test::More: 0.96
+ Test::More: '0.96'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Sub-Install
requires:
- B: 0
- Carp: 0
- Scalar::Util: 0
- strict: 0
- warnings: 0
+ B: '0'
+ Carp: '0'
+ Scalar::Util: '0'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: https://github.com/rjbs/Sub-Install/issues
homepage: https://github.com/rjbs/Sub-Install
repository: https://github.com/rjbs/Sub-Install.git
-version: 0.927
+version: '0.928'
x_Dist_Zilla:
perl:
- version: 5.019004
+ version: '5.021001'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
+ config:
+ Dist::Zilla::Plugin::Git::GatherDir:
+ include_untracked: '0'
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/Git::GatherDir'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.009
+ version: '0.012'
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: 0.011
+ version: '0.021'
-
class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: 0
+ check_all_prereqs: 0
+ modules:
+ - Dist::Zilla::PluginBundle::RJBS
+ phase: build
+ skip: []
name: '@RJBS/RJBS-Outdated'
- version: 0.008
+ version: '0.023'
-
class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: '1'
+ check_all_prereqs: 0
+ modules: []
+ phase: release
+ skip: []
name: '@RJBS/CPAN-Outdated'
- version: 0.008
+ version: '0.023'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 4.300039
- -
- class: Dist::Zilla::Plugin::MakeMaker
- name: '@RJBS/@Filter/MakeMaker'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 4.300039
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 9
+ name: '@RJBS/MakeMaker'
+ version: '5.019'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: '0'
+ version_regexp: (?^:^([0-9]+\.[0-9]+)$)
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/Git::NextVersion'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
- version: 0.006
+ version: '0.006'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.10
- -
- class: Dist::Zilla::Plugin::Test::Compile
- config:
- Dist::Zilla::Plugin::Test::Compile:
- filename: t/00-compile.t
- module_finder:
- - ':InstallModules'
- script_finder:
- - ':ExecFiles'
- name: '@RJBS/Test::Compile'
- version: 2.036
+ version: '1.10'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -153,63 +169,187 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
Dist::Zilla::Plugin::PodWeaver:
- config_plugin: '@RJBS'
+ config_plugins:
+ - '@RJBS'
finder:
- ':InstallModules'
- ':ExecFiles'
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@RJBS/SingleEncoding'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@RJBS/Name'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@RJBS/Version'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/Prelude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Synopsis'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Description'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Overview'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Stability'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Attributes
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Methods
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Functions
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@RJBS/Leftovers'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/postlude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@RJBS/Authors'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@RJBS/Legal'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::Transformer
+ name: '@RJBS/List'
+ version: '4.006'
name: '@RJBS/PodWeaver'
- version: 3.102000
+ version: '4.005'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.42
+ version: '0.46'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Check'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: v%v%n%n%c
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Commit'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: '0.928'
+ tag_format: '%v'
+ tag_message: v%v
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Tag'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - 'origin :'
+ - 'github :'
+ remotes_must_exist: 0
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Push'
- version: 2.014
+ version: '2.023'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300039
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300039
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.019'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300039
+ is_trial: '0'
+ version: '5.019'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/Makefile.PL new/Sub-Install-0.928/Makefile.PL
--- old/Sub-Install-0.927/Makefile.PL 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/Makefile.PL 2014-06-27 00:57:41.000000000 +0200
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -11,7 +12,6 @@
my %WriteMakefileArgs = (
"ABSTRACT" => "install subroutines into packages easily",
"AUTHOR" => "Ricardo SIGNES <rjbs\(a)cpan.org>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -27,42 +27,29 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
- "File::Spec" => 0,
- "IO::Handle" => 0,
- "IPC::Open3" => 0,
"Test::More" => "0.96"
},
- "VERSION" => "0.927",
+ "VERSION" => "0.928",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "B" => 0,
+ "Carp" => 0,
+ "Scalar::Util" => 0,
+ "Test::More" => "0.96",
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/README new/Sub-Install-0.928/README
--- old/Sub-Install-0.927/README 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/README 2014-06-27 00:57:41.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Sub-Install,
-version 0.927:
+version 0.928:
install subroutines into packages easily
@@ -11,3 +11,5 @@
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.019.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/lib/Sub/Install.pm new/Sub-Install-0.928/lib/Sub/Install.pm
--- old/Sub-Install-0.927/lib/Sub/Install.pm 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/lib/Sub/Install.pm 2014-06-27 00:57:41.000000000 +0200
@@ -1,14 +1,75 @@
use strict;
use warnings;
package Sub::Install;
-{
- $Sub::Install::VERSION = '0.927';
-}
# ABSTRACT: install subroutines into packages easily
-
+$Sub::Install::VERSION = '0.928';
use Carp;
use Scalar::Util ();
+#pod =head1 SYNOPSIS
+#pod
+#pod use Sub::Install;
+#pod
+#pod Sub::Install::install_sub({
+#pod code => sub { ... },
+#pod into => $package,
+#pod as => $subname
+#pod });
+#pod
+#pod =head1 DESCRIPTION
+#pod
+#pod This module makes it easy to install subroutines into packages without the
+#pod unsightly mess of C<no strict> or typeglobs lying about where just anyone can
+#pod see them.
+#pod
+#pod =func install_sub
+#pod
+#pod Sub::Install::install_sub({
+#pod code => \&subroutine,
+#pod into => "Finance::Shady",
+#pod as => 'launder',
+#pod });
+#pod
+#pod This routine installs a given code reference into a package as a normal
+#pod subroutine. The above is equivalent to:
+#pod
+#pod no strict 'refs';
+#pod *{"Finance::Shady" . '::' . "launder"} = \&subroutine;
+#pod
+#pod If C<into> is not given, the sub is installed into the calling package.
+#pod
+#pod If C<code> is not a code reference, it is looked for as an existing sub in the
+#pod package named in the C<from> parameter. If C<from> is not given, it will look
+#pod in the calling package.
+#pod
+#pod If C<as> is not given, and if C<code> is a name, C<as> will default to C<code>.
+#pod If C<as> is not given, but if C<code> is a code ref, Sub::Install will try to
+#pod find the name of the given code ref and use that as C<as>.
+#pod
+#pod That means that this code:
+#pod
+#pod Sub::Install::install_sub({
+#pod code => 'twitch',
+#pod from => 'Person::InPain',
+#pod into => 'Person::Teenager',
+#pod as => 'dance',
+#pod });
+#pod
+#pod is the same as:
+#pod
+#pod package Person::Teenager;
+#pod
+#pod Sub::Install::install_sub({
+#pod code => Person::InPain->can('twitch'),
+#pod as => 'dance',
+#pod });
+#pod
+#pod =func reinstall_sub
+#pod
+#pod This routine behaves exactly like C<L</install_sub>>, but does not emit a
+#pod warning if warnings are on and the destination is already defined.
+#pod
+#pod =cut
sub _name_of_code {
my ($code) = @_;
@@ -64,9 +125,9 @@
BEGIN {
$_misc_warn_re = qr/
Prototype\ mismatch:\ sub\ .+? |
- Constant subroutine \S+ redefined
+ Constant subroutine .+? redefined
/x;
- $_redef_warn_re = qr/Subroutine\ \S+\ redefined/x;
+ $_redef_warn_re = qr/Subroutine\ .+?\ redefined/x;
}
my $eow_re;
@@ -132,6 +193,28 @@
});
}
+#pod =func install_installers
+#pod
+#pod This routine is provided to allow Sub::Install compatibility with
+#pod Sub::Installer. It installs C<install_sub> and C<reinstall_sub> methods into
+#pod the package named by its argument.
+#pod
+#pod Sub::Install::install_installers('Code::Builder'); # just for us, please
+#pod Code::Builder->install_sub({ name => $code_ref });
+#pod
+#pod Sub::Install::install_installers('UNIVERSAL'); # feeling lucky, punk?
+#pod Anything::At::All->install_sub({ name => $code_ref });
+#pod
+#pod The installed installers are similar, but not identical, to those provided by
+#pod Sub::Installer. They accept a single hash as an argument. The key/value pairs
+#pod are used as the C<as> and C<code> parameters to the C<install_sub> routine
+#pod detailed above. The package name on which the method is called is used as the
+#pod C<into> parameter.
+#pod
+#pod Unlike Sub::Installer's C<install_sub> will not eval strings into code, but
+#pod will look for named code in the calling package.
+#pod
+#pod =cut
sub install_installers {
my ($into) = @_;
@@ -155,6 +238,22 @@
}
}
+#pod =head1 EXPORTS
+#pod
+#pod Sub::Install exports C<install_sub> and C<reinstall_sub> only if they are
+#pod requested.
+#pod
+#pod =head2 exporter
+#pod
+#pod Sub::Install has a never-exported subroutine called C<exporter>, which is used
+#pod to implement its C<import> routine. It takes a hashref of named arguments,
+#pod only one of which is currently recognize: C<exports>. This must be an arrayref
+#pod of subroutines to offer for export.
+#pod
+#pod This routine is mainly for Sub::Install's own consumption. Instead, consider
+#pod L<Sub::Exporter>.
+#pod
+#pod =cut
sub exporter {
my ($arg) = @_;
@@ -173,6 +272,30 @@
BEGIN { *import = exporter({ exports => [ qw(install_sub reinstall_sub) ] }); }
+#pod =head1 SEE ALSO
+#pod
+#pod =over
+#pod
+#pod =item L<Sub::Installer>
+#pod
+#pod This module is (obviously) a reaction to Damian Conway's Sub::Installer, which
+#pod does the same thing, but does it by getting its greasy fingers all over
+#pod UNIVERSAL. I was really happy about the idea of making the installation of
+#pod coderefs less ugly, but I couldn't bring myself to replace the ugliness of
+#pod typeglobs and loosened strictures with the ugliness of UNIVERSAL methods.
+#pod
+#pod =item L<Sub::Exporter>
+#pod
+#pod This is a complete Exporter.pm replacement, built atop Sub::Install.
+#pod
+#pod =back
+#pod
+#pod =head1 EXTRA CREDITS
+#pod
+#pod Several of the tests are adapted from tests that shipped with Damian Conway's
+#pod Sub-Installer distribution.
+#pod
+#pod =cut
1;
@@ -180,13 +303,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Sub::Install - install subroutines into packages easily
=head1 VERSION
-version 0.927
+version 0.928
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/00-compile.t new/Sub-Install-0.928/t/00-compile.t
--- old/Sub-Install-0.927/t/00-compile.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.036
-
-use Test::More 0.94 tests => 1;
-
-
-
-my @module_files = (
- 'Sub/Install.pm'
-);
-
-
-
-# no fake home requested
-
-my $inc_switch = q[-Mblib];
-
-use File::Spec;
-use IPC::Open3;
-use IO::Handle;
-
-my @warnings;
-for my $lib (@module_files)
-{
- # see L<perlfaq8/How can I capture STDERR from an external command?>
- open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
- my $stderr = IO::Handle->new;
-
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
- binmode $stderr, ':crlf' if $^O eq 'MSWin32';
- my @_warnings = <$stderr>;
- waitpid($pid, 0);
- is($?, 0, "$lib loaded ok");
-
- if (@_warnings)
- {
- warn @_warnings;
- push @warnings, @_warnings;
- }
-}
-
-
-
-# no warning checks;
-
-BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/000-report-versions-tiny.t new/Sub-Install-0.928/t/000-report-versions-tiny.t
--- old/Sub-Install-0.927/t/000-report-versions-tiny.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/t/000-report-versions-tiny.t 2014-06-27 00:57:41.000000000 +0200
@@ -51,9 +51,6 @@
eval { $v .= pmver('B','any version') };
eval { $v .= pmver('Carp','any version') };
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
-eval { $v .= pmver('File::Spec','any version') };
-eval { $v .= pmver('IO::Handle','any version') };
-eval { $v .= pmver('IPC::Open3','any version') };
eval { $v .= pmver('Scalar::Util','any version') };
eval { $v .= pmver('Test::More','0.96') };
eval { $v .= pmver('strict','any version') };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/SI_install.t new/Sub-Install-0.928/t/SI_install.t
--- old/Sub-Install-0.927/t/SI_install.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/t/SI_install.t 2014-06-27 00:57:41.000000000 +0200
@@ -5,13 +5,14 @@
# Sub::Installer 0.0.2
use Test::More 'no_plan';
+use Scalar::Util qw/reftype/;
use warnings;
# Install a sub in a package...
my $sub_ref = main->install_sub({ ok1 => \&ok });
-is ref $sub_ref, 'CODE' => 'install returns code ref';
+is reftype $sub_ref, 'CODE' => 'install returns code ref';
is_deeply \&ok, $sub_ref => 'install returns correct code ref';
@@ -25,7 +26,7 @@
$sub_ref = main->install_sub({ ok1 => \&is });
-is ref $sub_ref, 'CODE' => 'install2 returns code ref';
+is reftype $sub_ref, 'CODE' => 'install2 returns code ref';
is_deeply \&is, $sub_ref => 'install2 returns correct code ref';
@@ -35,7 +36,7 @@
$sub_ref = Other->install_sub({ ok2 => \&ok });
-is ref $sub_ref, 'CODE' => 'install2 returns code ref';
+is reftype $sub_ref, 'CODE' => 'install2 returns code ref';
is_deeply \&ok, $sub_ref => 'install2 returns correct code ref';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/t/SI_reinstall.t new/Sub-Install-0.928/t/SI_reinstall.t
--- old/Sub-Install-0.927/t/SI_reinstall.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/t/SI_reinstall.t 2014-06-27 00:57:41.000000000 +0200
@@ -5,13 +5,14 @@
# Sub::Installer 0.0.2
use Test::More 'no_plan';
+use Scalar::Util qw/reftype/;
use warnings;
# Install a sub in a package...
my $sub_ref = main->reinstall_sub({ ok1 => \&ok });
-is ref $sub_ref, 'CODE' => 'reinstall returns code ref';
+is reftype $sub_ref, 'CODE' => 'reinstall returns code ref';
is_deeply \&ok, $sub_ref => 'reinstall returns correct code ref';
@@ -24,7 +25,7 @@
$sub_ref = main->reinstall_sub({ ok1 => \&is });
-is ref $sub_ref, 'CODE' => 'reinstall2 returns code ref';
+is reftype $sub_ref, 'CODE' => 'reinstall2 returns code ref';
is_deeply \&is, $sub_ref => 'reinstall2 returns correct code ref';
@@ -34,7 +35,7 @@
$sub_ref = Other->reinstall_sub({ ok2 => \&ok });
-is ref $sub_ref, 'CODE' => 'reinstall2 returns code ref';
+is reftype $sub_ref, 'CODE' => 'reinstall2 returns code ref';
is_deeply \&ok, $sub_ref => 'reinstall2 returns correct code ref';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/xt/release/changes_has_content.t new/Sub-Install-0.928/xt/release/changes_has_content.t
--- old/Sub-Install-0.927/xt/release/changes_has_content.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/xt/release/changes_has_content.t 2014-06-27 00:57:41.000000000 +0200
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.927';
+my $newver = '0.928';
my $trial_token = '-TRIAL';
SKIP: {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sub-Install-0.927/xt/release/pod-syntax.t new/Sub-Install-0.928/xt/release/pod-syntax.t
--- old/Sub-Install-0.927/xt/release/pod-syntax.t 2013-10-16 04:46:41.000000000 +0200
+++ new/Sub-Install-0.928/xt/release/pod-syntax.t 2014-06-27 00:57:41.000000000 +0200
@@ -1,7 +1,6 @@
#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Test-LongString for openSUSE:Factory checked in at 2014-09-19 22:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-LongString (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-LongString.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-LongString"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-LongString/perl-Test-LongString.changes 2012-02-14 11:25:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Test-LongString.new/perl-Test-LongString.changes 2014-09-19 22:27:45.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 19 12:15:46 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.16, no changelog
+
+-------------------------------------------------------------------
Old:
----
Test-LongString-0.15.tar.gz
New:
----
Test-LongString-0.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-LongString.spec ++++++
--- /var/tmp/diff_new_pack.0ZlGIr/_old 2014-09-19 22:27:46.000000000 +0200
+++ /var/tmp/diff_new_pack.0ZlGIr/_new 2014-09-19 22:27:46.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-LongString
#
-# Copyright (c) 2012 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
@@ -15,8 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: perl-Test-LongString
-Version: 0.15
+Version: 0.16
Release: 0
%define cpan_name Test-LongString
Summary: Tests strings for equality, with more helpful failures
@@ -29,7 +30,6 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Builder::Tester) >= 1.04
-#BuildRequires: perl(Test::LongString)
Requires: perl(Test::Builder::Tester) >= 1.04
%{perl_requires}
++++++ Test-LongString-0.15.tar.gz -> Test-LongString-0.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/MANIFEST new/Test-LongString-0.16/MANIFEST
--- old/Test-LongString-0.15/MANIFEST 2011-02-05 14:47:10.000000000 +0100
+++ new/Test-LongString-0.16/MANIFEST 2014-09-05 10:01:11.000000000 +0200
@@ -13,3 +13,4 @@
t/pod-coverage.t
Changes
META.yml Module meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/META.json new/Test-LongString-0.16/META.json
--- old/Test-LongString-0.15/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-LongString-0.16/META.json 2014-09-05 10:01:11.000000000 +0200
@@ -0,0 +1,31 @@
+{
+ "abstract" : "unknown",
+ "author" : [
+ "Rafael Garcia-Suarez <rgs(a)consttype.org>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.140640",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Test-LongString",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/rgs/Test-LongString.git",
+ "web" : "https://github.com/rgs/Test-LongString"
+ }
+ },
+ "version" : "0.16"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/META.yml new/Test-LongString-0.16/META.yml
--- old/Test-LongString-0.15/META.yml 2011-02-07 18:10:15.000000000 +0100
+++ new/Test-LongString-0.16/META.yml 2014-09-05 10:01:11.000000000 +0200
@@ -1,23 +1,19 @@
---- #YAML:1.0
-name: Test-LongString
-version: 0.15
-abstract: ~
+---
+abstract: unknown
author:
- - Rafael Garcia-Suarez <rgs(a)consttype.org>
-license: perl
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
-build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- Test::Builder: 0.12
- Test::Builder::Tester: 1.04
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.55_02
+ - 'Rafael Garcia-Suarez <rgs(a)consttype.org>'
+build_requires: {}
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.140640'
+license: perl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Test-LongString
+no_index:
+ directory:
+ - t
+ - inc
+resources:
+ repository: https://github.com/rgs/Test-LongString.git
+version: '0.16'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/Makefile.PL new/Test-LongString-0.16/Makefile.PL
--- old/Test-LongString-0.15/Makefile.PL 2011-02-05 14:47:10.000000000 +0100
+++ new/Test-LongString-0.16/Makefile.PL 2014-09-05 09:58:56.000000000 +0200
@@ -9,4 +9,14 @@
'Test::Builder::Tester' => 1.04,
},
LICENSE => 'perl',
+ META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ repository => {
+ type => 'git',
+ url => 'https://github.com/rgs/Test-LongString.git',
+ web => 'https://github.com/rgs/Test-LongString',
+ },
+ },
+ },
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/README new/Test-LongString-0.16/README
--- old/Test-LongString-0.15/README 2011-02-05 19:15:32.000000000 +0100
+++ new/Test-LongString-0.16/README 2014-09-05 09:58:18.000000000 +0200
@@ -1,4 +1,4 @@
-Test::LongString v0.15
+Test::LongString v0.16
======================
A library to test long strings.
@@ -22,4 +22,4 @@
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
-Copyright (c) 2002 - 2011 Rafael Garcia-Suarez
+Copyright (c) 2002 - 2014 Rafael Garcia-Suarez
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/lib/Test/LongString.pm new/Test-LongString-0.16/lib/Test/LongString.pm
--- old/Test-LongString-0.15/lib/Test/LongString.pm 2011-02-05 19:15:54.000000000 +0100
+++ new/Test-LongString-0.16/lib/Test/LongString.pm 2014-09-05 09:58:05.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use vars qw($VERSION @ISA @EXPORT $Max $Context $EOL $LCSS);
-$VERSION = '0.15';
+$VERSION = '0.16';
use Test::Builder;
my $Tester = new Test::Builder();
@@ -62,7 +62,7 @@
sub _common_prefix_length {
my ($str1, $str2) = @_;
- my $diff = $str1 ^ $str2;
+ my $diff = "$str1" ^ "$str2";
my ($pre) = $diff =~ /^(\000*)/;
return length $pre;
}
@@ -364,7 +364,7 @@
=head2 is_string_nows( $string, $expected [, $label ] )
-Like C<is_string()>, but removes whitepace (in the C<\s> sense) from the
+Like C<is_string()>, but removes whitespace (in the C<\s> sense) from the
arguments before comparing them.
=head2 like_string( $string, qr/regex/ [, $label ] )
@@ -443,7 +443,7 @@
where they differ, undefine C<$Test::LongString::Context>.
When computing line numbers this module uses "\n" to count line endings. This
-may not be appropriate for strings on your platform, and can be overriden
+may not be appropriate for strings on your platform, and can be overridden
by setting the C<$Test::LongString::EOL> variable to a suitable regular
expression (either a reference to a regular expression or a string that
can be interpolated into a regular expression.)
@@ -464,6 +464,10 @@
git://github.com/rgs/Test-LongString.git
+and the project page at
+
+ http://github.com/rgs/Test-LongString
+
=head1 SEE ALSO
L<Test::Builder>, L<Test::Builder::Tester>, L<Test::More>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/t/01teststring.t new/Test-LongString-0.16/t/01teststring.t
--- old/Test-LongString-0.15/t/01teststring.t 2011-02-05 14:53:31.000000000 +0100
+++ new/Test-LongString-0.16/t/01teststring.t 2014-09-05 09:56:10.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
-use Test::More tests => 11;
+use Test::More tests => 15;
use Test::Builder::Tester;
use Test::Builder::Tester::Color;
@@ -122,3 +122,44 @@
# strings begin to differ at char 3));
is_string_nows("a b c", "abd", "non-ws differs");
test_test("is_string_nows tests correctly");
+
+test_out("not ok 1 - 123 is 124");
+test_fail(6);
+test_diag(qq! got: "123"
+# length: 3
+# expected: "124"
+# length: 3
+# strings begin to differ at char 3 (line 1 column 3)!);
+is_string("123", "124", "123 is 124");
+test_test("two short number strings differ at char 3");
+
+test_out("not ok 1 - 123 is 124");
+test_fail(6);
+test_diag(qq! got: "123"
+# length: 3
+# expected: "124"
+# length: 3
+# strings begin to differ at char 3 (line 1 column 3)!);
+is_string(0+"123", 0+"124", "123 is 124");
+test_test("two small numbers compared in string context differ at char 3");
+
+test_out("not ok 1 - 123 is 123xyz");
+test_fail(6);
+test_diag(qq! got: "123"
+# length: 3
+# expected: "123xyz"
+# length: 6
+# strings begin to differ at char 4 (line 1 column 4)!);
+is_string("123", "123xyz", "123 is 123xyz");
+test_test("short number string differs from short string at char 4");
+
+test_out("not ok 1 - 123 is 123xyz");
+test_fail(6);
+test_diag(qq! got: "123"
+# length: 3
+# expected: "123xyz"
+# length: 6
+# strings begin to differ at char 4 (line 1 column 4)!);
+is_string(0+"123", "123xyz", "123 is 123xyz");
+test_test("small number differs from short string at char 4");
+
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2014-09-19 22:27:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
and /work/SRC/openSUSE:Factory/.crmsh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh"
Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2014-09-12 17:03:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.crmsh.new/crmsh.changes 2014-09-19 22:27:44.000000000 +0200
@@ -1,0 +2,17 @@
+Fri Sep 19 10:59:33 UTC 2014 - kgronlund(a)suse.com
+
+- high: cibconfig: Add tag:<tag> to get all resources in tag
+- high: cibconfig: Generate valid CLI syntax for attribute lists (bnc#897462)
+- doc: Sort command list in documentation alphabetically
+- doc: Handle command names with underscore
+- low: ra: Add systemd-support to RaOS
+- low: ui_ra: Don't crash when no OCF agents installed
+- low: corosync: Check tools before use
+- low: main: Catch any ValueErrors that may leak through
+- medium: config: Assign default path in all cases
+- low: ui_template: List both templates and configs by default
+- low: ui_configure: add rm as alias for delete
+- low: template: Add 'new <template>' shortcut
+- upstream cs: 2.1.0-71-g0d58e2e
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.n9D1UD/_old 2014-09-19 22:27:45.000000000 +0200
+++ /var/tmp/diff_new_pack.n9D1UD/_new 2014-09-19 22:27:45.000000000 +0200
@@ -41,7 +41,7 @@
Summary: High Availability cluster command-line interface
License: GPL-2.0+
Group: %{pkg_group}
-Version: 2.1+git48
+Version: 2.1+git71
Release: %{?crmsh_release}%{?dist}
Url: http://crmsh.github.io
Source0: crmsh.tar.bz2
++++++ crmsh.tar.bz2 ++++++
++++ 5603 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
19 Sep '14
Hello community,
here is the log from the commit of package perl-Task-Kensho-ModuleDev for openSUSE:Factory checked in at 2014-09-19 22:27:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Task-Kensho-ModuleDev (Old)
and /work/SRC/openSUSE:Factory/.perl-Task-Kensho-ModuleDev.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Task-Kensho-ModuleDev"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Task-Kensho-ModuleDev/perl-Task-Kensho-ModuleDev.changes 2014-03-25 13:26:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Task-Kensho-ModuleDev.new/perl-Task-Kensho-ModuleDev.changes 2014-09-19 22:27:41.000000000 +0200
@@ -1,0 +2,18 @@
+Tue Sep 16 08:07:56 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.38
+ - WebDev: Template::Toolkit is not indexed (see RT#92588) -
+ refer to Template instead
+ - subtask distributions now just use regular prereqs on their
+ component modules, rather than using optional_features metadata
+ - Task-Kensho now once again prompts at install time for each
+ subtask to be optionally installed
+
+ 0.37 2014-08-16
+ - ModuleDev: Switch Carp::Always over to Devel::Confess (per mst)
+ - ModuleDev: Add Data::Printer (per Sawyer X)
+ - ModuleDev: Add Devel::Dwarn (per mst)
+ - Toolchain: Add Pinto (per Sawyer X)
+ - Toolchain: Add App::FatPacker (per perigrin)
+
+-------------------------------------------------------------------
Old:
----
Task-Kensho-ModuleDev-0.36.tar.gz
New:
----
Task-Kensho-ModuleDev-0.38.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Task-Kensho-ModuleDev.spec ++++++
--- /var/tmp/diff_new_pack.6aLT1O/_old 2014-09-19 22:27:42.000000000 +0200
+++ /var/tmp/diff_new_pack.6aLT1O/_new 2014-09-19 22:27:42.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Task-Kensho-ModuleDev
-Version: 0.36
+Version: 0.38
Release: 0
%define cpan_name Task-Kensho-ModuleDev
Summary: A Glimpse at an Enlightened Perl: Module Development
@@ -30,29 +30,31 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Uploader)
-BuildRequires: perl(Carp::Always)
+BuildRequires: perl(Data::Printer)
+BuildRequires: perl(Devel::Confess)
+BuildRequires: perl(Devel::Dwarn)
BuildRequires: perl(Devel::NYTProf)
BuildRequires: perl(Dist::Zilla)
BuildRequires: perl(Modern::Perl)
-BuildRequires: perl(Module::Build::Tiny)
-BuildRequires: perl(Module::Build::Tiny) >= 0.035
+BuildRequires: perl(Module::Build::Tiny) >= 0.038
BuildRequires: perl(Perl::Critic)
BuildRequires: perl(Perl::Tidy)
BuildRequires: perl(Perl::Version)
BuildRequires: perl(Pod::Readme)
BuildRequires: perl(Software::License)
-BuildRequires: perl(version)
-Recommends: perl(Carp::Always)
-Recommends: perl(CPAN::Uploader)
-Recommends: perl(Devel::NYTProf)
-Recommends: perl(Dist::Zilla)
-Recommends: perl(Modern::Perl)
-Recommends: perl(Module::Build::Tiny)
-Recommends: perl(Perl::Critic)
-Recommends: perl(Perl::Tidy)
-Recommends: perl(Perl::Version)
-Recommends: perl(Pod::Readme)
-Recommends: perl(Software::License)
+Requires: perl(CPAN::Uploader)
+Requires: perl(Data::Printer)
+Requires: perl(Devel::Confess)
+Requires: perl(Devel::Dwarn)
+Requires: perl(Devel::NYTProf)
+Requires: perl(Dist::Zilla)
+Requires: perl(Modern::Perl)
+Requires: perl(Module::Build::Tiny)
+Requires: perl(Perl::Critic)
+Requires: perl(Perl::Tidy)
+Requires: perl(Perl::Version)
+Requires: perl(Pod::Readme)
+Requires: perl(Software::License)
%{perl_requires}
%description
@@ -63,10 +65,9 @@
meaning "seeing one's nature"[1] or "true self."[2] It generally
"refers to the realization of nonduality of subject and object."[3]
-the Task::Kensho manpage is a first cut at building a list of recommended
-modules for Enlightened Perl development. CPAN is wonderful, but there are
-too many wheels and you have to pick and choose amongst the various
-competing technologies.
+the Task::Kensho manpage is a list of recommended modules for Enlightened
+Perl development. CPAN is wonderful, but there are too many wheels and you
+have to pick and choose amongst the various competing technologies.
The plan is for the Task::Kensho manpage to be a rough testing ground for
ideas that go into among other things the Enlightened Perl Organisation
@@ -105,6 +106,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README README.md
+%doc Changes LICENSE README weaver.ini
%changelog
++++++ Task-Kensho-ModuleDev-0.36.tar.gz -> Task-Kensho-ModuleDev-0.38.tar.gz ++++++
++++ 2437 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2014-09-19 22:27:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/kernel-debug.changes 2014-09-12 15:25:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-debug.changes 2014-09-19 22:27:35.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 17 14:06:06 CEST 2014 - jeffm(a)suse.com
+
+- blk-merge: fix blk_recount_segments (bnc#888259).
+- commit 5fca623
+
+-------------------------------------------------------------------
kernel-default.changes: same change
kernel-desktop.changes: same change
kernel-docs.changes: same change
kernel-ec2.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa-xen.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-xen.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -61,9 +61,9 @@
Group: System/Kernel
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
Url: http://www.kernel.org/
BuildRequires: bc
kernel-default.spec: same change
kernel-desktop.spec: same change
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -27,9 +27,9 @@
Group: Documentation/Man
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
BuildRequires: docbook-toys
BuildRequires: docbook-utils
++++++ kernel-ec2.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -61,9 +61,9 @@
Group: System/Kernel
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
Url: http://www.kernel.org/
BuildRequires: bc
kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -47,9 +47,9 @@
Group: SLES
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
%description
kernel-obs-qa-xen.spec: same change
kernel-obs-qa.spec: same change
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -61,9 +61,9 @@
Group: System/Kernel
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
Url: http://www.kernel.org/
BuildRequires: bc
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -32,9 +32,9 @@
Group: Development/Sources
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
Url: http://www.kernel.org/
AutoReqProv: off
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -27,9 +27,9 @@
Version: 3.16.2
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
%else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:40.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:40.000000000 +0200
@@ -61,9 +61,9 @@
Group: System/Kernel
Version: 3.16.2
%if 0%{?is_kotd}
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%else
-Release: <RELEASE>.gdcee397
+Release: <RELEASE>.g5fca623
%endif
Url: http://www.kernel.org/
BuildRequires: bc
kernel-xen.spec: same change
++++++ patches.fixes.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.fixes/blk-merge-fix-blk_recount_segments new/patches.fixes/blk-merge-fix-blk_recount_segments
--- old/patches.fixes/blk-merge-fix-blk_recount_segments 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.fixes/blk-merge-fix-blk_recount_segments 2014-09-17 14:06:06.000000000 +0200
@@ -0,0 +1,84 @@
+From 0738854939e6ec9b9111a8cfc0ca1dfa3cff6b2e Mon Sep 17 00:00:00 2001
+From: Ming Lei <ming.lei(a)canonical.com>
+Date: Tue, 2 Sep 2014 23:02:59 +0800
+Subject: blk-merge: fix blk_recount_segments
+Git-commit: 0738854939e6ec9b9111a8cfc0ca1dfa3cff6b2e
+Patch-mainline: v3.17-rc5
+References: bnc#888259
+
+QUEUE_FLAG_NO_SG_MERGE is set at default for blk-mq devices,
+so bio->bi_phys_segment computed may be bigger than
+queue_max_segments(q) for blk-mq devices, then drivers will
+fail to handle the case, for example, BUG_ON() in
+virtio_queue_rq() can be triggerd for virtio-blk:
+
+ https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1359146
+
+This patch fixes the issue by ignoring the QUEUE_FLAG_NO_SG_MERGE
+flag if the computed bio->bi_phys_segment is bigger than
+queue_max_segments(q), and the regression is caused by commit
+05f1dd53152173(block: add queue flag for disabling SG merging).
+
+Reported-by: Kick In <pierre-andre.morey(a)canonical.com>
+Tested-by: Chris J Arges <chris.j.arges(a)canonical.com>
+Signed-off-by: Ming Lei <ming.lei(a)canonical.com>
+Signed-off-by: Jens Axboe <axboe(a)fb.com>
+Acked-by: Jeff Mahoney <jeffm(a)suse.com>
+---
+ block/blk-merge.c | 17 +++++++++++------
+ 1 file changed, 11 insertions(+), 6 deletions(-)
+
+diff --git a/block/blk-merge.c b/block/blk-merge.c
+index 5453583..7788179 100644
+--- a/block/blk-merge.c
++++ b/block/blk-merge.c
+@@ -10,10 +10,11 @@
+ #include "blk.h"
+
+ static unsigned int __blk_recalc_rq_segments(struct request_queue *q,
+- struct bio *bio)
++ struct bio *bio,
++ bool no_sg_merge)
+ {
+ struct bio_vec bv, bvprv = { NULL };
+- int cluster, high, highprv = 1, no_sg_merge;
++ int cluster, high, highprv = 1;
+ unsigned int seg_size, nr_phys_segs;
+ struct bio *fbio, *bbio;
+ struct bvec_iter iter;
+@@ -35,7 +36,6 @@ static unsigned int __blk_recalc_rq_segments(struct request_queue *q,
+ cluster = blk_queue_cluster(q);
+ seg_size = 0;
+ nr_phys_segs = 0;
+- no_sg_merge = test_bit(QUEUE_FLAG_NO_SG_MERGE, &q->queue_flags);
+ high = 0;
+ for_each_bio(bio) {
+ bio_for_each_segment(bv, bio, iter) {
+@@ -88,18 +88,23 @@ new_segment:
+
+ void blk_recalc_rq_segments(struct request *rq)
+ {
+- rq->nr_phys_segments = __blk_recalc_rq_segments(rq->q, rq->bio);
++ bool no_sg_merge = !!test_bit(QUEUE_FLAG_NO_SG_MERGE,
++ &rq->q->queue_flags);
++
++ rq->nr_phys_segments = __blk_recalc_rq_segments(rq->q, rq->bio,
++ no_sg_merge);
+ }
+
+ void blk_recount_segments(struct request_queue *q, struct bio *bio)
+ {
+- if (test_bit(QUEUE_FLAG_NO_SG_MERGE, &q->queue_flags))
++ if (test_bit(QUEUE_FLAG_NO_SG_MERGE, &q->queue_flags) &&
++ bio->bi_vcnt < queue_max_segments(q))
+ bio->bi_phys_segments = bio->bi_vcnt;
+ else {
+ struct bio *nxt = bio->bi_next;
+
+ bio->bi_next = NULL;
+- bio->bi_phys_segments = __blk_recalc_rq_segments(q, bio);
++ bio->bi_phys_segments = __blk_recalc_rq_segments(q, bio, false);
+ bio->bi_next = nxt;
+ }
+
+
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:41.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:41.000000000 +0200
@@ -361,6 +361,8 @@
patches.fixes/scsi-ibmvscsi-module_alias.patch
patches.suse/sd_init.mark_majors_busy.patch
+ patches.fixes/blk-merge-fix-blk_recount_segments
+
########################################################
# DRM/Video
########################################################
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.GRFB0L/_old 2014-09-19 22:27:41.000000000 +0200
+++ /var/tmp/diff_new_pack.GRFB0L/_new 2014-09-19 22:27:41.000000000 +0200
@@ -1,3 +1,3 @@
-2014-09-07 06:40:17 +0200
-GIT Revision: dcee3975936b33996dd656617da8e1879ef4dcbd
+2014-09-17 14:06:06 +0200
+GIT Revision: 5fca623fef82770d0a6895d3fb6382ac069cb1a6
GIT Branch: stable
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2014-09-19 13:56:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armadillo (Old)
and /work/SRC/openSUSE:Factory/.armadillo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armadillo"
Changes:
--------
--- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes 2014-08-21 17:26:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2014-09-19 15:45:45.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Sep 19 03:42:44 UTC 2014 - badshah400(a)gmail.com
+
+- Update to Version 4.450 (Spring Hill Fort):
+ + Faster handling of matrix transposes within compound
+ expressions
+ + Expanded symmatu()/symmatl() to optionally disable taking the
+ complex conjugate of elements
+ + Expanded sort_index() to handle complex vectors
+ + Expanded the gmm_diag class with functions to generate random
+ samples
+
+-------------------------------------------------------------------
Old:
----
armadillo-4.400.1.tar.gz
New:
----
armadillo-4.450.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ armadillo.spec ++++++
--- /var/tmp/diff_new_pack.tCc1tD/_old 2014-09-19 15:45:47.000000000 +0200
+++ /var/tmp/diff_new_pack.tCc1tD/_new 2014-09-19 15:45:47.000000000 +0200
@@ -19,7 +19,7 @@
%define soname libarmadillo4
Name: armadillo
-Version: 4.400.1
+Version: 4.450.0
Release: 0
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
License: MPL-2.0
++++++ armadillo-4.400.1.tar.gz -> armadillo-4.450.0.tar.gz ++++++
++++ 4656 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-Markdown for openSUSE:Factory checked in at 2014-09-19 13:56:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-Markdown (Old)
and /work/SRC/openSUSE:Factory/.python3-Markdown.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-Markdown"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-Markdown/python3-Markdown.changes 2014-07-15 08:00:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Markdown.new/python3-Markdown.changes 2014-09-19 15:45:44.000000000 +0200
@@ -1,0 +2,26 @@
+Tue Sep 16 19:09:46 UTC 2014 - benoit.monin(a)gmx.fr
+
+- update to version 2.5:
+ * The force_linenos config key on the CodeHilite extension has
+ been deprecated.
+ * Both safe_mode and the associated html_replacement_text
+ keywords will be deprecated in version 2.6.
+ * Positional arguments on the markdown.Markdown() function are
+ pending deprecation.
+ * The builtin extensions did not require the full path to be
+ provided. This behavior will be deprecated in version 2.6.
+ * The previously documented method of appending the extension
+ configs as a string to the extension name will be deprecated in
+ version 2.6.
+ * The Smarty extension has had a number of additional
+ configuration settings added.
+ * Named extensions can now point to any module and/or Class on
+ your PYTHONPATH.
+ * The extension configuration code has been refactored.
+ * The command line interface now accepts a --extensions_config
+ (or -c).
+ * The amonition extension is no longer considered experimental.
+ * Various bug fixes have been made.
+- add python-PyYAML to BuildRequires: needed for tests
+
+-------------------------------------------------------------------
Old:
----
Markdown-2.4.1.tar.gz
New:
----
Markdown-2.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-Markdown.spec ++++++
--- /var/tmp/diff_new_pack.bDqrpj/_old 2014-09-19 15:45:45.000000000 +0200
+++ /var/tmp/diff_new_pack.bDqrpj/_new 2014-09-19 15:45:45.000000000 +0200
@@ -17,13 +17,14 @@
Name: python3-Markdown
-Version: 2.4.1
+Version: 2.5
Release: 0
Summary: Python implementation of Markdown
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://pypi.python.org/Markdown/
Source: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
+BuildRequires: python3-PyYAML
BuildRequires: python3-devel
BuildRequires: python3-nose
BuildRequires: python3-xml
++++++ Markdown-2.4.1.tar.gz -> Markdown-2.5.tar.gz ++++++
++++ 5370 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-dhcp-server for openSUSE:Factory checked in at 2014-09-19 13:56:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-dhcp-server (Old)
and /work/SRC/openSUSE:Factory/.yast2-dhcp-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-dhcp-server"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-dhcp-server/yast2-dhcp-server.changes 2014-08-08 10:13:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-dhcp-server.new/yast2-dhcp-server.changes 2014-09-19 15:45:42.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep 19 08:28:57 UTC 2014 - ancor(a)suse.com
+
+- Adapted to use systemd to manage the dhcpd service (bnc#892342)
+- 3.1.4
+
+-------------------------------------------------------------------
Old:
----
yast2-dhcp-server-3.1.3.tar.bz2
New:
----
yast2-dhcp-server-3.1.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-dhcp-server.spec ++++++
--- /var/tmp/diff_new_pack.ndAu2c/_old 2014-09-19 15:45:44.000000000 +0200
+++ /var/tmp/diff_new_pack.ndAu2c/_new 2014-09-19 15:45:44.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-dhcp-server
-Version: 3.1.3
+Version: 3.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-dhcp-server-3.1.3.tar.bz2 -> yast2-dhcp-server-3.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/MAINTAINER new/yast2-dhcp-server-3.1.4/MAINTAINER
--- old/yast2-dhcp-server-3.1.3/MAINTAINER 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/MAINTAINER 2014-09-19 10:57:12.000000000 +0200
@@ -1 +1 @@
-Michal Filka <MFilka(a)suse.com>
+Deprecated file. Use `osc maintainer yast2-dhcp-server` instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/package/yast2-dhcp-server.changes new/yast2-dhcp-server-3.1.4/package/yast2-dhcp-server.changes
--- old/yast2-dhcp-server-3.1.3/package/yast2-dhcp-server.changes 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/package/yast2-dhcp-server.changes 2014-09-19 10:57:12.000000000 +0200
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Sep 19 08:28:57 UTC 2014 - ancor(a)suse.com
+
+- Adapted to use systemd to manage the dhcpd service (bnc#892342)
+- 3.1.4
+
+-------------------------------------------------------------------
Thu Aug 7 08:36:22 UTC 2014 - mfilka(a)suse.com
- bnc#887139
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/package/yast2-dhcp-server.spec new/yast2-dhcp-server-3.1.4/package/yast2-dhcp-server.spec
--- old/yast2-dhcp-server-3.1.3/package/yast2-dhcp-server.spec 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/package/yast2-dhcp-server.spec 2014-09-19 10:57:12.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-dhcp-server
-Version: 3.1.3
+Version: 3.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/src/modules/DhcpServer.pm new/yast2-dhcp-server-3.1.4/src/modules/DhcpServer.pm
--- old/yast2-dhcp-server-3.1.3/src/modules/DhcpServer.pm 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/src/modules/DhcpServer.pm 2014-09-19 10:57:12.000000000 +0200
@@ -22,6 +22,7 @@
#use check_routines;
our %TYPEINFO;
+our $SERVICE = "dhcpd";
# persistent variables
@@ -1490,7 +1491,7 @@
Progress->NextStage ();
- $start_service = Service->Enabled ("dhcpd");
+ $start_service = Service->Enabled ($SERVICE);
y2milestone ("Service start: $start_service");
$chroot = ((SCR->Read (".sysconfig.dhcpd.DHCPD_RUN_CHROOTED")||"") ne "no")
? 1
@@ -1736,13 +1737,13 @@
if ($start_service)
{
y2milestone ("Enabling the DHCP service");
- my $ret = 0;
+ my $ret = 1;
if (! $write_only)
{
- $ret = SCR->Execute (".target.bash", "/etc/init.d/dhcpd restart");
+ $ret = Service->Restart ($SERVICE);
}
- Service->Enable ("dhcpd");
- if (0 != $ret)
+ Service->Enable ($SERVICE);
+ if (!$ret)
{
# error report
Report->Error (__("Error occurred while restarting the DHCP daemon."));
@@ -1754,9 +1755,9 @@
y2milestone ("Disabling the DHCP service");
if (! $write_only)
{
- SCR->Execute (".target.bash", "/etc/init.d/dhcpd stop");
+ Service->Stop ($SERVICE);
}
- Service->Disable ("dhcpd");
+ Service->Disable ($SERVICE);
}
Progress->NextStage ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/src/modules/YaPI/DHCPD.pm new/yast2-dhcp-server-3.1.4/src/modules/YaPI/DHCPD.pm
--- old/yast2-dhcp-server-3.1.3/src/modules/YaPI/DHCPD.pm 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/src/modules/YaPI/DHCPD.pm 2014-09-19 10:57:12.000000000 +0200
@@ -73,6 +73,7 @@
our $VERSION='1.0.0';
our @CAPABILITIES = ('SLES9');
our %TYPEINFO;
+our $SERVICE = "dhcpd";
use strict;
use Errno qw(ENOENT);
@@ -106,8 +107,7 @@
my $self = shift;
my $config_options = shift;
- return 0 == SCR->Execute (".target.bash",
- "/etc/init.d/dhcpd stop");
+ return Service->Stop($SERVICE);
}
=item *
@@ -135,8 +135,7 @@
my $self = shift;
my $config_options = shift;
- return 0 == SCR->Execute (".target.bash",
- "/etc/init.d/dhcpd restart");
+ return Service->Restart($SERVICE);
}
=item *
@@ -164,8 +163,7 @@
my $self = shift;
my $config_options = shift;
- return 0 == SCR->Execute (".target.bash",
- "/etc/init.d/dhcpd status") ? 1 : 0;
+ return Service->Active($SERVICE);
}
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/test/yapi_dhcpd_test.rb new/yast2-dhcp-server-3.1.4/test/yapi_dhcpd_test.rb
--- old/yast2-dhcp-server-3.1.3/test/yapi_dhcpd_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-dhcp-server-3.1.4/test/yapi_dhcpd_test.rb 2014-09-19 10:57:12.000000000 +0200
@@ -0,0 +1,54 @@
+#!/usr/bin/env rspec
+
+require 'rspec'
+ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)
+require "yast"
+
+module Yast
+ import "YaPI::DHCPD"
+ import "Service"
+
+ describe YaPI::DHCPD do
+ describe ".StartDhcpService" do
+ let(:result) { YaPI::DHCPD.StartDhcpService({}) }
+
+ it "delegates to Service.Restart and reports success back" do
+ expect(Service).to receive(:Restart).with("dhcpd").and_return true
+ expect(result).to eql(true)
+ end
+
+ it "delegates to Service.Restart and reports failure back" do
+ expect(Service).to receive(:Restart).with("dhcpd").and_return false
+ expect(result).to eql(false)
+ end
+ end
+
+ describe ".StopDhcpService" do
+ let(:result) { YaPI::DHCPD.StopDhcpService({}) }
+
+ it "delegates to Service.Stop and reports success back" do
+ expect(Service).to receive(:Stop).with("dhcpd").and_return true
+ expect(result).to eql(true)
+ end
+
+ it "delegates to Service.Stop and reports failure back" do
+ expect(Service).to receive(:Stop).with("dhcpd").and_return false
+ expect(result).to eql(false)
+ end
+ end
+
+ describe ".GetDhcpServiceStatus" do
+ let(:result) { YaPI::DHCPD.GetDhcpServiceStatus({}) }
+
+ it "delegates to Service.Active and properly reports a running system" do
+ expect(Service).to receive(:Active).with("dhcpd").and_return true
+ expect(result).to eql(true)
+ end
+
+ it "delegates to Service.Active and properly reports a stopped system" do
+ expect(Service).to receive(:Active).with("dhcpd").and_return false
+ expect(result).to eql(false)
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/Write.out new/yast2-dhcp-server-3.1.4/testsuite/tests/Write.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/Write.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/Write.out 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,16 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 0
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password stop dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password disable dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
Return true
Dump ===============================
Return nil
@@ -13,5 +22,14 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 0
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password stop dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password disable dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"", "stdout":""]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password is-enabled dhcpd.service " $["exit":0, "stderr":"", "stdout":""]
Return true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/Write.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/Write.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/Write.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/Write.rb 2014-09-19 10:57:12.000000000 +0200
@@ -19,7 +19,7 @@
def main
Yast.include self, "testsuite.rb"
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
TESTSUITE_INIT([], nil)
Yast.import "Progress"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIAddDeclaration.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIAddDeclaration.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIAddDeclaration.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIAddDeclaration.out 2014-09-19 10:57:12.000000000 +0200
@@ -1,6 +1,7 @@
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -13,6 +14,7 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIAddDeclaration.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIAddDeclaration.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIAddDeclaration.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIAddDeclaration.rb 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,7 @@
module Yast
class YaPIAddDeclarationClient < Client
def main
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
Yast.include self, "testsuite.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIDeleteDeclartion.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIDeleteDeclartion.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIDeleteDeclartion.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIDeleteDeclartion.out 2014-09-19 10:57:12.000000000 +0200
@@ -1,6 +1,7 @@
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -13,11 +14,13 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -30,6 +33,7 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIDeleteDeclartion.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIDeleteDeclartion.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIDeleteDeclartion.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIDeleteDeclartion.rb 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,7 @@
module Yast
class YaPIDeleteDeclartionClient < Client
def main
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
Yast.include self, "testsuite.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationDirectives.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationDirectives.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationDirectives.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationDirectives.out 2014-09-19 10:57:12.000000000 +0200
@@ -1,6 +1,7 @@
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -13,6 +14,7 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationDirectives.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationDirectives.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationDirectives.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationDirectives.rb 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,7 @@
module Yast
class YaPISetDeclarationDirectivesClient < Client
def main
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
Yast.include self, "testsuite.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationOptions.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationOptions.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationOptions.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationOptions.out 2014-09-19 10:57:12.000000000 +0200
@@ -1,6 +1,7 @@
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -13,6 +14,7 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationOptions.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationOptions.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationOptions.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationOptions.rb 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,7 @@
module Yast
class YaPISetDeclarationOptionsClient < Client
def main
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
Yast.include self, "testsuite.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationParent.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationParent.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationParent.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationParent.out 2014-09-19 10:57:12.000000000 +0200
@@ -1,6 +1,7 @@
Dump ==========================================================
Execute .target.bash_output "/bin/hostname --short" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Execute .target.bash_output "/bin/hostname --fqdn" $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Read .sysconfig.dhcpd.DHCPD_RUN_CHROOTED "no"
Read .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2"
Read .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111"
@@ -13,6 +14,7 @@
Write .sysconfig.dhcpd.DHCPD_INTERFACE "eth0 eth2" true
Write .sysconfig.dhcpd.DHCPD_OTHER_ARGS "-p 111" true
Write .sysconfig.dhcpd nil true
-Execute .target.bash "/etc/init.d/dhcpd stop" 1
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
+Execute .target.bash_output " LANG=C TERM=dumb COLUMNS=1024 systemctl --no-legend --no-pager --no-ask-password show dhcpd.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath " $["exit":0, "stderr":"localhost", "stdout":"localhost"]
Return true
Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationParent.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationParent.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPISetDeclarationParent.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPISetDeclarationParent.rb 2014-09-19 10:57:12.000000000 +0200
@@ -3,7 +3,7 @@
module Yast
class YaPISetDeclarationParentClient < Client
def main
- # testedfiles: DhcpServer.pm
+ # testedfiles: DhcpServer.pm systemctl.rb
Yast.include self, "testsuite.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIStartStopDhcpService.out new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIStartStopDhcpService.out
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIStartStopDhcpService.out 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIStartStopDhcpService.out 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-Dump ==========================================================
-Execute .target.bash "/etc/init.d/dhcpd restart" 0
-Return true
-Dump ==========================================================
-Execute .target.bash "/etc/init.d/dhcpd stop" 0
-Return true
-Dump ==========================================================
-Execute .target.bash "/etc/init.d/dhcpd status" 0
-Return true
-Dump ==========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIStartStopDhcpService.rb new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIStartStopDhcpService.rb
--- old/yast2-dhcp-server-3.1.3/testsuite/tests/YaPIStartStopDhcpService.rb 2014-08-07 14:47:44.000000000 +0200
+++ new/yast2-dhcp-server-3.1.4/testsuite/tests/YaPIStartStopDhcpService.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-# encoding: utf-8
-
-module Yast
- class YaPIStartStopDhcpServiceClient < Client
- def main
- # testedfiles: DHCPD.pm
-
- Yast.include self, "testsuite.rb"
-
- Yast.import "YaPI::DHCPD"
- Yast.import "Mode"
-
- Mode.SetTest("testsuite")
-
- DUMP("==========================================================")
- TEST(lambda { YaPI::DHCPD.StartDhcpService({}) }, [], nil)
- DUMP("==========================================================")
- TEST(lambda { YaPI::DHCPD.StopDhcpService({}) }, [], nil)
- DUMP("==========================================================")
- TEST(lambda { YaPI::DHCPD.GetDhcpServiceStatus({}) }, [], nil)
- DUMP("==========================================================")
-
- nil
- end
- end
-end
-
-Yast::YaPIStartStopDhcpServiceClient.new.main
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0