openSUSE Commits
Threads by month
- ----- 2025 -----
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- 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
July 2015
- 1 participants
- 1368 discussions
Hello community,
here is the log from the commit of package libedit for openSUSE:Factory checked in at 2015-07-02 22:44:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libedit (Old)
and /work/SRC/openSUSE:Factory/.libedit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libedit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libedit/libedit.changes 2015-03-03 11:10:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libedit.new/libedit.changes 2015-07-02 22:44:52.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Jun 22 11:45:10 UTC 2015 - tchvatal(a)suse.com
+
+- Cleanup a bit with spec-cleaner
+ * remove pkg_name variable which is equal to name variable
+
+-------------------------------------------------------------------
+Fri Jun 19 12:01:55 UTC 2015 - idonmez(a)suse.com
+
+- Update to 20150325-3.1
+ * version info: 0:53:0
+ * all: sync with upstream source
+
+-------------------------------------------------------------------
@@ -7 +20 @@
- * configura.ac: Fix posix shell portability issue.
+ * configure.ac: Fix posix shell portability issue.
Old:
----
libedit-20141030-3.1.tar.gz
New:
----
libedit-20150325-3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libedit.spec ++++++
--- /var/tmp/diff_new_pack.hRZMLr/_old 2015-07-02 22:44:53.000000000 +0200
+++ /var/tmp/diff_new_pack.hRZMLr/_new 2015-07-02 22:44:53.000000000 +0200
@@ -16,19 +16,15 @@
#
+%define pkg_version 20150325-3.1
+%define soname 0
+%define library_name libedit%{soname}
Name: libedit
-Version: 3.1.snap20141030
+Version: 3.1.snap20150325
Release: 0
-%define pkg_name libedit
-%define pkg_version 20141030-3.1
-#
-#
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: gcc-c++
-BuildRequires: libtool
-BuildRequires: ncurses-devel
-BuildRequires: pkgconfig
-#
+Summary: Command Line Editing and History Library
+License: BSD-3-Clause
+Group: Development/Libraries/C and C++
Url: http://www.thrysoee.dk/editline/
Source: http://thrysoee.dk/editline/libedit-%{pkg_version}.tar.gz
Source1: README.SUSE
@@ -36,23 +32,22 @@
Patch2: libedit-20100424-3.0-ncurses.patch
Patch3: libedit-ocloexec.patch
Patch4: libedit-visibility.patch
-Summary: Command Line Editing and History Library
-License: BSD-3-Clause
-Group: Development/Libraries/C and C++
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libedit is a command line editing and history library. It is designed
to be used by interactive programs that allow the user to type commands
at a terminal prompt.
-%define library_name libedit0
-%define soname 0
-
%package -n %{library_name}
-Provides: %{pkg_name} = %{version}-%{release}
-Obsoletes: %{pkg_name} < %{version}
Summary: Command Line Editing and History Library
Group: Development/Libraries/C and C++
+Provides: %{name} = %{version}-%{release}
+Obsoletes: %{name} < %{version}
%description -n %{library_name}
libedit is a command line editing and history library. It is designed
@@ -60,11 +55,11 @@
at a terminal prompt.
%package -n libedit-devel
-Requires: %{library_name} = %{version}
-Provides: %{library_name}-devel = %{version}-%{release}
-Requires: glibc-devel
Summary: Development files for libedit
Group: Development/Libraries/C and C++
+Requires: %{library_name} = %{version}
+Requires: glibc-devel
+Provides: %{library_name}-devel = %{version}-%{release}
%description -n libedit-devel
libedit is a command line editing and history library. It is designed
@@ -74,25 +69,27 @@
This package holds the development files for libedit.
%prep
-%setup -q -n %{pkg_name}-20141029-3.1
-%{__cp} %{S:1} .
+%setup -q -n %{name}-%{pkg_version}
+cp %{SOURCE1} .
%patch2
%patch3
%patch4 -p1
+
%build
-NOCONFIGURE=1 autoreconf -fiv
-%configure --disable-static --with-pic \
+autoreconf -fiv
+%configure \
+ --disable-static \
+ --with-pic \
--disable-silent-rules \
--enable-widec
-
make %{?_smp_mflags}
%install
-%makeinstall
-%__rm "%{buildroot}%{_libdir}"/*.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
%check
-make check
+make %{?_smp_mflags} check
%post -n %{library_name} -p /sbin/ldconfig
++++++ libedit-20141030-3.1.tar.gz -> libedit-20150325-3.1.tar.gz ++++++
++++ 34002 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package ant for openSUSE:Factory checked in at 2015-07-02 22:44:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ant (Old)
and /work/SRC/openSUSE:Factory/.ant.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ant"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ant/ant-junit.changes 2015-04-02 15:51:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ant.new/ant-junit.changes 2015-07-02 22:44:43.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jun 21 14:05:05 UTC 2015 - jengelh(a)inai.de
+
+- Do better quoting to get better error messages when it fails
+
+-------------------------------------------------------------------
ant.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ant-antlr.spec ++++++
--- /var/tmp/diff_new_pack.h3WKz3/_old 2015-07-02 22:44:44.000000000 +0200
+++ /var/tmp/diff_new_pack.h3WKz3/_new 2015-07-02 22:44:44.000000000 +0200
@@ -457,8 +457,8 @@
%if %{with bootstrap}
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
-export JAVA_HOME=%{java_home}
-export CLASSPATH=$JAVA_HOME/lib/tools.jar
+export JAVA_HOME="%{java_home}"
+export CLASSPATH="$JAVA_HOME/lib/tools.jar"
export BOOTJAVAC_OPTS="-C -Wno-deprecated"
sh -x ./build.sh --noconfig jars
@@ -496,14 +496,14 @@
#These go into %%{_javadir}, pom files have different names
ant | ant-bootstrap | ant-launcher)
%if %{with bootstrap}
- destdir=%{buildroot}%{_javadir}; destname="";pomname="JPP-$jarname.pom"
+ destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
%else
continue
%endif
;;
ant-jmf|ant-swing)
%if %{with bootstrap}
- destdir=%{buildroot}%{_javadir}/ant; destname="ant/";
+ destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
%else
continue
%endif
@@ -514,7 +514,7 @@
continue
%else
#These go into %%{_javadir}/ant
- destdir=%{buildroot}%{_javadir}/ant; destname="ant/";
+ destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
%endif
;;
esac
ant-junit.spec: same change
++++++ ant.spec ++++++
--- /var/tmp/diff_new_pack.h3WKz3/_old 2015-07-02 22:44:44.000000000 +0200
+++ /var/tmp/diff_new_pack.h3WKz3/_new 2015-07-02 22:44:44.000000000 +0200
@@ -456,8 +456,8 @@
%if %{with bootstrap}
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
-export JAVA_HOME=%{java_home}
-export CLASSPATH=$JAVA_HOME/lib/tools.jar
+export JAVA_HOME="%{java_home}"
+export CLASSPATH="$JAVA_HOME/lib/tools.jar"
export BOOTJAVAC_OPTS="-C -Wno-deprecated"
sh -x ./build.sh --noconfig jars
@@ -495,14 +495,14 @@
#These go into %%{_javadir}, pom files have different names
ant | ant-bootstrap | ant-launcher)
%if %{with bootstrap}
- destdir=%{buildroot}%{_javadir}; destname="";pomname="JPP-$jarname.pom"
+ destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
%else
continue
%endif
;;
ant-jmf|ant-swing)
%if %{with bootstrap}
- destdir=%{buildroot}%{_javadir}/ant; destname="ant/";
+ destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
%else
continue
%endif
@@ -513,7 +513,7 @@
continue
%else
#These go into %%{_javadir}/ant
- destdir=%{buildroot}%{_javadir}/ant; destname="ant/";
+ destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";
%endif
;;
esac
1
0
Hello community,
here is the log from the commit of package perl-CPAN-Changes for openSUSE:Factory checked in at 2015-07-02 22:44:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Changes (Old)
and /work/SRC/openSUSE:Factory/.perl-CPAN-Changes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Changes"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CPAN-Changes/perl-CPAN-Changes.changes 2015-06-12 21:14:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-CPAN-Changes.new/perl-CPAN-Changes.changes 2015-07-02 22:44:35.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Jun 22 08:12:33 UTC 2015 - coolo(a)suse.com
+
+- updated to 0.400002
+ see /usr/share/doc/packages/perl-CPAN-Changes/Changes
+
+ 0.400002 - 2015-06-21
+ - revert whitespace changes that were inadvertantly included in previous
+ release.
+ - escape curly brackets in test to avoid warning in perl 5.22
+
+-------------------------------------------------------------------
Old:
----
CPAN-Changes-0.400001.tar.gz
New:
----
CPAN-Changes-0.400002.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-CPAN-Changes.spec ++++++
--- /var/tmp/diff_new_pack.q6SP6h/_old 2015-07-02 22:44:36.000000000 +0200
+++ /var/tmp/diff_new_pack.q6SP6h/_new 2015-07-02 22:44:36.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-CPAN-Changes
-Version: 0.400001
+Version: 0.400002
Release: 0
%define cpan_name CPAN-Changes
Summary: Read and write Changes files
++++++ CPAN-Changes-0.400001.tar.gz -> CPAN-Changes-0.400002.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/Changes new/CPAN-Changes-0.400002/Changes
--- old/CPAN-Changes-0.400001/Changes 2015-05-23 09:23:30.000000000 +0200
+++ new/CPAN-Changes-0.400002/Changes 2015-06-21 20:39:48.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for perl module CPAN::Changes
+0.400002 - 2015-06-21
+ - revert whitespace changes that were inadvertantly included in previous
+ release.
+ - escape curly brackets in test to avoid warning in perl 5.22
+
0.400001 - 2015-05-23
- accept either UTF-8 or ISO-8859-1 files and decode them
- only treat bracketed text if it is on its own line with no other brackets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/META.json new/CPAN-Changes-0.400002/META.json
--- old/CPAN-Changes-0.400001/META.json 2015-05-23 09:23:41.000000000 +0200
+++ new/CPAN-Changes-0.400002/META.json 2015-06-21 20:39:56.000000000 +0200
@@ -4,7 +4,7 @@
"Brian Cassidy <bricas(a)cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240",
+ "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001",
"license" : [
"perl_5"
],
@@ -60,6 +60,6 @@
},
"x_IRC" : "irc://irc.perl.org/#metacpan"
},
- "version" : "0.400001",
+ "version" : "0.400002",
"x_authority" : "cpan:BRICAS"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/META.yml new/CPAN-Changes-0.400002/META.yml
--- old/CPAN-Changes-0.400001/META.yml 2015-05-23 09:23:41.000000000 +0200
+++ new/CPAN-Changes-0.400002/META.yml 2015-06-21 20:39:56.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240'
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,5 +25,5 @@
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Changes
license: http://dev.perl.org/licenses/
repository: https://github.com/CPAN-API/CPAN-Changes.git
-version: '0.400001'
+version: '0.400002'
x_authority: cpan:BRICAS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/lib/CPAN/Changes/Group.pm new/CPAN-Changes-0.400002/lib/CPAN/Changes/Group.pm
--- old/CPAN-Changes-0.400001/lib/CPAN/Changes/Group.pm 2015-05-19 02:48:42.000000000 +0200
+++ new/CPAN-Changes-0.400002/lib/CPAN/Changes/Group.pm 2015-06-21 20:32:14.000000000 +0200
@@ -54,16 +54,12 @@
my $output = '';
my $name = $self->name;
- my $indent = ' ';
- if (length $name) {
- $output .= sprintf " [ %s ]\n", $name if length $name;
- $indent .= ' ';
- }
+ $output .= sprintf " [%s]\n", $name if length $name;
# change logs commonly have long URLs we shouldn't break, and by default
# Text::Wrap wraps on NONBREAKING SPACE.
local $Text::Wrap::break = '[\t ]';
local $Text::Wrap::huge = 'overflow';
- $output .= Text::Wrap::wrap( "$indent- ", "$indent ", $_ ) . "\n" for @{ $self->changes };
+ $output .= Text::Wrap::wrap( ' - ', ' ', $_ ) . "\n" for @{ $self->changes };
return $output;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/lib/CPAN/Changes.pm new/CPAN-Changes-0.400002/lib/CPAN/Changes.pm
--- old/CPAN-Changes-0.400001/lib/CPAN/Changes.pm 2015-05-23 09:21:12.000000000 +0200
+++ new/CPAN-Changes-0.400002/lib/CPAN/Changes.pm 2015-06-21 20:39:31.000000000 +0200
@@ -8,7 +8,7 @@
use version ();
use Encode qw(decode FB_CROAK LEAVE_SRC);
-our $VERSION = '0.400001';
+our $VERSION = '0.400002';
# From DateTime::Format::W3CDTF
our $W3CDTF_REGEX = qr{(\d\d\d\d) # Year
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/lib/Test/CPAN/Changes.pm new/CPAN-Changes-0.400002/lib/Test/CPAN/Changes.pm
--- old/CPAN-Changes-0.400001/lib/Test/CPAN/Changes.pm 2015-05-19 01:53:07.000000000 +0200
+++ new/CPAN-Changes-0.400002/lib/Test/CPAN/Changes.pm 2015-06-21 20:39:31.000000000 +0200
@@ -7,7 +7,7 @@
use Test::Builder;
use version ();
-our $VERSION = '0.400001';
+our $VERSION = '0.400002';
my $Test = Test::Builder->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/t/dist-zilla-changes.t new/CPAN-Changes-0.400002/t/dist-zilla-changes.t
--- old/CPAN-Changes-0.400001/t/dist-zilla-changes.t 2014-10-10 12:52:12.000000000 +0200
+++ new/CPAN-Changes-0.400002/t/dist-zilla-changes.t 2015-06-21 20:35:11.000000000 +0200
@@ -6,7 +6,7 @@
use CPAN::Changes;
my $changes = CPAN::Changes->load( 't/corpus/dist-zilla.changes',
- next_token => qr/{{\$NEXT}}/);
+ next_token => qr/\{\{\$NEXT\}\}/);
isa_ok( $changes, 'CPAN::Changes' );
is( $changes->preamble, 'Revision history for Catalyst-Plugin-Sitemap',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/t/serialize.t new/CPAN-Changes-0.400002/t/serialize.t
--- old/CPAN-Changes-0.400001/t/serialize.t 2015-05-19 02:46:14.000000000 +0200
+++ new/CPAN-Changes-0.400002/t/serialize.t 2015-06-21 20:32:46.000000000 +0200
@@ -16,7 +16,7 @@
{
my $expected = <<EOCHANGES;
0.01 2010-06-16
- - Initial release
+ - Initial release
EOCHANGES
is( $changes->serialize, $expected, 'serialize' );
@@ -29,7 +29,7 @@
Revision history for perl module Foo::Bar
0.01 2010-06-16
- - Initial release
+ - Initial release
EOCHANGES
is( $changes->serialize, $expected, 'serialize with preamble' );
@@ -44,8 +44,8 @@
Revision history for perl module Foo::Bar
0.01 2010-06-16
- [ Group 1 ]
- - Initial release
+ [Group 1]
+ - Initial release
EOCHANGES
is( $changes->serialize, $expected,
@@ -64,11 +64,11 @@
Revision history for perl module Foo::Bar
0.02 2010-06-17
- - New version
+ - New version
0.01 2010-06-16
- [ Group 1 ]
- - Initial release
+ [Group 1]
+ - Initial release
EOCHANGES
is( $changes->serialize, $expected, 'serialize with multiple releases' );
@@ -90,8 +90,8 @@
Revision history for perl module Foo::Bar
0.01 2010-06-16
- - Lorem ipsum dolor sit amet, consectetur adipiscing elit. In quis tortor
- ac urna faucibus feugiat.
+ - Lorem ipsum dolor sit amet, consectetur adipiscing elit. In quis tortor
+ ac urna faucibus feugiat.
EOCHANGES
is( $changes->serialize, $expected, 'serialize with line-wrap' );
@@ -114,7 +114,7 @@
Revision history for perl module Foo::Bar
0.01 2010-06-16 Note
- - Test
+ - Test
EOCHANGES
is( $changes->serialize, $expected, 'serialize with note' );
@@ -137,7 +137,7 @@
Revision history for perl module Foo::Bar
0.01 Unknown (Oops)
- - Test
+ - Test
EOCHANGES
is( $changes->serialize, $expected, 'serialize with unknown date and note' );
@@ -154,7 +154,7 @@
);
my $expected = <<EOCHANGES;
0.01
- - Initial release
+ - Initial release
EOCHANGES
is( $changes->serialize, $expected, 'serialize w/ defined but empty date and note' );
@@ -174,8 +174,8 @@
);
my $expected = <<EOCHANGES;
0.01
- - http://www.cpan.org/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabc…
- - \x{026B}this_entry_should_not_be_wrapped_on_the_nonbreaking_space\x{00A0}in_it_even_though_it_is_over_80_characters_long
+ - http://www.cpan.org/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabc…
+ - \x{026B}this_entry_should_not_be_wrapped_on_the_nonbreaking_space\x{00A0}in_it_even_though_it_is_over_80_characters_long
EOCHANGES
is( $changes->serialize, $expected, 'serialize does not wrap long tokens or split on nbsp' );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Changes-0.400001/t/sort_groups.t new/CPAN-Changes-0.400002/t/sort_groups.t
--- old/CPAN-Changes-0.400001/t/sort_groups.t 2015-05-19 01:49:42.000000000 +0200
+++ new/CPAN-Changes-0.400002/t/sort_groups.t 2015-06-21 20:30:15.000000000 +0200
@@ -34,7 +34,7 @@
sub expected_order {
my @groups = @_;
- my $re = join '.*', map { "\\[\\s*$_\\s*\\]" } @groups;
+ my $re = join '.*', map { "\\[$_\\]" } @groups;
return qr/$re/s;
}
1
0
Hello community,
here is the log from the commit of package perl-Archive-Zip for openSUSE:Factory checked in at 2015-07-02 22:44:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Archive-Zip (Old)
and /work/SRC/openSUSE:Factory/.perl-Archive-Zip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Archive-Zip"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Archive-Zip/perl-Archive-Zip.changes 2015-04-16 14:11:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Archive-Zip.new/perl-Archive-Zip.changes 2015-07-02 22:44:28.000000000 +0200
@@ -1,0 +2,13 @@
+Sun Jun 21 08:16:04 UTC 2015 - coolo(a)suse.com
+
+- updated to 1.48
+ see /usr/share/doc/packages/perl-Archive-Zip/Changes
+
+ 1.48 Thu 18 Jun 2015
+ - Wrap skip in a SKIP: block [github/plicease]
+
+ 1.47 Wed 17 Jun 2015
+ - zip file with a deflated directory cannot be written out again [github/ntyni]
+ - add missing test data to MANIFEST
+
+-------------------------------------------------------------------
Old:
----
Archive-Zip-1.46.tar.gz
New:
----
Archive-Zip-1.48.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Archive-Zip.spec ++++++
--- /var/tmp/diff_new_pack.1ttPAX/_old 2015-07-02 22:44:29.000000000 +0200
+++ /var/tmp/diff_new_pack.1ttPAX/_new 2015-07-02 22:44:29.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-Archive-Zip
-Version: 1.46
+Version: 1.48
Release: 0
%define cpan_name Archive-Zip
-Summary: Provide an interface to ZIP archive files.
+Summary: Provide an interface to ZIP archive files
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Archive-Zip/
-Source: http://www.cpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
++++++ Archive-Zip-1.46.tar.gz -> Archive-Zip-1.48.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/Changes new/Archive-Zip-1.48/Changes
--- old/Archive-Zip-1.46/Changes 2015-03-25 06:16:44.000000000 +0100
+++ new/Archive-Zip-1.48/Changes 2015-06-18 23:12:33.000000000 +0200
@@ -1,5 +1,12 @@
Revision history for Perl extension Archive-Zip
+1.48 Thu 18 Jun 2015
+ - Wrap skip in a SKIP: block [github/plicease]
+
+1.47 Wed 17 Jun 2015
+ - zip file with a deflated directory cannot be written out again [github/ntyni]
+ - add missing test data to MANIFEST
+
1.46 Tue 24 Mar 2015
- "CRC or size mismatch" when extracting member second time [github/AGWA github/pwr22]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/MANIFEST new/Archive-Zip-1.48/MANIFEST
--- old/Archive-Zip-1.46/MANIFEST 2015-03-25 06:17:42.000000000 +0100
+++ new/Archive-Zip-1.48/MANIFEST 2015-06-18 23:12:53.000000000 +0200
@@ -52,14 +52,20 @@
t/17_101092.t
t/18_bug_92205.t
t/19_bug_101240.t
+t/20_bug_github11.t
+t/21_zip64.t
+t/22_deflated_dir.t
t/badjpeg/expected.jpg
t/badjpeg/source.zip
t/common.pm
+t/data/bad_github11.zip
t/data/chmod.zip
t/data/crypcomp.zip
t/data/crypt.zip
t/data/def.zip
t/data/defstr.zip
+t/data/good_github11.zip
+t/data/jar.zip
t/data/store.zip
t/data/storestr.zip
t/data/emptydef.zip
@@ -71,5 +77,6 @@
t/data/perl.zip
t/data/streamed.zip
t/data/winzip.zip
+t/data/zip64.zip
META.yml Module YAML 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/Archive-Zip-1.46/META.json new/Archive-Zip-1.48/META.json
--- old/Archive-Zip-1.46/META.json 2015-03-25 06:17:42.000000000 +0100
+++ new/Archive-Zip-1.48/META.json 2015-06-18 23:12:53.000000000 +0200
@@ -4,7 +4,7 @@
"Ned Konz <perl(a)bike-nomad.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.142690",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690",
"license" : [
"perl_5"
],
@@ -53,5 +53,5 @@
"url" : "https://github.com/redhotpenguin/perl-Archive-Zip-svn"
}
},
- "version" : "1.46"
+ "version" : "1.48"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/META.yml new/Archive-Zip-1.48/META.yml
--- old/Archive-Zip-1.46/META.yml 2015-03-25 06:17:42.000000000 +0100
+++ new/Archive-Zip-1.48/META.yml 2015-06-18 23:12:53.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.142690'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -32,4 +32,4 @@
perl: '5.006'
resources:
repository: https://github.com/redhotpenguin/perl-Archive-Zip-svn
-version: '1.46'
+version: '1.48'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/Archive.pm new/Archive-Zip-1.48/lib/Archive/Zip/Archive.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/Archive.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/Archive.pm 2015-06-18 23:12:25.000000000 +0200
@@ -13,7 +13,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw( Archive::Zip );
if ($^O eq 'MSWin32') {
@@ -657,6 +657,15 @@
$zipfileCommentLength
) = unpack(END_OF_CENTRAL_DIRECTORY_FORMAT, $header);
+ if ($self->{'diskNumber'} == 0xFFFF ||
+ $self->{'diskNumberWithStartOfCentralDirectory'} == 0xFFFF ||
+ $self->{'numberOfCentralDirectoriesOnThisDisk'} == 0xFFFF ||
+ $self->{'numberOfCentralDirectories'} == 0xFFFF ||
+ $self->{'centralDirectorySize'} == 0xFFFFFFFF ||
+ $self->{'centralDirectoryOffsetWRTStartingDiskNumber'} == 0xFFFFFFFF) {
+ return _formatError("zip64 not supported");
+ }
+
if ($zipfileCommentLength) {
my $zipfileComment = '';
$bytesRead = $fh->read($zipfileComment, $zipfileCommentLength);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/BufferedFileHandle.pm new/Archive-Zip-1.48/lib/Archive/Zip/BufferedFileHandle.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/BufferedFileHandle.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/BufferedFileHandle.pm 2015-06-18 23:12:25.000000000 +0200
@@ -13,7 +13,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
$VERSION = eval $VERSION;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/DirectoryMember.pm new/Archive-Zip-1.48/lib/Archive/Zip/DirectoryMember.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/DirectoryMember.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/DirectoryMember.pm 2015-06-18 23:12:25.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw( Archive::Zip::Member );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/FileMember.pm new/Archive-Zip-1.48/lib/Archive/Zip/FileMember.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/FileMember.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/FileMember.pm 2015-06-18 23:12:25.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw ( Archive::Zip::Member );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/Member.pm new/Archive-Zip-1.48/lib/Archive/Zip/Member.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/Member.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/Member.pm 2015-06-18 23:12:25.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw( Archive::Zip );
if ($^O eq 'MSWin32') {
@@ -1086,6 +1086,7 @@
my ($outRef, $status) = $self->readChunk($chunkSize);
symlink $$outRef, $self->{'newName'};
} else {
+ return AZ_OK if ($self->uncompressedSize() == 0);
my $status;
my $chunkSize = $Archive::Zip::ChunkSize;
while ($self->_readDataRemaining() > 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/MemberRead.pm new/Archive-Zip-1.48/lib/Archive/Zip/MemberRead.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/MemberRead.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/MemberRead.pm 2015-06-18 23:12:25.000000000 +0200
@@ -40,7 +40,7 @@
my $nl;
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
$VERSION = eval $VERSION;
# Requirement for newline conversion. Should check for e.g., DOS and OS/2 as well, but am too lazy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/MockFileHandle.pm new/Archive-Zip-1.48/lib/Archive/Zip/MockFileHandle.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/MockFileHandle.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/MockFileHandle.pm 2015-06-18 23:12:25.000000000 +0200
@@ -10,7 +10,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
$VERSION = eval $VERSION;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/NewFileMember.pm new/Archive-Zip-1.48/lib/Archive/Zip/NewFileMember.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/NewFileMember.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/NewFileMember.pm 2015-06-18 23:12:25.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw ( Archive::Zip::FileMember );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/StringMember.pm new/Archive-Zip-1.48/lib/Archive/Zip/StringMember.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/StringMember.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/StringMember.pm 2015-06-18 23:12:25.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw( Archive::Zip::Member );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/Tree.pm new/Archive-Zip-1.48/lib/Archive/Zip/Tree.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/Tree.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/Tree.pm 2015-06-18 23:12:25.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
}
use Archive::Zip;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip/ZipFileMember.pm new/Archive-Zip-1.48/lib/Archive/Zip/ZipFileMember.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip/ZipFileMember.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip/ZipFileMember.pm 2015-06-18 23:12:25.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
@ISA = qw ( Archive::Zip::FileMember );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/lib/Archive/Zip.pm new/Archive-Zip-1.48/lib/Archive/Zip.pm
--- old/Archive-Zip-1.46/lib/Archive/Zip.pm 2015-03-25 06:17:24.000000000 +0100
+++ new/Archive-Zip-1.48/lib/Archive/Zip.pm 2015-06-18 23:12:25.000000000 +0200
@@ -14,7 +14,7 @@
use vars qw( $VERSION @ISA );
BEGIN {
- $VERSION = '1.46';
+ $VERSION = '1.48';
require Exporter;
@ISA = qw( Exporter );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/t/20_bug_github11.t new/Archive-Zip-1.48/t/20_bug_github11.t
--- old/Archive-Zip-1.46/t/20_bug_github11.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Archive-Zip-1.48/t/20_bug_github11.t 2015-06-18 23:10:58.000000000 +0200
@@ -0,0 +1,39 @@
+#!/usr/bin/perl
+
+# Github 11: "CRC or size mismatch" when extracting member second time
+# Test for correct functionality to prevent regression
+
+use strict;
+use warnings;
+
+use Archive::Zip qw( :ERROR_CODES );
+use File::Spec;
+use File::Path;
+use t::common;
+
+use Test::More tests => 2;
+
+# create test env
+my $GH_ISSUE = 'github11';
+my $TEST_NAME = "20_bug_$GH_ISSUE";
+my $TEST_DIR = File::Spec->catdir(TESTDIR, $TEST_NAME);
+mkpath($TEST_DIR);
+
+# test 1
+my $DATA_DIR = File::Spec->catfile('t', 'data');
+my $GOOD_ZIP_FILE = File::Spec->catfile($DATA_DIR, "good_${GH_ISSUE}.zip");
+my $GOOD_ZIP = Archive::Zip->new($GOOD_ZIP_FILE);
+my $MEMBER_FILE = 'FILE';
+my $member = $GOOD_ZIP->memberNamed($MEMBER_FILE);
+my $OUT_FILE = File::Spec->catfile($TEST_DIR, "out");
+# Extracting twice triggered the bug
+$member->extractToFileNamed($OUT_FILE);
+is($member->extractToFileNamed($OUT_FILE), AZ_OK, 'Testing known good zip');
+
+# test 2
+my $BAD_ZIP_FILE = File::Spec->catfile($DATA_DIR, "bad_${GH_ISSUE}.zip");
+my $BAD_ZIP = Archive::Zip->new($BAD_ZIP_FILE);
+$member = $BAD_ZIP->memberNamed($MEMBER_FILE);
+# Extracting twice triggered the bug
+$member->extractToFileNamed($OUT_FILE);
+is($member->extractToFileNamed($OUT_FILE), AZ_OK, 'Testing known bad zip');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/t/21_zip64.t new/Archive-Zip-1.48/t/21_zip64.t
--- old/Archive-Zip-1.46/t/21_zip64.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Archive-Zip-1.48/t/21_zip64.t 2015-06-18 23:10:58.000000000 +0200
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+
+# Test to make sure zip64 files are properly detected
+
+use strict;
+use warnings;
+
+use Archive::Zip qw( :ERROR_CODES );
+use File::Spec;
+use t::common;
+
+use Test::More tests => 1;
+
+my $DATA_DIR = File::Spec->catfile('t', 'data');
+my $ZIP_FILE = File::Spec->catfile($DATA_DIR, "zip64.zip");
+
+my @errors = ();
+$Archive::Zip::ErrorHandler = sub { push @errors, @_ };
+eval { Archive::Zip->new($ZIP_FILE) };
+ok($errors[0] =~ /zip64 not supported/, 'Got expected zip64 error');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Archive-Zip-1.46/t/22_deflated_dir.t new/Archive-Zip-1.48/t/22_deflated_dir.t
--- old/Archive-Zip-1.46/t/22_deflated_dir.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Archive-Zip-1.48/t/22_deflated_dir.t 2015-06-18 23:10:58.000000000 +0200
@@ -0,0 +1,25 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Archive::Zip qw( :ERROR_CODES );
+use File::Spec;
+use t::common;
+
+use Test::More tests => 4;
+
+my $zip = Archive::Zip->new();
+isa_ok( $zip, 'Archive::Zip' );
+is( $zip->read(File::Spec->catfile('t', 'data', 'jar.zip')), AZ_OK, 'Read file' );
+
+my $ret = eval { $zip->writeToFileNamed(OUTPUTZIP) };
+
+is($ret, AZ_OK, 'Wrote file');
+
+my ($status, $zipout) = testZip();
+# STDERR->print("status= $status, out=$zipout\n");
+SKIP: {
+ skip( "test zip doesn't work", 1 ) if $testZipDoesntWork;
+ is( $status, 0, "output zip isn't corrupted" );
+}
Files old/Archive-Zip-1.46/t/data/bad_github11.zip and new/Archive-Zip-1.48/t/data/bad_github11.zip differ
Files old/Archive-Zip-1.46/t/data/good_github11.zip and new/Archive-Zip-1.48/t/data/good_github11.zip differ
Files old/Archive-Zip-1.46/t/data/jar.zip and new/Archive-Zip-1.48/t/data/jar.zip differ
Files old/Archive-Zip-1.46/t/data/zip64.zip and new/Archive-Zip-1.48/t/data/zip64.zip differ
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package perl-CPAN-Meta-Check for openSUSE:Factory checked in at 2015-07-02 22:44:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check (Old)
and /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Meta-Check"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.changes 2015-04-25 21:16:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new/perl-CPAN-Meta-Check.changes 2015-07-02 22:44:21.000000000 +0200
@@ -1,0 +2,9 @@
+Sun Jun 21 08:16:25 UTC 2015 - coolo(a)suse.com
+
+- updated to 0.012
+ see /usr/share/doc/packages/perl-CPAN-Meta-Check/Changes
+
+ 0.012 2015-06-18 23:20:54+02:00 Europe/Amsterdam
+ Drop dependency on Exporter 5.57
+
+-------------------------------------------------------------------
Old:
----
CPAN-Meta-Check-0.011.tar.gz
New:
----
CPAN-Meta-Check-0.012.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-CPAN-Meta-Check.spec ++++++
--- /var/tmp/diff_new_pack.2lmEcF/_old 2015-07-02 22:44:21.000000000 +0200
+++ /var/tmp/diff_new_pack.2lmEcF/_new 2015-07-02 22:44:21.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-CPAN-Meta-Check
-Version: 0.011
+Version: 0.012
Release: 0
%define cpan_name CPAN-Meta-Check
Summary: Verify requirements in a CPAN::Meta object
@@ -32,12 +32,12 @@
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta) >= 2.120920
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.132830
-BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
+BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121000
BuildRequires: perl(Module::Metadata) >= 1.000023
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(CPAN::Meta::Prereqs) >= 2.132830
-Requires: perl(CPAN::Meta::Requirements) >= 2.121
+Requires: perl(CPAN::Meta::Requirements) >= 2.121000
Requires: perl(Module::Metadata) >= 1.000023
%{perl_requires}
++++++ CPAN-Meta-Check-0.011.tar.gz -> CPAN-Meta-Check-0.012.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/Changes new/CPAN-Meta-Check-0.012/Changes
--- old/CPAN-Meta-Check-0.011/Changes 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/Changes 2015-06-18 23:21:02.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for CPAN-Meta-Check
+0.012 2015-06-18 23:20:54+02:00 Europe/Amsterdam
+ Drop dependency on Exporter 5.57
+
0.011 2015-03-22 10:07:52+01:00 Europe/Amsterdam
Declare the minimum version required for the "merged_requirements" interface
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/META.json new/CPAN-Meta-Check-0.012/META.json
--- old/CPAN-Meta-Check-0.011/META.json 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/META.json 2015-06-18 23:21:02.000000000 +0200
@@ -34,8 +34,9 @@
"requires" : {
"CPAN::Meta::Prereqs" : "2.132830",
"CPAN::Meta::Requirements" : "2.121",
- "Exporter" : "5.57",
+ "Exporter" : "0",
"Module::Metadata" : "1.000023",
+ "base" : "0",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
@@ -53,7 +54,7 @@
"provides" : {
"CPAN::Meta::Check" : {
"file" : "lib/CPAN/Meta/Check.pm",
- "version" : "0.011"
+ "version" : "0.012"
}
},
"release_status" : "stable",
@@ -68,7 +69,7 @@
"web" : "https://github.com/Leont/cpan-meta-check"
}
},
- "version" : "0.011",
+ "version" : "0.012",
"x_contributors" : [
"David Steinbrunner <dsteinbrunner(a)pobox.com>",
"Karen Etheridge <ether(a)cpan.org>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/META.yml new/CPAN-Meta-Check-0.012/META.yml
--- old/CPAN-Meta-Check-0.011/META.yml 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/META.yml 2015-06-18 23:21:02.000000000 +0200
@@ -19,19 +19,20 @@
provides:
CPAN::Meta::Check:
file: lib/CPAN/Meta/Check.pm
- version: '0.011'
+ version: '0.012'
requires:
CPAN::Meta::Prereqs: '2.132830'
CPAN::Meta::Requirements: '2.121'
- Exporter: '5.57'
+ Exporter: '0'
Module::Metadata: '1.000023'
+ base: '0'
perl: '5.006'
strict: '0'
warnings: '0'
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-Check
repository: git://github.com/Leont/cpan-meta-check.git
-version: '0.011'
+version: '0.012'
x_contributors:
- 'David Steinbrunner <dsteinbrunner(a)pobox.com>'
- 'Karen Etheridge <ether(a)cpan.org>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/Makefile.PL new/CPAN-Meta-Check-0.012/Makefile.PL
--- old/CPAN-Meta-Check-0.011/Makefile.PL 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/Makefile.PL 2015-06-18 23:21:02.000000000 +0200
@@ -23,8 +23,9 @@
"PREREQ_PM" => {
"CPAN::Meta::Prereqs" => "2.132830",
"CPAN::Meta::Requirements" => "2.121",
- "Exporter" => "5.57",
+ "Exporter" => 0,
"Module::Metadata" => "1.000023",
+ "base" => 0,
"strict" => 0,
"warnings" => 0
},
@@ -34,7 +35,7 @@
"Test::Deep" => 0,
"Test::More" => "0.88"
},
- "VERSION" => "0.011",
+ "VERSION" => "0.012",
"test" => {
"TESTS" => "t/*.t"
}
@@ -46,11 +47,12 @@
"CPAN::Meta::Prereqs" => "2.132830",
"CPAN::Meta::Requirements" => "2.121",
"Env" => 0,
- "Exporter" => "5.57",
+ "Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"Module::Metadata" => "1.000023",
"Test::Deep" => 0,
"Test::More" => "0.88",
+ "base" => 0,
"strict" => 0,
"warnings" => 0
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/README new/CPAN-Meta-Check-0.012/README
--- old/CPAN-Meta-Check-0.011/README 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/README 2015-06-18 23:21:02.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution CPAN-Meta-Check,
-version 0.011:
+version 0.012:
Verify requirements in a CPAN::Meta object
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.011/lib/CPAN/Meta/Check.pm new/CPAN-Meta-Check-0.012/lib/CPAN/Meta/Check.pm
--- old/CPAN-Meta-Check-0.011/lib/CPAN/Meta/Check.pm 2015-03-22 10:08:00.000000000 +0100
+++ new/CPAN-Meta-Check-0.012/lib/CPAN/Meta/Check.pm 2015-06-18 23:21:02.000000000 +0200
@@ -1,9 +1,9 @@
package CPAN::Meta::Check;
-$CPAN::Meta::Check::VERSION = '0.011';
+$CPAN::Meta::Check::VERSION = '0.012';
use strict;
use warnings;
-use Exporter 5.57 'import';
+use base 'Exporter';
our @EXPORT = qw//;
our @EXPORT_OK = qw/check_requirements requirements_for verify_dependencies/;
our %EXPORT_TAGS = (all => [ @EXPORT, @EXPORT_OK ] );
@@ -76,7 +76,7 @@
=head1 VERSION
-version 0.011
+version 0.012
=head1 SYNOPSIS
1
0
Hello community,
here is the log from the commit of package perl-DBD-SQLite for openSUSE:Factory checked in at 2015-07-02 22:44:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBD-SQLite (Old)
and /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-SQLite"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBD-SQLite/perl-DBD-SQLite.changes 2015-04-25 21:16:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBD-SQLite.new/perl-DBD-SQLite.changes 2015-07-02 22:44:14.000000000 +0200
@@ -1,0 +2,38 @@
+Sun Jun 21 08:18:18 UTC 2015 - coolo(a)suse.com
+
+- updated to 1.48
+ see /usr/share/doc/packages/perl-DBD-SQLite/Changes
+
+ 1.48 2015-06-12
+ - Switched to a production version. (ISHIGAKI)
+
+ 1.47_05 2015-05-08
+ - Updated to SQLite 3.8.10
+
+ 1.47_04 2015-05-02
+ - Used MY_CXT instead of a global variable
+
+ 1.47_03 2015-04-16
+ - Added :all to EXPORT_TAGS in ::Constants
+
+ 1.47_02 2015-04-16
+ - Updated to SQLite 3.8.9
+ - Added DBD::SQLite::Constants, from which you can import any
+ "useful" constants into your applications.
+ - Removed previous Cygwin hack as SQLite 3.8.9 compiles well again
+ - Now create_function/aggregate accepts an extra bit
+ (SQLITE_DETERMINISTIC) for better performance.
+
+ 1.47_01 2015-02-17
+ *** (EXPERIMENTAL) CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***
+ - Commented OPTIMIZE out of WriteMakefile (RT #94207).
+ If your perl is not compiled with -O2, your DBD::SQLite may
+ possibly behave differently under some circumstances.
+ (This release is to find notable examples from CPAN Testers).
+ - Set THREADSAFE to 0 under Cygwin to cope with an upstream
+ regression since 3.8.7 (GH #7).
+
+ - Updated to SQLite 3.8.8.2
+ - Resolved #35449: Fast DBH->do (ptushnik, ISHIGAKI)
+
+-------------------------------------------------------------------
Old:
----
DBD-SQLite-1.46.tar.gz
New:
----
DBD-SQLite-1.48.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-SQLite.spec ++++++
--- /var/tmp/diff_new_pack.vR2asr/_old 2015-07-02 22:44:15.000000000 +0200
+++ /var/tmp/diff_new_pack.vR2asr/_new 2015-07-02 22:44:15.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-DBD-SQLite
-Version: 1.46
+Version: 1.48
Release: 0
%define cpan_name DBD-SQLite
Summary: Self-contained RDBMS in a DBI Driver
@@ -88,6 +88,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README util
+%doc Changes constants.inc LICENSE README
%changelog
++++++ DBD-SQLite-1.46.tar.gz -> DBD-SQLite-1.48.tar.gz ++++++
++++ 30279 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package perl-Unicode-LineBreak for openSUSE:Factory checked in at 2015-07-02 22:44:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Unicode-LineBreak (Old)
and /work/SRC/openSUSE:Factory/.perl-Unicode-LineBreak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Unicode-LineBreak"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Unicode-LineBreak/perl-Unicode-LineBreak.changes 2014-06-25 21:20:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Unicode-LineBreak.new/perl-Unicode-LineBreak.changes 2015-07-02 22:44:08.000000000 +0200
@@ -1,0 +2,13 @@
+Sun Jun 21 08:56:43 UTC 2015 - coolo(a)suse.com
+
+- updated to 2015.06
+ see /usr/share/doc/packages/perl-Unicode-LineBreak/Changes
+
+ 2015.06 Sun Jun 21 2015
+ # Unicode 8.0.0, bundled sombok 2.4.0.
+ ! lib/Unicode/LineBreak.pod
+ ! lib/POD2/JA/Unicode/LineBreak.pod
+ ! t/18currency.y
+ - add a change for U+20BE.
+
+-------------------------------------------------------------------
Old:
----
Unicode-LineBreak-2014.06.tar.gz
New:
----
Unicode-LineBreak-2015.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Unicode-LineBreak.spec ++++++
--- /var/tmp/diff_new_pack.9DWCbj/_old 2015-07-02 22:44:09.000000000 +0200
+++ /var/tmp/diff_new_pack.9DWCbj/_new 2015-07-02 22:44:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Unicode-LineBreak
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-Unicode-LineBreak
-Version: 2014.06
+Version: 2015.06
Release: 0
%define cpan_name Unicode-LineBreak
Summary: UAX #14 Unicode Line Breaking Algorithm
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Unicode-LineBreak/
-Source: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -39,7 +40,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -55,6 +55,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc ARTISTIC Changes Changes.REL1 GPL Makefile.PL.sombok perl-Unicode-LineBreak.spec README Todo.REL1
+%doc ARTISTIC Changes Changes.REL1 GPL Makefile.PL.sombok README Todo.REL1
%changelog
++++++ Unicode-LineBreak-2014.06.tar.gz -> Unicode-LineBreak-2015.06.tar.gz ++++++
++++ 12957 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package perl-Config-IniFiles for openSUSE:Factory checked in at 2015-07-02 22:44:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-IniFiles (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-IniFiles"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-IniFiles/perl-Config-IniFiles.changes 2015-04-25 21:16:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Config-IniFiles.new/perl-Config-IniFiles.changes 2015-07-02 22:44:02.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 18 17:36:02 UTC 2015 - coolo(a)suse.com
+
+- updated to 2.87
+ see /usr/share/doc/packages/perl-Config-IniFiles/Changes
+
+-------------------------------------------------------------------
Old:
----
Config-IniFiles-2.86.tar.gz
New:
----
Config-IniFiles-2.87.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-IniFiles.spec ++++++
--- /var/tmp/diff_new_pack.IyP8MO/_old 2015-07-02 22:44:03.000000000 +0200
+++ /var/tmp/diff_new_pack.IyP8MO/_new 2015-07-02 22:44:03.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Config-IniFiles
-Version: 2.86
+Version: 2.87
Release: 0
%define cpan_name Config-IniFiles
Summary: Module for Reading .Ini-Style Configuration Files
@@ -30,9 +30,9 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(List::MoreUtils) >= 0.33
+BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Module::Build) >= 0.360000
-Requires: perl(List::MoreUtils) >= 0.33
+Requires: perl(List::Util) >= 1.33
%{perl_requires}
%description
++++++ Config-IniFiles-2.86.tar.gz -> Config-IniFiles-2.87.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/Build.PL new/Config-IniFiles-2.87/Build.PL
--- old/Config-IniFiles-2.86/Build.PL 2015-04-14 09:55:34.000000000 +0200
+++ new/Config-IniFiles-2.87/Build.PL 2015-06-16 11:05:39.000000000 +0200
@@ -35,7 +35,7 @@
'Fcntl' => 0,
'File::Basename' => 0,
'File::Temp' => 0,
- 'List::MoreUtils' => '0.33',
+ 'List::Util' => '1.33',
},
create_makefile_pl => 'small',
meta_merge =>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/Changes new/Config-IniFiles-2.87/Changes
--- old/Config-IniFiles-2.86/Changes 2015-04-14 09:55:34.000000000 +0200
+++ new/Config-IniFiles-2.87/Changes 2015-06-16 11:05:39.000000000 +0200
@@ -1,21 +1,31 @@
-2.86 2015-04-14
+2.87 2015-06-16
+ * Replace List::MoreUtils with List::Util-1.33-or-above.
+ - We only used any() and none() which exist in List::Util too now.
+ - https://rt.cpan.org/Public/Bug/Display.html?id=104764
+ - Thanks to DBOOK for the report.
+ * Fix handling of trailing comments which contain their delimiters twice.
+ - E.g: "key=val ; comment ; further comment".
+ - https://rt.cpan.org/Ticket/Display.html?id=105255
+ - Thanks to Rohan Carly for the report and a test case.
+
+2.86 2015-04-14
* Hopefully fix tests in perls less than 5.14
- Failed on CPAN Tester reports such as:
- http://www.cpantesters.org/cpan/report/88707ece-e22d-11e4-a1d1-8536eb4f9f07
- Thanks to Slaven Rezic for pointing it to me.
-2.85 2015-04-13
+2.85 2015-04-13
* Convert "Changes" (= this file) to CPAN::Changes.
- Added t/cpan-changes.t in the process.
* Add OLD-Changes.txt for the old changes' log.
-2.84 2015-04-13
+2.84 2015-04-13
* Fix https://rt.cpan.org/Public/Bug/Display.html?id=103496
- Improperly update while using _write_config_with_a_made_fh
- Thanks to JORISD for the report, a proposed patch and a test case.
-2.83 2014-01-27
+2.83 2014-01-27
* Add a LICENSE file and section.
- Kwalitee.
@@ -23,38 +33,38 @@
* Minimum version is now perl-5.8.0.
- CPANTS Kwalitee.
-2.82 2013-05-21
+2.82 2013-05-21
* Add t/style-trailing-space.t .
- Remove trailing space.
-2.81 2013-05-16
+2.81 2013-05-16
* Add the CopySection method to copy a section.
- Thanks to James Rouzier.
-2.80 2013-05-14
+2.80 2013-05-14
* Add the RenameSection method to rename a section.
- Thanks to James Rouzier.
-2.79 2013-05-6
+2.79 2013-05-6
* Fix test failures with Pod-Simple-3.28:
- http://www.cpantesters.org/cpan/report/98f9d3a8-b557-11e2-9adc-3d5fc1508286
-2.78 2012-10-21
+2.78 2012-10-21
* Fix https://rt.cpan.org/Public/Bug/Display.html?id=80259:
- Warnings on undefined value in length in perl-5.10.x.
-2.77 2012-06-21
+2.77 2012-06-21
* Bump the List::MoreUtils dependency to '0.33'.
- https://rt.cpan.org/Ticket/Display.html?id=77930
- Thanks to TJENNESS for the report.
-2.76 2012-06-15
+2.76 2012-06-15
* Correct the documentation regarding the syntax of calling ->WriteConfig(),
which always accepts a mandatory filename and not just
@@ -62,21 +72,21 @@
- Thanks to the Mageia Linux QA team at:
- https://bugs.mageia.org/show_bug.cgi?id=6024#c17
-2.75 2012-05-25
+2.75 2012-05-25
* Add "=encoding utf8" to the POD of lib/Config/IniFiles.pm
- The POD contained wide characters and it is now an error in
with recent Test::Pod and Pod::Simple.
- See for example: http://www.cpantesters.org/cpan/report/89000ebe-a5bc-11e1-a439-fa78ab6c2661
-2.74 2012-05-24
+2.74 2012-05-24
* Made sure .ini files are output on Win32 with CR-LF pairs.
- Thanks to Ben Johnson for reporting the bug and for a preliminary
test script.
- Add t/32mswin-outputs-contain-crs.t
-2.73 2012-05-14
+2.73 2012-05-14
* Regression bug fix: temporary file creation error should generate a warning
and return undef() instead of throwing an exception.
@@ -84,7 +94,7 @@
- Thanks to Adam D. Barrat for noticing that, and Gregor Herrmann
from Debian for reporting this issue.
-2.72 2012-05-5
+2.72 2012-05-5
* More refactoring.
@@ -94,7 +104,7 @@
* Maintainer’s special birthday (5-May) release.
-2.71 2012-05-2
+2.71 2012-05-2
* SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename
with a predictable name ("${filename}-new") which opens the door for potential
@@ -107,7 +117,7 @@
* More refactoring.
-2.70 2012-04-6
+2.70 2012-04-6
* Fix the test dependency (in the new t/31comments_with_spaces.t test)
on IO::stringy (now writing it to a file).
@@ -117,7 +127,7 @@
* Modernized some of the open() calls in the test files.
- three args open, lexcial file handles, etc.
-2.69 2012-04-5
+2.69 2012-04-5
* Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid…
- "Trailing comments with whitespace are not recognised"
@@ -133,16 +143,16 @@
- Expand tabs to spaces.
- many other small changes.
-2.68 2011-06-21
+2.68 2011-06-21
* Typo correction: https://rt.cpan.org/Ticket/Display.html?id=69003
-2.67 2011-06-21
+2.67 2011-06-21
* Made sure that parameters with empty values will be written to the file.
- Fixes https://rt.cpan.org/Public/Bug/Display.html?id=68554 .
-2.66 2011-01-29
+2.66 2011-01-29
* Add support for the handle_trailing_comment option to support trailing
comments at the end of a param=value line.
@@ -151,20 +161,20 @@
- Some comments and corrections of the patch by Shlomi Fish (the current
Config-IniFiles maintainer.)
-2.65 2010-11-25
+2.65 2010-11-25
* Replaced calls to File::Temp's tempfile() with those to its tempdir()
followed by File::Spec->catfile() - hopefully fixes the CPAN smoking failures
on Win32.
-2.64 2010-11-20
+2.64 2010-11-20
* Fixed https://rt.cpan.org/Ticket/Display.html?id=63177
- tag-release.pl was installed into lib/Config by EU-MM. Converted the
Makefile.PL to a wrapper around Build.PL by using Module-Build's
create_makefile_pl='small' instead of create_makefile_pl='traditional' .
-2.63 2010-11-19
+2.63 2010-11-19
* Fixed https://rt.cpan.org/Ticket/Display.html?id=63079 by
refactoring/bug-fixing the main module into the _OutputParam method, which
@@ -175,7 +185,7 @@
reappearance of the bug was caused due to duplicate code, which was now
eliminated.
-2.62 2010-11-19
+2.62 2010-11-19
* Applied a modified version of Steven Haryanto's commit
ac6ace8bf09fabba4e6ea3b2826ff13cd30507bc :
@@ -191,7 +201,7 @@
-Applied a modified version of Steven Haryanto's commit
2181f438d40b54c290a2dda5627a244c6e467a7b
-2.61 2010-11-14
+2.61 2010-11-14
* Correct the opening comment on t/26scalar-filehandle.t to point to the right
bug URL and to include the title of the bug
@@ -202,14 +212,14 @@
is above 5.8.x - not that IO::Scalar is available, because we use
open my $fh, "<", \$buffer;
-2.60 2010-11-13
+2.60 2010-11-13
* Made t/19param-found-outside-section.t pass in case IO::Scalar is not
installed.
- We got many failing test reports due to that, like:
- http://www.cpantesters.org/cpan/report/eb3df0f4-eeb7-11df-b934-9430e12b63f3
-2.59 2010-11-12
+2.59 2010-11-12
* Applied a patch from "sharyanto" about enabling the -fallback parameter
to new for items outside any section.
@@ -217,7 +227,7 @@
* Add the tag-release.pl file to tag a release.
-2.58 2010-05-17
+2.58 2010-05-17
* Incorporated a fix for some broken POD.
- https://rt.cpan.org/Ticket/Display.html?id=51617
@@ -231,21 +241,21 @@
- https://rt.cpan.org/Ticket/Display.html?id=57536
- Thanks to Tom Molesworth for the patch.
-2.57 2010-03-1
+2.57 2010-03-1
* Fixed failure to read the ini file contents from a filehandle made out of a
scalar
- https://rt.cpan.org/Ticket/Display.html?id=45997
- Applied a patch by Nicolas Mendoza - thanks!
-2.56 2009-12-31
+2.56 2009-12-31
* Hopefully fixed the skip() in t/07misc.t
- https://rt.cpan.org/Public/Bug/Display.html?id=53238
- It was skip($num, $label) instead of skip($label, $num) and it
lacked a "SKIP:" label.
-2.55 2009-12-22
+2.55 2009-12-22
* Refactoring the tests:
- Converted t/05hash.t to Test::More and modernised it.
@@ -254,14 +264,14 @@
- Converted t/10delta.t to Test::More and modernised it.
- Add the t_unlink method.
-2.54 2009-11-18
+2.54 2009-11-18
* Adapted t/25line-endings.t to perl-5.6.x .
- http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026936.html
- Failure there.
- did that by replacing open ">:raw" with "binmode()".
-2.53 2009-11-13
+2.53 2009-11-13
* Converted t/01basic.t to Test::More and modernised it.
* Converted t/02weird.t to Test::More and modernised it.
@@ -271,7 +281,7 @@
- included t/25line-endings.t
- modified a little.
-2.52 2009-06-28
+2.52 2009-06-28
* Added more keys to Build.PL (author, etc.)
* Added resources and keywords to META.yml.
@@ -281,12 +291,12 @@
- replaced with Config::IniFiles->new().
- see "Perl Best Practices", "Programming Perl", 3rd Edition
-2.51 2009-06-8
+2.51 2009-06-8
* Fixed "#46721: $config->exists() does not pay attention to -nocase => 1"
- https://rt.cpan.org/Ticket/Display.html?id=46721
-2.50 2009-05-31
+2.50 2009-05-31
* Fixed the POD for SetParameterEOT:
- https://rt.cpan.org/Ticket/Display.html?id=28375
@@ -295,7 +305,7 @@
- http://rt.cpan.org/Ticket/Display.html?id=46549
- Documented the ->OutputConfig() method.
-2.49 2009-05-2
+2.49 2009-05-2
* Fixed bug https://rt.cpan.org/Public/Bug/Display.html?id=45209 :
- Makefile.PL lacked the empty "PL_FILES" directive.
@@ -304,7 +314,7 @@
- Failure to read ini file contents from a scalar (via "IO::Scalar").
- added t/23scalar-ref.t
-2.48 2009-04-7
+2.48 2009-04-7
* Fixed bug https://rt.cpan.org/Ticket/Display.html?id=30402 :
- Trailing comments at the end of the file are not written.
@@ -317,7 +327,7 @@
* Documented the old API in regards to bug #34067 - see above.
-2.47 2009-01-21
+2.47 2009-01-21
* Fixed bug https://rt.cpan.org/Ticket/Display.html?id=34067 :
- Multiline values returned as array references in tied hash interface
@@ -329,7 +339,7 @@
from t/lib where appropriate. See for example:
- http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3101788.html
-2.46 2009-01-17
+2.46 2009-01-17
* Added regression tests for bug #1720915
- https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=…
@@ -355,7 +365,7 @@
by newlines). It was documented and tested.
- https://rt.cpan.org/Ticket/Display.html?id=8612
-2.45 2008-12-27
+2.45 2008-12-27
* Fixed bug #1230339:
- https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=…
@@ -374,13 +384,13 @@
- multiline-values are tainted.
- Added a test as t/17untainted-multiline-values.t
-2.44 2008-12-25
+2.44 2008-12-25
* Eliminated an assignment of $VERSION into itself to "get rid of warnings".
Only caused warnings at Build.PL, and is unnecessary now that we
"use vars".
-2.43 2008-12-4
+2.43 2008-12-4
* Placed IniFiles.pm under lib/Config/IniFiles.pm.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/META.json new/Config-IniFiles-2.87/META.json
--- old/Config-IniFiles-2.86/META.json 2015-04-14 09:55:34.000000000 +0200
+++ new/Config-IniFiles-2.87/META.json 2015-06-16 11:05:39.000000000 +0200
@@ -47,7 +47,7 @@
"Fcntl" : "0",
"File::Basename" : "0",
"File::Temp" : "0",
- "List::MoreUtils" : "0.33",
+ "List::Util" : "1.33",
"Symbol" : "0",
"perl" : "5.008",
"strict" : "0",
@@ -58,7 +58,7 @@
"provides" : {
"Config::IniFiles" : {
"file" : "lib/Config/IniFiles.pm",
- "version" : "2.86"
+ "version" : "2.87"
}
},
"release_status" : "stable",
@@ -71,5 +71,5 @@
"url" : "https://bitbucket.org/shlomif/perl-config-inifiles"
}
},
- "version" : "2.86"
+ "version" : "2.87"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/META.yml new/Config-IniFiles-2.87/META.yml
--- old/Config-IniFiles-2.86/META.yml 2015-04-14 09:55:34.000000000 +0200
+++ new/Config-IniFiles-2.87/META.yml 2015-06-16 11:05:39.000000000 +0200
@@ -32,13 +32,13 @@
provides:
Config::IniFiles:
file: lib/Config/IniFiles.pm
- version: '2.86'
+ version: '2.87'
requires:
Carp: '0'
Fcntl: '0'
File::Basename: '0'
File::Temp: '0'
- List::MoreUtils: '0.33'
+ List::Util: '1.33'
Symbol: '0'
perl: '5.008'
strict: '0'
@@ -47,4 +47,4 @@
homepage: https://sourceforge.net/projects/config-inifiles/
license: http://dev.perl.org/licenses/
repository: https://bitbucket.org/shlomif/perl-config-inifiles
-version: '2.86'
+version: '2.87'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-IniFiles-2.86/lib/Config/IniFiles.pm new/Config-IniFiles-2.87/lib/Config/IniFiles.pm
--- old/Config-IniFiles-2.86/lib/Config/IniFiles.pm 2015-04-14 09:55:34.000000000 +0200
+++ new/Config-IniFiles-2.87/lib/Config/IniFiles.pm 2015-06-16 11:05:39.000000000 +0200
@@ -2,7 +2,7 @@
use vars qw($VERSION);
-$VERSION = '2.86';
+$VERSION = '2.87';
require 5.008;
use strict;
@@ -11,7 +11,7 @@
use Symbol 'gensym','qualify_to_ref'; # For the 'any data type' hack
use Fcntl qw( SEEK_SET SEEK_CUR );
-use List::MoreUtils qw(any none);
+use List::Util qw(any none);
use File::Basename qw( dirname );
use File::Temp qw/ tempfile /;
@@ -1083,7 +1083,7 @@
# we should split value and comments if there is any comment
if ($end_commenthandle and
- my ($value_to_assign, $end_comment_to_assign) = $self->_curr_val =~ /(.*?)\s*[$allCmt]\s*([^$allCmt]*)$/)
+ my ($value_to_assign, $end_comment_to_assign) = $self->_curr_val =~ /(.*?)\s*[$allCmt]\s*(.*)$/)
{
$self->_curr_val($value_to_assign);
$self->_curr_end_comment($end_comment_to_assign);
1
0
Hello community,
here is the log from the commit of package nodejs-readable-stream for openSUSE:Factory checked in at 2015-07-02 22:43:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-readable-stream (Old)
and /work/SRC/openSUSE:Factory/.nodejs-readable-stream.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-readable-stream"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-readable-stream/nodejs-readable-stream.changes 2015-04-27 13:02:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-readable-stream.new/nodejs-readable-stream.changes 2015-07-02 22:43:49.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun 30 09:48:07 UTC 2015 - i(a)marguerite.su
+
+- update version 1.1.13
+
+-------------------------------------------------------------------
+Fri Apr 24 12:44:03 UTC 2015 - hvogel(a)suse.com
+
+- Update to version 1.0.33
+
+-------------------------------------------------------------------
Old:
----
readable-stream-1.0.32.tgz
New:
----
readable-stream-1.1.13.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-readable-stream.spec ++++++
--- /var/tmp/diff_new_pack.zvaXU0/_old 2015-07-02 22:43:49.000000000 +0200
+++ /var/tmp/diff_new_pack.zvaXU0/_new 2015-07-02 22:43:49.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name readable-stream
Name: nodejs-readable-stream
-Version: 1.0.32
+Version: 1.1.13
Release: 0
Summary: Streams2, a user-land copy of the stream library from Node.js v0.10.x
License: MIT
@@ -51,7 +51,7 @@
%files
%defattr(-,root,root,-)
-%doc README.md
+%doc README.md LICENSE
%{nodejs_modulesdir}/%{base_name}
%changelog
++++++ readable-stream-1.0.32.tgz -> readable-stream-1.1.13.tgz ++++++
++++ 2106 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package nodejs-minimist for openSUSE:Factory checked in at 2015-07-02 22:43:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-minimist (Old)
and /work/SRC/openSUSE:Factory/.nodejs-minimist.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-minimist"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-minimist/nodejs-minimist.changes 2015-04-27 13:01:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-minimist.new/nodejs-minimist.changes 2015-07-02 22:43:31.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Jun 29 08:58:33 UTC 2015 - i(a)marguerite.su
+
+- revert to 0.0.8 for mkdirp
+
+-------------------------------------------------------------------
+Fri Jun 5 19:16:55 UTC 2015 - i(a)marguerite.su
+
+- update version 1.1.1
+
+-------------------------------------------------------------------
Old:
----
minimist-1.1.0.tgz
New:
----
minimist-0.0.8.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-minimist.spec ++++++
--- /var/tmp/diff_new_pack.Brla2D/_old 2015-07-02 22:43:31.000000000 +0200
+++ /var/tmp/diff_new_pack.Brla2D/_new 2015-07-02 22:43:31.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name minimist
Name: nodejs-minimist
-Version: 1.1.0
+Version: 0.0.8
Release: 0
Summary: Argument parsing
License: MIT
++++++ minimist-1.1.0.tgz -> minimist-0.0.8.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/index.js new/package/index.js
--- old/package/index.js 2014-08-11 04:08:52.000000000 +0200
+++ new/package/index.js 2014-02-21 05:46:01.000000000 +0100
@@ -1,19 +1,15 @@
module.exports = function (args, opts) {
if (!opts) opts = {};
- var flags = { bools : {}, strings : {}, unknownFn: null };
-
- if (typeof opts['unknown'] === 'function') {
- flags.unknownFn = opts['unknown'];
- }
-
- if (typeof opts['boolean'] === 'boolean' && opts['boolean']) {
- flags.allBools = true;
- } else {
- [].concat(opts['boolean']).filter(Boolean).forEach(function (key) {
- flags.bools[key] = true;
- });
- }
+ var flags = { bools : {}, strings : {} };
+
+ [].concat(opts['boolean']).filter(Boolean).forEach(function (key) {
+ flags.bools[key] = true;
+ });
+
+ [].concat(opts.string).filter(Boolean).forEach(function (key) {
+ flags.strings[key] = true;
+ });
var aliases = {};
Object.keys(opts.alias || {}).forEach(function (key) {
@@ -24,14 +20,7 @@
}));
});
});
-
- [].concat(opts.string).filter(Boolean).forEach(function (key) {
- flags.strings[key] = true;
- if (aliases[key]) {
- flags.strings[aliases[key]] = true;
- }
- });
-
+
var defaults = opts['default'] || {};
var argv = { _ : [] };
@@ -46,16 +35,7 @@
args = args.slice(0, args.indexOf('--'));
}
- function argDefined(key, arg) {
- return (flags.allBools && /^--[^=]+$/.test(arg)) ||
- flags.strings[key] || flags.bools[key] || aliases[key];
- }
-
- function setArg (key, val, arg) {
- if (arg && flags.unknownFn && !argDefined(key, arg)) {
- if (flags.unknownFn(arg) === false) return;
- }
-
+ function setArg (key, val) {
var value = !flags.strings[key] && isNumber(val)
? Number(val) : val
;
@@ -74,28 +54,27 @@
// 'dotall' regex modifier. See:
// http://stackoverflow.com/a/1068308/13216
var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
- setArg(m[1], m[2], arg);
+ setArg(m[1], m[2]);
}
else if (/^--no-.+/.test(arg)) {
var key = arg.match(/^--no-(.+)/)[1];
- setArg(key, false, arg);
+ setArg(key, false);
}
else if (/^--.+/.test(arg)) {
var key = arg.match(/^--(.+)/)[1];
var next = args[i + 1];
if (next !== undefined && !/^-/.test(next)
&& !flags.bools[key]
- && !flags.allBools
&& (aliases[key] ? !flags.bools[aliases[key]] : true)) {
- setArg(key, next, arg);
+ setArg(key, next);
i++;
}
else if (/^(true|false)$/.test(next)) {
- setArg(key, next === 'true', arg);
+ setArg(key, next === 'true');
i++;
}
else {
- setArg(key, flags.strings[key] ? '' : true, arg);
+ setArg(key, flags.strings[key] ? '' : true);
}
}
else if (/^-[^-]+/.test(arg)) {
@@ -106,24 +85,24 @@
var next = arg.slice(j+2);
if (next === '-') {
- setArg(letters[j], next, arg)
+ setArg(letters[j], next)
continue;
}
if (/[A-Za-z]/.test(letters[j])
&& /-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) {
- setArg(letters[j], next, arg);
+ setArg(letters[j], next);
broken = true;
break;
}
if (letters[j+1] && letters[j+1].match(/\W/)) {
- setArg(letters[j], arg.slice(j+2), arg);
+ setArg(letters[j], arg.slice(j+2));
broken = true;
break;
}
else {
- setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg);
+ setArg(letters[j], flags.strings[letters[j]] ? '' : true);
}
}
@@ -132,28 +111,22 @@
if (args[i+1] && !/^(-|--)[^-]/.test(args[i+1])
&& !flags.bools[key]
&& (aliases[key] ? !flags.bools[aliases[key]] : true)) {
- setArg(key, args[i+1], arg);
+ setArg(key, args[i+1]);
i++;
}
else if (args[i+1] && /true|false/.test(args[i+1])) {
- setArg(key, args[i+1] === 'true', arg);
+ setArg(key, args[i+1] === 'true');
i++;
}
else {
- setArg(key, flags.strings[key] ? '' : true, arg);
+ setArg(key, flags.strings[key] ? '' : true);
}
}
}
else {
- if (!flags.unknownFn || flags.unknownFn(arg) !== false) {
- argv._.push(
- flags.strings['_'] || !isNumber(arg) ? arg : Number(arg)
- );
- }
- if (opts.stopEarly) {
- argv._.push.apply(argv._, args.slice(i + 1));
- break;
- }
+ argv._.push(
+ flags.strings['_'] || !isNumber(arg) ? arg : Number(arg)
+ );
}
}
@@ -167,17 +140,9 @@
}
});
- if (opts['--']) {
- argv['--'] = new Array();
- notFlags.forEach(function(key) {
- argv['--'].push(key);
- });
- }
- else {
- notFlags.forEach(function(key) {
- argv._.push(key);
- });
- }
+ notFlags.forEach(function(key) {
+ argv._.push(key);
+ });
return argv;
};
@@ -217,3 +182,6 @@
return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
}
+function longest (xs) {
+ return Math.max.apply(null, xs.map(function (x) { return x.length }));
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-08-11 05:18:21.000000000 +0200
+++ new/package/package.json 2014-02-21 05:46:10.000000000 +0100
@@ -1,42 +1,40 @@
{
- "name": "minimist",
- "version": "1.1.0",
- "description": "parse argument options",
- "main": "index.js",
- "devDependencies": {
- "tape": "~1.0.4",
- "tap": "~0.4.0",
- "covert": "^1.0.0"
- },
- "scripts": {
- "test": "tap test/*.js",
- "coverage": "covert test/*.js"
- },
- "testling" : {
- "files" : "test/*.js",
- "browsers" : [
- "ie/6..latest",
- "ff/5", "firefox/latest",
- "chrome/10", "chrome/latest",
- "safari/5.1", "safari/latest",
- "opera/12"
- ]
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/minimist.git"
- },
- "homepage": "https://github.com/substack/minimist",
- "keywords": [
- "argv",
- "getopt",
- "parser",
- "optimist"
- ],
- "author": {
- "name": "James Halliday",
- "email": "mail(a)substack.net",
- "url": "http://substack.net"
- },
- "license": "MIT"
+ "name": "minimist",
+ "version": "0.0.8",
+ "description": "parse argument options",
+ "main": "index.js",
+ "devDependencies": {
+ "tape": "~1.0.4",
+ "tap": "~0.4.0"
+ },
+ "scripts": {
+ "test": "tap test/*.js"
+ },
+ "testling" : {
+ "files" : "test/*.js",
+ "browsers" : [
+ "ie/6..latest",
+ "ff/5", "firefox/latest",
+ "chrome/10", "chrome/latest",
+ "safari/5.1", "safari/latest",
+ "opera/12"
+ ]
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/substack/minimist.git"
+ },
+ "homepage": "https://github.com/substack/minimist",
+ "keywords": [
+ "argv",
+ "getopt",
+ "parser",
+ "optimist"
+ ],
+ "author": {
+ "name": "James Halliday",
+ "email": "mail(a)substack.net",
+ "url": "http://substack.net"
+ },
+ "license": "MIT"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/readme.markdown new/package/readme.markdown
--- old/package/readme.markdown 2014-08-11 04:08:52.000000000 +0200
+++ new/package/readme.markdown 2013-06-25 10:16:36.000000000 +0200
@@ -55,28 +55,10 @@
* `opts.string` - a string or array of strings argument names to always treat as
strings
-* `opts.boolean` - a boolean, string or array of strings to always treat as
-booleans. if `true` will treat all double hyphenated arguments without equal signs
-as boolean (e.g. affects `--foo`, not `-f` or `--foo=bar`)
+* `opts.boolean` - a string or array of strings to always treat as booleans
* `opts.alias` - an object mapping string names to strings or arrays of string
argument names to use as aliases
* `opts.default` - an object mapping string argument names to default values
-* `opts.stopEarly` - when true, populate `argv._` with everything after the
-first non-option
-* `opts['--']` - when true, populate `argv._` with everything before the `--`
-and `argv['--']` with everything after the `--`. Here's an example:
-* `opts.unknown` - a function which is invoked with a command line parameter not
-defined in the `opts` configuration object. If the function returns `false`, the
-unknown option is not added to `argv`.
-
-```
-> require('./')('one two three -- four five --six'.split(' '), { '--': true })
-{ _: [ 'one', 'two', 'three' ],
- '--': [ 'four', 'five', '--six' ] }
-```
-
-Note that with `opts['--']` set, parsing for arguments still stops after the
-`--`.
# install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/all_bool.js new/package/test/all_bool.js
--- old/package/test/all_bool.js 2014-06-19 16:56:18.000000000 +0200
+++ new/package/test/all_bool.js 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('flag boolean true (default all --args to boolean)', function (t) {
- var argv = parse(['moo', '--honk', 'cow'], {
- boolean: true
- });
-
- t.deepEqual(argv, {
- honk: true,
- _: ['moo', 'cow']
- });
-
- t.deepEqual(typeof argv.honk, 'boolean');
- t.end();
-});
-
-test('flag boolean true only affects double hyphen arguments without equals signs', function (t) {
- var argv = parse(['moo', '--honk', 'cow', '-p', '55', '--tacos=good'], {
- boolean: true
- });
-
- t.deepEqual(argv, {
- honk: true,
- tacos: 'good',
- p: '55',
- _: ['moo', 'cow']
- });
-
- t.deepEqual(typeof argv.honk, 'boolean');
- t.end();
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/bool.js new/package/test/bool.js
--- old/package/test/bool.js 2014-05-11 23:42:12.000000000 +0200
+++ new/package/test/bool.js 1970-01-01 01:00:00.000000000 +0100
@@ -1,119 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('flag boolean default false', function (t) {
- var argv = parse(['moo'], {
- boolean: ['t', 'verbose'],
- default: { verbose: false, t: false }
- });
-
- t.deepEqual(argv, {
- verbose: false,
- t: false,
- _: ['moo']
- });
-
- t.deepEqual(typeof argv.verbose, 'boolean');
- t.deepEqual(typeof argv.t, 'boolean');
- t.end();
-
-});
-
-test('boolean groups', function (t) {
- var argv = parse([ '-x', '-z', 'one', 'two', 'three' ], {
- boolean: ['x','y','z']
- });
-
- t.deepEqual(argv, {
- x : true,
- y : false,
- z : true,
- _ : [ 'one', 'two', 'three' ]
- });
-
- t.deepEqual(typeof argv.x, 'boolean');
- t.deepEqual(typeof argv.y, 'boolean');
- t.deepEqual(typeof argv.z, 'boolean');
- t.end();
-});
-test('boolean and alias with chainable api', function (t) {
- var aliased = [ '-h', 'derp' ];
- var regular = [ '--herp', 'derp' ];
- var opts = {
- herp: { alias: 'h', boolean: true }
- };
- var aliasedArgv = parse(aliased, {
- boolean: 'herp',
- alias: { h: 'herp' }
- });
- var propertyArgv = parse(regular, {
- boolean: 'herp',
- alias: { h: 'herp' }
- });
- var expected = {
- herp: true,
- h: true,
- '_': [ 'derp' ]
- };
-
- t.same(aliasedArgv, expected);
- t.same(propertyArgv, expected);
- t.end();
-});
-
-test('boolean and alias with options hash', function (t) {
- var aliased = [ '-h', 'derp' ];
- var regular = [ '--herp', 'derp' ];
- var opts = {
- alias: { 'h': 'herp' },
- boolean: 'herp'
- };
- var aliasedArgv = parse(aliased, opts);
- var propertyArgv = parse(regular, opts);
- var expected = {
- herp: true,
- h: true,
- '_': [ 'derp' ]
- };
- t.same(aliasedArgv, expected);
- t.same(propertyArgv, expected);
- t.end();
-});
-
-test('boolean and alias using explicit true', function (t) {
- var aliased = [ '-h', 'true' ];
- var regular = [ '--herp', 'true' ];
- var opts = {
- alias: { h: 'herp' },
- boolean: 'h'
- };
- var aliasedArgv = parse(aliased, opts);
- var propertyArgv = parse(regular, opts);
- var expected = {
- herp: true,
- h: true,
- '_': [ ]
- };
-
- t.same(aliasedArgv, expected);
- t.same(propertyArgv, expected);
- t.end();
-});
-
-// regression, see https://github.com/substack/node-optimist/issues/71
-test('boolean and --x=true', function(t) {
- var parsed = parse(['--boool', '--other=true'], {
- boolean: 'boool'
- });
-
- t.same(parsed.boool, true);
- t.same(parsed.other, 'true');
-
- parsed = parse(['--boool', '--other=false'], {
- boolean: 'boool'
- });
-
- t.same(parsed.boool, true);
- t.same(parsed.other, 'false');
- t.end();
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/dash.js new/package/test/dash.js
--- old/package/test/dash.js 2014-05-12 03:16:28.000000000 +0200
+++ new/package/test/dash.js 2014-01-10 19:26:37.000000000 +0100
@@ -22,10 +22,3 @@
t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
});
-
-test('move arguments after the -- into their own `--` array', function(t) {
- t.plan(1);
- t.deepEqual(
- parse([ '--name', 'John', 'before', '--', 'after' ], { '--': true }),
- { name: 'John', _: [ 'before' ], '--': [ 'after' ] });
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/dotted.js new/package/test/dotted.js
--- old/package/test/dotted.js 2014-05-11 23:37:47.000000000 +0200
+++ new/package/test/dotted.js 2013-08-29 00:57:59.000000000 +0200
@@ -14,9 +14,3 @@
t.equal(argv.aa.bb, 11);
t.end();
});
-
-test('dotted default with no alias', function (t) {
- var argv = parse('', {default: {'a.b': 11}});
- t.equal(argv.a.b, 11);
- t.end();
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/num.js new/package/test/num.js
--- old/package/test/num.js 2014-05-11 23:40:19.000000000 +0200
+++ new/package/test/num.js 1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('nums', function (t) {
- var argv = parse([
- '-x', '1234',
- '-y', '5.67',
- '-z', '1e7',
- '-w', '10f',
- '--hex', '0xdeadbeef',
- '789'
- ]);
- t.deepEqual(argv, {
- x : 1234,
- y : 5.67,
- z : 1e7,
- w : '10f',
- hex : 0xdeadbeef,
- _ : [ 789 ]
- });
- t.deepEqual(typeof argv.x, 'number');
- t.deepEqual(typeof argv.y, 'number');
- t.deepEqual(typeof argv.z, 'number');
- t.deepEqual(typeof argv.w, 'string');
- t.deepEqual(typeof argv.hex, 'number');
- t.deepEqual(typeof argv._[0], 'number');
- t.end();
-});
-
-test('already a number', function (t) {
- var argv = parse([ '-x', 1234, 789 ]);
- t.deepEqual(argv, { x : 1234, _ : [ 789 ] });
- t.deepEqual(typeof argv.x, 'number');
- t.deepEqual(typeof argv._[0], 'number');
- t.end();
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/parse.js new/package/test/parse.js
--- old/package/test/parse.js 2014-05-11 23:42:14.000000000 +0200
+++ new/package/test/parse.js 2014-02-21 05:46:01.000000000 +0100
@@ -42,6 +42,32 @@
t.end();
});
+test('nums', function (t) {
+ var argv = parse([
+ '-x', '1234',
+ '-y', '5.67',
+ '-z', '1e7',
+ '-w', '10f',
+ '--hex', '0xdeadbeef',
+ '789'
+ ]);
+ t.deepEqual(argv, {
+ x : 1234,
+ y : 5.67,
+ z : 1e7,
+ w : '10f',
+ hex : 0xdeadbeef,
+ _ : [ 789 ]
+ });
+ t.deepEqual(typeof argv.x, 'number');
+ t.deepEqual(typeof argv.y, 'number');
+ t.deepEqual(typeof argv.z, 'number');
+ t.deepEqual(typeof argv.w, 'string');
+ t.deepEqual(typeof argv.hex, 'number');
+ t.deepEqual(typeof argv._[0], 'number');
+ t.end();
+});
+
test('flag boolean', function (t) {
var argv = parse([ '-t', 'moo' ], { boolean: 't' });
t.deepEqual(argv, { t : true, _ : [ 'moo' ] });
@@ -66,6 +92,42 @@
t.end();
});
+test('flag boolean default false', function (t) {
+ var argv = parse(['moo'], {
+ boolean: ['t', 'verbose'],
+ default: { verbose: false, t: false }
+ });
+
+ t.deepEqual(argv, {
+ verbose: false,
+ t: false,
+ _: ['moo']
+ });
+
+ t.deepEqual(typeof argv.verbose, 'boolean');
+ t.deepEqual(typeof argv.t, 'boolean');
+ t.end();
+
+});
+
+test('boolean groups', function (t) {
+ var argv = parse([ '-x', '-z', 'one', 'two', 'three' ], {
+ boolean: ['x','y','z']
+ });
+
+ t.deepEqual(argv, {
+ x : true,
+ y : false,
+ z : true,
+ _ : [ 'one', 'two', 'three' ]
+ });
+
+ t.deepEqual(typeof argv.x, 'boolean');
+ t.deepEqual(typeof argv.y, 'boolean');
+ t.deepEqual(typeof argv.z, 'boolean');
+ t.end();
+});
+
test('newlines in params' , function (t) {
var args = parse([ '-s', "X\nX" ])
t.deepEqual(args, { _ : [], s : "X\nX" });
@@ -121,29 +183,6 @@
});
-test('string and alias', function(t) {
- var x = parse([ '--str', '000123' ], {
- string: 's',
- alias: { s: 'str' }
- });
-
- t.equal(x.str, '000123');
- t.equal(typeof x.str, 'string');
- t.equal(x.s, '000123');
- t.equal(typeof x.s, 'string');
-
- var y = parse([ '-s', '000123' ], {
- string: 'str',
- alias: { str: 's' }
- });
-
- t.equal(y.str, '000123');
- t.equal(typeof y.str, 'string');
- t.equal(y.s, '000123');
- t.equal(typeof y.s, 'string');
- t.end();
-});
-
test('slashBreak', function (t) {
t.same(
parse([ '-I/foo/bar/baz' ]),
@@ -195,3 +234,85 @@
t.same(argv.beep, { boop : true });
t.end();
});
+
+test('boolean and alias with chainable api', function (t) {
+ var aliased = [ '-h', 'derp' ];
+ var regular = [ '--herp', 'derp' ];
+ var opts = {
+ herp: { alias: 'h', boolean: true }
+ };
+ var aliasedArgv = parse(aliased, {
+ boolean: 'herp',
+ alias: { h: 'herp' }
+ });
+ var propertyArgv = parse(regular, {
+ boolean: 'herp',
+ alias: { h: 'herp' }
+ });
+ var expected = {
+ herp: true,
+ h: true,
+ '_': [ 'derp' ]
+ };
+
+ t.same(aliasedArgv, expected);
+ t.same(propertyArgv, expected);
+ t.end();
+});
+
+test('boolean and alias with options hash', function (t) {
+ var aliased = [ '-h', 'derp' ];
+ var regular = [ '--herp', 'derp' ];
+ var opts = {
+ alias: { 'h': 'herp' },
+ boolean: 'herp'
+ };
+ var aliasedArgv = parse(aliased, opts);
+ var propertyArgv = parse(regular, opts);
+ var expected = {
+ herp: true,
+ h: true,
+ '_': [ 'derp' ]
+ };
+ t.same(aliasedArgv, expected);
+ t.same(propertyArgv, expected);
+ t.end();
+});
+
+test('boolean and alias using explicit true', function (t) {
+ var aliased = [ '-h', 'true' ];
+ var regular = [ '--herp', 'true' ];
+ var opts = {
+ alias: { h: 'herp' },
+ boolean: 'h'
+ };
+ var aliasedArgv = parse(aliased, opts);
+ var propertyArgv = parse(regular, opts);
+ var expected = {
+ herp: true,
+ h: true,
+ '_': [ ]
+ };
+
+ t.same(aliasedArgv, expected);
+ t.same(propertyArgv, expected);
+ t.end();
+});
+
+// regression, see https://github.com/substack/node-optimist/issues/71
+test('boolean and --x=true', function(t) {
+ var parsed = parse(['--boool', '--other=true'], {
+ boolean: 'boool'
+ });
+
+ t.same(parsed.boool, true);
+ t.same(parsed.other, 'true');
+
+ parsed = parse(['--boool', '--other=false'], {
+ boolean: 'boool'
+ });
+
+ t.same(parsed.boool, true);
+ t.same(parsed.other, 'false');
+ t.end();
+});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/stop_early.js new/package/test/stop_early.js
--- old/package/test/stop_early.js 2014-08-11 03:07:13.000000000 +0200
+++ new/package/test/stop_early.js 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('stops parsing on the first non-option when stopEarly is set', function (t) {
- var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
- stopEarly: true
- });
-
- t.deepEqual(argv, {
- aaa: 'bbb',
- _: ['ccc', '--ddd']
- });
-
- t.end();
-});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/unknown.js new/package/test/unknown.js
--- old/package/test/unknown.js 2014-08-11 04:10:40.000000000 +0200
+++ new/package/test/unknown.js 1970-01-01 01:00:00.000000000 +0100
@@ -1,102 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('boolean and alias is not unknown', function (t) {
- var unknown = [];
- function unknownFn(arg) {
- unknown.push(arg);
- return false;
- }
- var aliased = [ '-h', 'true', '--derp', 'true' ];
- var regular = [ '--herp', 'true', '-d', 'true' ];
- var opts = {
- alias: { h: 'herp' },
- boolean: 'h',
- unknown: unknownFn
- };
- var aliasedArgv = parse(aliased, opts);
- var propertyArgv = parse(regular, opts);
-
- t.same(unknown, ['--derp', '-d']);
- t.end();
-});
-
-test('flag boolean true any double hyphen argument is not unknown', function (t) {
- var unknown = [];
- function unknownFn(arg) {
- unknown.push(arg);
- return false;
- }
- var argv = parse(['--honk', '--tacos=good', 'cow', '-p', '55'], {
- boolean: true,
- unknown: unknownFn
- });
- t.same(unknown, ['--tacos=good', 'cow', '-p']);
- t.same(argv, {
- honk: true,
- _: []
- });
- t.end();
-});
-
-test('string and alias is not unknown', function (t) {
- var unknown = [];
- function unknownFn(arg) {
- unknown.push(arg);
- return false;
- }
- var aliased = [ '-h', 'hello', '--derp', 'goodbye' ];
- var regular = [ '--herp', 'hello', '-d', 'moon' ];
- var opts = {
- alias: { h: 'herp' },
- string: 'h',
- unknown: unknownFn
- };
- var aliasedArgv = parse(aliased, opts);
- var propertyArgv = parse(regular, opts);
-
- t.same(unknown, ['--derp', '-d']);
- t.end();
-});
-
-test('default and alias is not unknown', function (t) {
- var unknown = [];
- function unknownFn(arg) {
- unknown.push(arg);
- return false;
- }
- var aliased = [ '-h', 'hello' ];
- var regular = [ '--herp', 'hello' ];
- var opts = {
- default: { 'h': 'bar' },
- alias: { 'h': 'herp' },
- unknown: unknownFn
- };
- var aliasedArgv = parse(aliased, opts);
- var propertyArgv = parse(regular, opts);
-
- t.same(unknown, []);
- t.end();
- unknownFn(); // exercise fn for 100% coverage
-});
-
-test('value following -- is not unknown', function (t) {
- var unknown = [];
- function unknownFn(arg) {
- unknown.push(arg);
- return false;
- }
- var aliased = [ '--bad', '--', 'good', 'arg' ];
- var opts = {
- '--': true,
- unknown: unknownFn
- };
- var argv = parse(aliased, opts);
-
- t.same(unknown, ['--bad']);
- t.same(argv, {
- '--': ['good', 'arg'],
- '_': []
- })
- t.end();
-});
1
0