Skip to content

Commit 0b9c0c7

Browse files
author
Marcin Przepiorowski
committed
Merge branch 'develop'
v2.4.16.3
2 parents 38aed44 + b1434a7 commit 0b9c0c7

File tree

9 files changed

+49
-12
lines changed

9 files changed

+49
-12
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
ubuntu:
7676
needs: [centos7]
77-
runs-on: ubuntu-18.04
77+
runs-on: ubuntu-latest
7878

7979
steps:
8080
- name: checkout dxtoolkit code
@@ -289,15 +289,21 @@ jobs:
289289
CELL=`brew --prefix perl`
290290
$CELL/bin/perl -MCPAN -e 'install App::cpanminus'
291291
brew install openssl@1.1
292+
<<<<<<< HEAD
292293
$CELL/bin/cpanm Crypt::CBC
293294
$CELL/bin/cpanm Crypt::Blowfish
295+
=======
296+
cpanm Crypt::CBC@2.33
297+
cpanm Crypt::Blowfish
298+
>>>>>>> develop
294299
export OPENSSL_PREFIX=`brew --prefix openssl@1.1`
295300
echo $OPENSSL_PREFIX
296301
export LIBS="-d=$OPENSSL_PREFIX"
297302
$CELL/bin/cpanm --configure-args=$LIBS Filter::Crypto::Decrypt
298303
$CELL/bin/cpanm JSON
299304
$CELL/bin/cpanm Date::Manip
300305
# force requires after 1/1/2020 ?
306+
<<<<<<< HEAD
301307
$CELL/bin/cpanm -f Date::Parse
302308
$CELL/bin/cpanm DateTime::Event::Cron::Quartz
303309
$CELL/bin/cpanm DateTime::Format::DateParse
@@ -312,6 +318,22 @@ jobs:
312318
$CELL/bin/cpanm utf8
313319
$CELL/bin/cpanm PAR::Packer
314320
$CELL/bin/cpanm List::MoreUtils::PP
321+
=======
322+
cpanm -f Date::Parse
323+
cpanm DateTime::Event::Cron::Quartz
324+
cpanm DateTime::Format::DateParse
325+
cpanm Text::CSV
326+
cpanm LWP::UserAgent
327+
cpanm Net::SSLeay
328+
cpanm Mozilla::CA@20180117
329+
cpanm -f IO::Socket::SSL@2.068
330+
cpanm LWP::Protocol::https
331+
cpanm Term::ReadKey
332+
cpanm -f Archive::Zip
333+
cpanm utf8
334+
cpanm PAR::Packer
335+
cpanm List::MoreUtils::PP
336+
>>>>>>> develop
315337

316338
- name: Compile
317339
run: |

.github/workflows/develop.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
ubuntu:
8484
needs: [centos7]
85-
runs-on: ubuntu-18.04
85+
runs-on: ubuntu-latest
8686

8787
steps:
8888
- name: checkout dxtoolkit code
@@ -331,7 +331,7 @@ jobs:
331331
# eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
332332
# echo $PERL_MB_OPT
333333
brew install openssl@1.1
334-
$CELL/bin/cpanm Crypt::CBC
334+
$CELL/bin/cpanm Crypt::CBC@2.33
335335
$CELL/bin/cpanm Crypt::Blowfish
336336
export OPENSSL_PREFIX=`brew --prefix openssl@1.1`
337337
echo $OPENSSL_PREFIX
@@ -347,7 +347,7 @@ jobs:
347347
$CELL/bin/cpanm LWP::UserAgent
348348
$CELL/bin/cpanm Net::SSLeay
349349
$CELL/bin/cpanm Mozilla::CA@20180117
350-
$CELL/bin/cpanm IO::Socket::SSL@2.068
350+
$CELL/bin/cpanm -f IO::Socket::SSL@2.068
351351
$CELL/bin/cpanm LWP::Protocol::https
352352
$CELL/bin/cpanm Term::ReadKey
353353
$CELL/bin/cpanm -f Archive::Zip

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.4.16.3
2+
3+
### Changes
4+
5+
- fix to disable debug data in various scripts
6+
- [bug #215](https://github.com/delphix/dxtoolkit/issues/215) - v2p for MS SQL fix for 6.0.14 and higher
17
## 2.4.16.2
28

39
### Added

bin/dx_ctl_snapshots.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
}
8888

