6f01bae71a
- Fixed an issue where Sqitch would sometimes truncate the registry version number fetched from MySQL, most likely because the Perl runtime was using 32-bit integers. Fixed by casting the version to CHAR in the query, before Perl ever see it. Thanks to Allen Godfrey David for the report. - Added the Snowflake engine. - Now require URI::db v0.19 for Snowflake URI support. - The Vertica and Exasol engines now require DBD::ODBC 1.59, which fixes a Unicode issue. Thanks to Martin J. Evans for the quick fix (perl5-dbi/DBD-ODBC#8)! - Added the `bundle` command to `./Build`. This command installs only the runtime dependencies into the `--install_base` directory. This should simplify building distribution packages, binary installs, Docker images, and the like. - Added the `--with` option to `./Build`, to require that Sqitch be build with the specified engine. Pass once for each engine. See the README for the list of supported engines. - Added a check for Hash::Merge 0.298 during installation, since that release has a fatal bug that breaks Sqitch. If it's installed, the installer will issue a warning and added v0.299 to its list of dependencies. Thanks to Slaven Rezić for the suggestion (#377). - Fixed the PostgreSQL engine so it properly checks the `psql` client version to determine whether or not the `:registry` variable is supported. Previously it relied on the server version, which would fail if the server version was greater than 8.4 but the `psql` client was not. Thanks to multiple folks reporting issues with registry names and search paths (#314). - The plan parser will now complain if a change specifies a duplicate dependency. This should be less confusing than a database unique violation. Thanks to Eric Bréchemier for the suggestion (#344). - Moved the project to its own GitHub organization: https://github.com/sqitchers. - Fixed likely cause of Oracle buffer allocation bug when selecting timestamp strings. Thanks to @johannwilfling for the bug report and to @nmaqsudov for the analysis and solution (#316). - Changed the way the conninfo string is passed to `psql` to eliminate argument ordering problems on Windows. Thanks to @highlowhighlow for the report (#384). - Added `$SQITCH_USERNAME` environment variable to complement `$SQITCH_PASSWORD`. It can be used to override the username set in for a target. - Added the `$SQITCH_FULLNAME` and `$SQITCH_EMAIL` environment variables, which take precedence over the values of the `user.name` and `user.email` config variables. - Added the `$SQITCH_ORIG_SYSUSER`, `$SQITCH_ORIG_FULLNAME` and `$SQITCH_ORIG_EMAIL` environment variables. For those situations when Sqitch attempts to read OS data for user information, These new environment variables override these system-derived values. The intention is to allow an originating host to set these values on another host where Sqitch will actually execute. - Fixed an error triggered by whitespace trailing an engine name in the configuration. Thanks to Jeremy Simkins for the report (#400). - Refactored the engine-specific username and password attributes to support a consistent search for values. Sqitch searches first for one of its own environment variables (`$SQITCH_USERNAME` and `$SQITCH_PASSSWORD`), then the target URI, and finally any engine- specific values, which might include additional environment variables, configuration files, the system user, or none at all. - Database engines that implicitly relied on username and/or password environment variables or on the system username now explicitly rely on them. These include the Firebird, MySQL, Postgres, and Vertical engines. This change should exhibit no change in the behavior of these engines. - Added support for the `$MYSQL_HOST` and `$MYSQL_TCP_PORT` environment variables to the MySQL engine. - Documented all supported engine-specific environment variables in the sqitch-environment guide. - Renamed the sqitch-passwords guide to sqitch-authentication and added a section on username specification. - Updated all URLs to use the https scheme. Only exceptions are tt2.org, which doesn't support TLS, and conferences.embarcadero.com, which appears to be down. pkgsrc changes: - Add options: mysql odbc oracle pgsql sqlite
33 lines
864 B
Makefile
33 lines
864 B
Makefile
# $NetBSD: options.mk,v 1.1 2018/10/05 10:37:39 schmonz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sqitch
|
|
|
|
PKG_SUPPORTED_OPTIONS+= mysql odbc oracle pgsql sqlite
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
DEPENDS+= p5-DBD-mysql>=4.018:../../databases/p5-DBD-mysql
|
|
# MySQL::Config: '0'
|
|
BUILD_PARAMS+= --with mysql
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Modbc)
|
|
DEPENDS+= p5-DBD-ODBC>=1.59:../../databases/p5-DBD-ODBC
|
|
BUILD_PARAMS+= --with odbc
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Moracle)
|
|
DEPENDS+= p5-DBD-Oracle>=1.23:../../databases/p5-DBD-Oracle
|
|
BUILD_PARAMS+= --with oracle
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= p5-DBD-postgresql>=2.0:../../databases/p5-DBD-postgresql
|
|
BUILD_PARAMS+= --with postgres
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite)
|
|
DEPENDS+= p5-DBD-SQLite>=1.37:../../databases/p5-DBD-SQLite
|
|
BUILD_PARAMS+= --with sqlite
|
|
.endif
|