RM-1153 - Percona Toolkit 3.5.1

Updated version for Perl files to 3.5.1
Updated Perl module Percona::Toolkit to version 3.5.1 and updated all scripts using this module
Manually updated Go programs
Moved ONLY_UPDATE_VERSION after definition of DATE and SERIES variables, so the script does not fail because of undefined variables
This commit is contained in:
svetasmirnova
2023-01-17 12:20:25 +03:00
parent 2f584c85db
commit 4a33e5e52b
42 changed files with 64 additions and 64 deletions

View File

@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
WriteMakefile( WriteMakefile(
NAME => 'Percona::Toolkit', NAME => 'Percona::Toolkit',
VERSION => '3.5.0', VERSION => '3.5.1',
EXE_FILES => [ <bin/*> ], EXE_FILES => [ <bin/*> ],
MAN1PODS => { MAN1PODS => {
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p', 'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',

View File

@@ -1364,6 +1364,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-align 3.5.0 pt-align 3.5.1
=cut =cut

View File

@@ -45,7 +45,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -8729,6 +8729,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-archiver 3.5.0 pt-archiver 3.5.1
=cut =cut

View File

@@ -43,7 +43,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5999,6 +5999,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-config-diff 3.5.0 pt-config-diff 3.5.1
=cut =cut

View File

@@ -42,7 +42,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5776,6 +5776,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-deadlock-logger 3.5.0 pt-deadlock-logger 3.5.1
=cut =cut

View File

@@ -38,7 +38,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5692,6 +5692,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-diskstats 3.5.0 pt-diskstats 3.5.1
=cut =cut

View File

@@ -39,7 +39,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5787,6 +5787,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-duplicate-key-checker 3.5.0 pt-duplicate-key-checker 3.5.1
=cut =cut

View File

@@ -1708,6 +1708,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fifo-split 3.5.0 pt-fifo-split 3.5.1
=cut =cut

View File

@@ -35,7 +35,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5202,6 +5202,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-find 3.5.0 pt-find 3.5.1
=cut =cut

View File

@@ -2271,6 +2271,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fingerprint 3.5.0 pt-fingerprint 3.5.1
=cut =cut

View File

@@ -37,7 +37,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -4763,6 +4763,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-fk-error-logger 3.5.0 pt-fk-error-logger 3.5.1
=cut =cut

View File

@@ -44,7 +44,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -7460,6 +7460,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-heartbeat 3.5.0 pt-heartbeat 3.5.1
=cut =cut

View File

@@ -45,7 +45,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -7732,6 +7732,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-index-usage 3.5.0 pt-index-usage 3.5.1
=cut =cut

View File

@@ -1132,7 +1132,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-ioprofile 3.5.0 pt-ioprofile 3.5.1
=cut =cut

View File

@@ -47,7 +47,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -8734,6 +8734,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-kill 3.5.0 pt-kill 3.5.1
=cut =cut

View File

@@ -808,7 +808,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-mext 3.5.0 pt-mext 3.5.1
=cut =cut

View File

@@ -3294,7 +3294,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-mysql-summary 3.5.0 pt-mysql-summary 3.5.1
=cut =cut

View File

@@ -56,7 +56,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -13467,6 +13467,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-online-schema-change 3.5.0 pt-online-schema-change 3.5.1
=cut =cut

View File

@@ -901,7 +901,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-pmp 3.5.0 pt-pmp 3.5.1
=cut =cut

View File

@@ -64,7 +64,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -16977,6 +16977,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-query-digest 3.5.0 pt-query-digest 3.5.1
=cut =cut

View File

@@ -2673,6 +2673,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-show-grants 3.5.0 pt-show-grants 3.5.1
=cut =cut

View File

@@ -1249,7 +1249,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-sift 3.5.0 pt-sift 3.5.1
=cut =cut

View File

@@ -40,7 +40,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -5061,6 +5061,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-delay 3.5.0 pt-slave-delay 3.5.1
=cut =cut

View File

@@ -4581,6 +4581,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-find 3.5.0 pt-slave-find 3.5.1
=cut =cut

View File

@@ -41,7 +41,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -6232,6 +6232,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-slave-restart 3.5.0 pt-slave-restart 3.5.1
=cut =cut

View File

@@ -2552,7 +2552,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-stalk 3.5.0 pt-stalk 3.5.1
=cut =cut

View File

@@ -2769,7 +2769,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-summary 3.5.0 pt-summary 3.5.1
=cut =cut

View File

@@ -58,7 +58,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -14129,6 +14129,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-checksum 3.5.0 pt-table-checksum 3.5.1
=cut =cut

View File

@@ -55,7 +55,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -13165,6 +13165,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-sync 3.5.0 pt-table-sync 3.5.1
=cut =cut

View File

@@ -8519,6 +8519,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-table-usage 3.5.0 pt-table-usage 3.5.1
=cut =cut

View File

@@ -61,7 +61,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -11516,6 +11516,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-upgrade 3.5.0 pt-upgrade 3.5.1
=cut =cut

View File

@@ -44,7 +44,7 @@ BEGIN {
{ {
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';
@@ -6326,6 +6326,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-variable-advisor 3.5.0 pt-variable-advisor 3.5.1
=cut =cut

View File

@@ -3308,6 +3308,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
pt-visual-explain 3.5.0 pt-visual-explain 3.5.1
=cut =cut

View File

@@ -50,7 +50,7 @@ copyright = u'2022, Percona LLC and/or its affiliates'
# The short X.Y version. # The short X.Y version.
version = '3.5' version = '3.5'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '3.5.0' release = '3.5.1'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@@ -575,6 +575,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION =head1 VERSION
Percona Toolkit v3.5.0 released 2022-11-28 Percona Toolkit v3.5.1 released 2023-01-17
=cut =cut

View File

@@ -18,7 +18,7 @@
# ########################################################################### # ###########################################################################
package Percona::Toolkit; package Percona::Toolkit;
our $VERSION = '3.5.0'; our $VERSION = '3.5.1';
use strict; use strict;
use warnings FATAL => 'all'; use warnings FATAL => 'all';

View File

@@ -48,7 +48,7 @@ const (
var ( var (
Build string = "2020-04-23" //nolint Build string = "2020-04-23" //nolint
GoVersion string = "1.14.1" //nolint GoVersion string = "1.14.1" //nolint
Version string = "3.5.0" //nolint Version string = "3.5.1" //nolint
Commit string //nolint Commit string //nolint
) )

View File

@@ -41,7 +41,7 @@ const (
var ( var (
Build string = "2020-04-23" //nolint Build string = "2020-04-23" //nolint
GoVersion string = "1.14.1" //nolint GoVersion string = "1.14.1" //nolint
Version string = "3.5.0" //nolint Version string = "3.5.1" //nolint
Commit string //nolint Commit string //nolint
) )

View File

@@ -57,7 +57,7 @@ const (
var ( var (
Build string = "2020-04-23" Build string = "2020-04-23"
GoVersion string = "1.14.1" GoVersion string = "1.14.1"
Version string = "3.5.0" Version string = "3.5.1"
Commit string Commit string
defaultConnectionTimeout = 3 * time.Second defaultConnectionTimeout = 3 * time.Second

View File

@@ -21,7 +21,7 @@ var (
Build string = "2020-04-23" //nolint Build string = "2020-04-23" //nolint
Commit string //nolint Commit string //nolint
GoVersion string = "1.14.1" //nolint GoVersion string = "1.14.1" //nolint
Version string = "3.5.0" //nolint Version string = "3.5.1" //nolint
) )
type connOpts struct { type connOpts struct {

View File

@@ -86,7 +86,7 @@ var (
Build string = "2020-04-23" //nolint Build string = "2020-04-23" //nolint
GoVersion string = "1.14.1" //nolint GoVersion string = "1.14.1" //nolint
Version string = "3.5.0" //nolint Version string = "3.5.1" //nolint
Commit string //nolint Commit string //nolint
) )

View File

@@ -484,11 +484,6 @@ OS_ARCH=${3:-linux-amd64}
ONLY_UPDATE_VERSION=${ONLY_UPDATE_VERSION:-0} ONLY_UPDATE_VERSION=${ONLY_UPDATE_VERSION:-0}
if [ $ONLY_UPDATE_VERSION -eq 1 ]; then
update_version
exit
fi
if [ $OS_ARCH != "linux-amd64" ] && [ $OS_ARCH != "linux-386" ] && [ $OS_ARCH != "darwin-amd64" ]; then if [ $OS_ARCH != "linux-amd64" ] && [ $OS_ARCH != "linux-386" ] && [ $OS_ARCH != "darwin-amd64" ]; then
die "Valid OS-ARCH combinations are: linux-amd64, linux-386, darwin-amd64" die "Valid OS-ARCH combinations are: linux-amd64, linux-386, darwin-amd64"
fi fi
@@ -522,6 +517,11 @@ DATE=$(date -u +'%F') # for updating release date
DEB_DATE=$(date -u +'%a, %d %b %Y %T %z') # for updating deb/changelog DEB_DATE=$(date -u +'%a, %d %b %Y %T %z') # for updating deb/changelog
PKG="percona-toolkit-$VERSION" # what we're building PKG="percona-toolkit-$VERSION" # what we're building
if [ $ONLY_UPDATE_VERSION -eq 1 ]; then
update_version
exit
fi
# mktemp -d doesn't work on Mac OS X, so we'll do it the old-fashioned way. # mktemp -d doesn't work on Mac OS X, so we'll do it the old-fashioned way.
tmpdir="/tmp/build-percona-toolkit-$VERSION" tmpdir="/tmp/build-percona-toolkit-$VERSION"
rm -rf $tmpdir >/dev/null 2>&1 rm -rf $tmpdir >/dev/null 2>&1