Skip to content

Commit c282066

Browse files
committed
Merge develop for v1.5.1
2 parents b434380 + 563c956 commit c282066

File tree

15 files changed

+31
-18
lines changed

15 files changed

+31
-18
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
/local/
1919
/LocaleData/
2020
/lib/LocaleData/
21+
.vscode/

Changes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
Revision history for Perl extension App::Sqitch
22

3+
1.5.1 2025-03-16T26:55:17Z
4+
- Fixed a bug introduced in v1.5.0 where the MySQL engine connected to
5+
the target database instead of the registry database. Thanks to
6+
@tiberiusferreira for the report (#862)!
7+
- Fixed test failures with some Exasol and Firebird configurations.
8+
Thanks to Slaven Rezić for the report (#858)!
9+
310
1.5.0 2025-01-08T03:22:40
411
- Fix improperly nested Pod headers that were incrementing two levels
512
relative to their parent headers, which messed with the HTML output on

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
App/Sqitch version v1.5.0
1+
App/Sqitch version v1.5.1
22
=========================
33

44
| Release | Coverage | Database ||

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = App-Sqitch
22
license = MIT
33
copyright_holder = "iovation Inc., David E. Wheeler"
44
copyright_year = 2012-2025
5-
version = v1.5.0
5+
version = v1.5.1
66

77
[GatherDir]
88
exclude_filename = dist/cpanfile

dist/sqitch.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: sqitch
2-
Version: 1.5.0
2+
Version: 1.5.1
33
Release: 1%{?dist}
44
Summary: Sensible database change management
55
License: MIT
@@ -309,6 +309,9 @@ also be installed.
309309
# No additional files required.
310310

311311
%changelog
312+
* Sun Mar 16 2025 David E. Wheeler <[email protected]> 1.5.1-1
313+
- Upgrade to v1.5.1.
314+
312315
* Tue Jan 7 2025 David E. Wheeler <[email protected]> 1.5.0-1
313316
- Upgrade to v1.5.0.
314317
- Replace DBD::mysql with DBD::MariaDB.

inc/Menlo/Sqitch.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sub remove_build_dependencies {
6464

6565
1;
6666

67-
# List of distirbutions that might be installed but are not actually needed to
67+
# List of distributions that might be installed but are not actually needed to
6868
# run Sqitch. Used to track unneeded installs so they can be removed by
6969
# remove_build_dependencies().
7070
#

lib/App/Sqitch/Engine/mysql.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sub _def_user { $_[0]->_mycnf->{user} || $_[0]->sqitch->sysuser }
6565
sub _def_pass { $ENV{MYSQL_PWD} || shift->_mycnf->{password} }
6666

6767
sub _dsn {
68-
(my $dsn = shift->uri->dbi_dsn) =~ s/\Adbi:mysql/dbi:MariaDB/;
68+
(my $dsn = shift->registry_uri->dbi_dsn) =~ s/\Adbi:mysql/dbi:MariaDB/;
6969
return $dsn;
7070
}
7171

po/App-Sqitch.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: App-Sqitch v1.5.0\n"
9+
"Project-Id-Version: App-Sqitch v1.5.1\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-01-04 14:21-0500\n"
11+
"POT-Creation-Date: 2025-01-18 18:18-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"

t/exasol.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ END {
414414
$uri = URI->new(
415415
$ENV{SQITCH_TEST_EXASOL_URI} ||
416416
$ENV{EXA_URI} ||
417-
'db:dbadmin:password@localhost/dbadmin'
417+
'db:exasol://dbadmin:password@localhost/dbadmin'
418418
);
419419
my $err;
420420
for my $i (1..30) {

t/firebird.t

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ my $uri;
3131
my $tmpdir;
3232
my $have_fb_driver = 1; # assume DBD::Firebird is installed and so is Firebird
3333

34-
# Is DBD::Firebird realy installed?
34+
# Is DBD::Firebird really installed?
3535
try { require DBD::Firebird; } catch { $have_fb_driver = 0; };
3636

3737
BEGIN {
@@ -472,11 +472,13 @@ DBIEngineTest->run(
472472
# DBD::Firebird.
473473
my $cmd = $self->client;
474474
my $cmd_echo = qx(echo "quit;" | "$cmd" -z -quiet 2>&1 );
475-
return 0 unless $cmd_echo =~ m{Firebird}ims;
475+
App::Sqitch::X::hurl('isql not for Firebird')
476+
unless $cmd_echo =~ m{Firebird}ims;
476477
chomp $cmd_echo;
477478
say "# Detected $cmd_echo";
478479
# Skip if no DBD::Firebird.
479-
return 0 unless $have_fb_driver;
480+
App::Sqitch::X::hurl('DBD::Firebird did not load')
481+
unless $have_fb_driver;
480482
say "# Connected to Firebird $fb_version" if $fb_version;
481483
return 1;
482484
},

0 commit comments

Comments
 (0)