8989
my $w = ($retention =~ /^[[:digit:]]+$/);
90-
print Dumper !$w;
90+
#print Dumper !$w;
9191

9292

9393

bin/dx_get_instance.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
next;
124124
}
125125

126-
print Dumper $dbobj->getDBType();
127-
print Dumper $dbobj->getName();
126+
#print Dumper $dbobj->getDBType();
127+
#print Dumper $dbobj->getName();
128128

129129

130130
my $dbname = $dbobj->getName();
@@ -140,7 +140,7 @@
140140
$dbobj = $databases->getDB($contsource->{container});
141141
}
142142

143-
print Dumper $dbobj->getInstances();
143+
#print Dumper $dbobj->getInstances();
144144

145145
if ($dbobj->getInstances() eq 'UNKNOWN') {
146146
# Oracle is detached, so no information about instances, skip to next

lib/MSSQLVDB_obj.pm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,12 @@ sub setFileSystemLayout {
319319

320320
logger($self->{_debug}, "Entering MSSQLVDB_obj::setFileSystemLayout",1);
321321

322-
$self->{"NEWDB"}->{"filesystemLayout"}->{"type"} = "TimeflowFilesystemLayout";
322+
if (version->parse($self->{_dlpxObject}->getApi()) < version->parse(1.11.14)) {
323+
# until 6.0.14
324+
$self->{"NEWDB"}->{"filesystemLayout"}->{"type"} = "TimeflowFilesystemLayout";
325+
} else {
326+
$self->{"NEWDB"}->{"filesystemLayout"}->{"type"} = "MSSqlTimeflowFilesystemLayout";
327+
}
323328

324329
if (! defined($targetDirectory)) {
325330
return 1;

lib/Replication_obj.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ sub getEnabled {
266266

267267
my $ret;
268268

269-
print Dumper $replication->{$reference};
269+
#print Dumper $replication->{$reference};
270270

271271
if (version->parse($self->{_dlpxObject}->getApi()) < version->parse(1.9.0)) {
272272
$ret = $replication->{$reference}->{enabled} ? 'ENABLED' : 'DISABLED';

lib/Timeflow_obj.pm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ sub finddSource
513513
logger($self->{_debug}, "Entering Timeflow_obj::finddSource",1);
514514

515515
my $local_ref = $ref . "\@l";
516+
my $parent_clean;
516517
my $child;
517518
my $parent;
518519

@@ -532,12 +533,15 @@ sub finddSource
532533

533534
logger($self->{_debug}, "Parent " . $parent . " for " . $local_ref, 2);
534535

536+
537+
($parent_clean) = $parent =~ /(.*)\@l/;
538+
535539
if (($parent ne '') && ($parent ne 'deleted') && ($parent ne 'notlocal') ) {
536540
$child = $local_ref;
537541
$local_ref = $parent;
538542
}
539543

540-
} while (($parent ne '') && ($parent ne 'deleted') && ($parent ne 'notlocal'));
544+
} while (($parent ne '') && ($parent ne 'deleted') && ($parent ne 'notlocal') && ($self->{_timeflows}->{$parent_clean}->{creationType} ne 'SOURCE_CONTINUITY' ) );
541545

542546
if ($parent eq 'deleted') {
543547
$local_ref = 'deleted';

lib/Toolkit_helpers.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use File::Spec;
2929

3030
use lib '../lib';
3131

32-
our $version = '2.4.16.2';
32+
our $version = '2.4.16.3';
3333

3434
my $tz = new Date::Manip::TZ;
3535
my $dt = new Date::Manip::Date;

0 commit comments

Comments
 (0)