]> granicus.if.org Git - pgbadger/commitdiff
Update ChangelLog and version to 10.1
authorGilles Darold <gilles@darold.net>
Wed, 12 Sep 2018 19:19:47 +0000 (21:19 +0200)
committerGilles Darold <gilles@darold.net>
Wed, 12 Sep 2018 19:19:47 +0000 (21:19 +0200)
ChangeLog
META.yml
Makefile.PL [deleted file]
pgbadger

index 2e841c7a2b97a1255bfa31166029d136e83aba70..941366c5b78e17c7c61825ee6ce90e5303276ee9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+2018-09-12 - v10.1
+
+This release of pgBadger is a maintenance release that fixes reports
+in incremental mode and multiprocess with -j option. Log parsing from
+standard input was also broken. If you are using v10.0 please upgrade
+now.
+
+  - Add test on pgbouncer log parser.
+  - Some little performances improvment.
+  - Fix not a valid file descriptor at pgbadger line 12314.
+  - Fix unwanted newline in progressbar at startup.
+  - Remove circleci files from the project.
+  - Remove dependency of bats and jq for the test suite, they are
+    replaced with Test::Simple and JSON::XS.
+  - Add more tests especially for incremental mode and input from
+    stdin that was broken in release 10.0.
+  - Sync pgbadger, pod, and README, and fix some syntax errors.
+    Thanks to Christoph Berg for the patch.
+  - Add documentation on how to install Perl module JSON::XS from
+    apt and yum repositories.
+  - Fix URI for CSS in incremental mode. Thanks to Floris van Nee
+    for the report.
+  - Fix fatal error when looking for log from STDIN. Thanks to
+    Jacek Szpot for the report.
+  - Fixes SED use for OSX builds. Thanks to Steve Newson for the
+    patch.
+  - Fix illegal division by zero in incrental mode. Thanks to
+    aleszeleny for the report.
+  - Replace SQL::Beautify with v3.1 of pgFormatter::Beautify.
+
 2018-09-09 - v10.0
 
 This release of pgBadger is a major release that adds some new
index f94a76f85292d4ec39f1ff685f044310382c2f06..05ba8f165f4a1d3e8065c9591b11699fadbd73d8 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,5 +1,5 @@
 name:         pgBadger
-version:      10.0
+version:      10.1
 version_from: pgbadger
 installdirs:  site
 recommends:
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644 (file)
index 9770728..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-
-use strict;
-
-my @ALLOWED_ARGS = ('INSTALLDIRS','DESTDIR');
-
-# Parse command line arguments and store them as environment variables
-while ($_ = shift) {
-       my ($k,$v) = split(/=/, $_, 2);
-       if (grep(/^$k$/, @ALLOWED_ARGS)) {
-               $ENV{$k} = $v;
-       }
-}
-$ENV{DESTDIR} =~ s/\/$//;
-
-# Default install path
-my $DESTDIR = $ENV{DESTDIR} || '';
-my $INSTALLDIRS = $ENV{INSTALLDIRS} || 'site';
-my %merge_compat = ();
-
-if ($ExtUtils::MakeMaker::VERSION >= 6.46) {
-       %merge_compat = (
-               'META_MERGE'   => {
-                       resources  => {
-                               homepage => 'http://pgbadger.darold.net/',
-                               repository  => {
-                                       type => 'git',
-                                       git => 'git@github.com:darold/pgbadger.git',
-                                       web => 'https://github.com/darold/pgbadger',
-                               },
-                       },
-               }
-       );
-}
-
-sub MY::postamble {
-    return <<'EOMAKE';
-README: doc/pgBadger.pod
-       pod2text $^ > $@
-
-.INTERMEDIATE: doc/synopsis.pod
-doc/synopsis.pod: Makefile pgbadger
-       echo "=head1 SYNOPSIS" > $@
-       ./pgbadger --help >> $@
-       echo "=head1 DESCRIPTION" >> $@
-       sed -i.bak 's/ +$$//g' $@
-       rm $@.bak
-
-.PHONY: doc/pgBadger.pod
-doc/pgBadger.pod: doc/synopsis.pod Makefile
-       sed -i.bak '/^=head1 SYNOPSIS/,/^=head1 DESCRIPTION/d' $@
-       sed -i.bak '4r $<' $@
-       rm $@.bak
-EOMAKE
-}
-
-WriteMakefile(
-       'DISTNAME'      => 'pgbadger',
-       'NAME'          => 'pgBadger',
-       'VERSION_FROM'  => 'pgbadger',
-       'dist'  => {
-                       'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
-                       'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'
-                  },
-       'AUTHOR'       => 'Gilles Darold (gilles@darold.net)',
-       'ABSTRACT'     => 'pgBadger - PostgreSQL log analysis report',
-       'EXE_FILES'    => [ qw(pgbadger) ],
-       'MAN1PODS'     => { 'doc/pgBadger.pod' => 'blib/man1/pgbadger.1p' },
-       'DESTDIR'      => $DESTDIR,
-       'INSTALLDIRS'  => $INSTALLDIRS,
-       'clean'        => {},
-       %merge_compat
-);
index 4480cb19f04718f68bae04040d28a3c5f185fe17..02c72d00c263390e18616107da81bde7a6c738f7 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -51,7 +51,7 @@ use FileHandle;
 use Socket;
 use constant EBCDIC => "\t" ne "\011";
 
-$VERSION = '10.0';
+$VERSION = '10.1';
 
 $SIG{'CHLD'} = 'DEFAULT';