Skip to content

Commit

Permalink
Update translation dictionaries and prep v1.4.0
Browse files Browse the repository at this point in the history
Tweak the dependency list parsing in inc/Menlo/Sqitch.pm so that the
entire list can be pasted, which simplifies seeing what's changed.
Update copyright dates and edit the Changes.
  • Loading branch information
theory committed Jul 31, 2023
1 parent 035bafa commit fd4b190
Show file tree
Hide file tree
Showing 73 changed files with 1,075 additions and 780 deletions.
37 changes: 17 additions & 20 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,46 @@ Revision history for Perl extension App::Sqitch
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when --verbose is
specified at least twice. Thanks to @vectro for the PR (#702).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the revert and
verify methods. The attributes still exist for reverse compatibility,
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires that a change to revert to be specified. It also
disables the `rebase` and `checkout` commands, though the
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use this variable to prevent accidental reverts in
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to sqitch plan that prints the path of the
file used to deploy each migration in the plan.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Require DBI 1.631 or higher and remove MySQL engine workaround for
older versions.
- Detect missing registry schema on connect and don't bother trying to
query it when it does not exist. Done by adding an error handler to
DBIEngine.pm and calling it from the connection callback, and moving
the initialization queries into private methods, now called by
`initialized()` and `initialize()`. Fixes an issue where Sqitch might
find a project record in the current schema instead of the expected
registry schema. Thanks to @vectro for the report and investigation
(#668)!
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2022 iovation, Inc., David E. Wheeler
Copyright (c) 2012-2023 iovation, Inc., David E. Wheeler

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
App/Sqitch version v1.3.2-dev
App/Sqitch version v1.4.0
=========================

| Release | Coverage | Database ||
Expand Down Expand Up @@ -138,7 +138,7 @@ Linux distributions and Windows, see the [Installation documentation].
License
-------

Copyright (c) 2012-2022 iovation Inc., David E. Wheeler
Copyright (c) 2012-2023 iovation Inc., David E. Wheeler

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name = App-Sqitch
license = MIT
copyright_holder = "iovation Inc., David E. Wheeler"
copyright_year = 2012-2022
version = v1.3.2-dev
copyright_year = 2012-2023
version = v1.4.0

[GatherDir]
exclude_filename = dist/cpanfile
Expand Down
1 change: 0 additions & 1 deletion dist/cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ requires "URI::QueryParam" => "0";
requires "URI::db" => "0.20";
requires "User::pwent" => "0";
requires "constant" => "0";
requires "if" => "0";
requires "namespace::autoclean" => "0.16";
requires "overload" => "0";
requires "parent" => "0";
Expand Down
22 changes: 13 additions & 9 deletions dist/sqitch.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: sqitch
Version: 1.3.2-dev
Version: 1.4.0
Release: 1%{?dist}
Summary: Sensible database change management
License: MIT
Expand All @@ -19,7 +19,7 @@ BuildRequires: perl(Config::GitLike) >= 1.15
BuildRequires: perl(constant)
BuildRequires: perl(DateTime) >= 1.04
BuildRequires: perl(DateTime::TimeZone)
BuildRequires: perl(DBI)
BuildRequires: perl(DBI) >= 1.631
BuildRequires: perl(Devel::StackTrace) >= 1.30
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Encode)
Expand Down Expand Up @@ -188,7 +188,7 @@ Summary: Sensible database change management for PostgreSQL, YugabyteDB,
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: postgresql >= 8.4.0
Requires: perl(DBI)
Requires: perl(DBI) >= 1.631
Requires: perl(DBD::Pg) >= 2.0.0
Provides: sqitch-pg

Expand All @@ -205,7 +205,7 @@ Summary: Sensible database change management for SQLite
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: sqlite
Requires: perl(DBI)
Requires: perl(DBI) >= 1.631
Requires: perl(DBD::SQLite) >= 1.37
Provides: sqitch-sqlite

Expand All @@ -222,7 +222,7 @@ Summary: Sensible database change management for Oracle
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: oracle-instantclient11.2-sqlplus
Requires: perl(DBI)
Requires: perl(DBI) => 1.631
Requires: perl(DBD::Oracle) >= 1.23
Provides: sqitch-oracle

Expand All @@ -239,7 +239,7 @@ Summary: Sensible database change management for MySQL
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: mysql >= 5.1.0
Requires: perl(DBI)
Requires: perl(DBI) >= 1.631
Requires: perl(DBD::mysql) >= 4.018
Requires: perl(MySQL::Config)
Provides: sqitch-mysql
Expand All @@ -257,7 +257,7 @@ Summary: Sensible database change management for Firebird
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: firebird >= 2.5.0
Requires: perl(DBI)
Requires: perl(DBI) >= 1.631
Requires: perl(DBD::Firebird) >= 1.11
Requires: perl(Time::HiRes)
Requires: perl(Time::Local)
Expand All @@ -278,7 +278,7 @@ Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: libverticaodbc.so
Requires: /opt/vertica/bin/vsql
Requires: perl(DBI)
Requires: perl(DBI) >= 1.631
Requires: perl(DBD::ODBC) >= 1.59
Provides: sqitch-vertica

Expand All @@ -295,7 +295,7 @@ Summary: Sensible database change management for Snowflake
Group: Development/Libraries
Requires: sqitch >= %{version}
Requires: snowflake-odbc
Requires: perl(DBI)
Requires: perl(DBI) => 1.631
Requires: perl(DBD::ODBC) >= 1.59
Provides: sqitch-snowflake

Expand All @@ -309,6 +309,10 @@ also be installed.
# No additional files required.

%changelog
* Mon Jul 31 2023 David E. Wheeler <david@justatheory.com> 1.4.0-1
- Upgrade to v1.4.0.
- Incrmented minimal DBI to 1.631.

* Sat Oct 1 2022 David E. Wheeler <david@justatheory.com> 1.3.1-1
- Upgrade to v1.3.1.

Expand Down
Loading

0 comments on commit fd4b190

Please sign in to comment.