Update to 0.997. From the changelog:
[New Features] - Added support for new target properties. In addition to the existing `uri`, `client`, and `registry` properties, targets may also configure these properties via the new `--set` option to and `set-*` actions on the `target` command: * `top_dir` * `plan_file` * `extension` * `deploy_dir` * `revert_dir` * `verify_dir` - Added support for new engine configuration variables. In addition to the existing `target`, `client`, and `registry` variables, engine configuration may also include these variables: * `top_dir` * `plan_file` * `extension` * `deploy_dir` * `revert_dir` * `verify_dir` - Rationalized the hierarchical configuration of deployment targets. The properties of any given target will now be determined by examining values in the following order: * Command-line options * Target configuration * Engine configuration * Core configuration * Reasonable engine-specific defaults - Added the `engine` command to simplify engine configuration. This complements the newly-improved `target` command. Run `sqitch engine update-config` to update deprecated engine configurations and start using it. - Added the sqitch-configuration guide to provide an overview of core, engine, and target configuration. Includes some use-case examples and best suggested practices. [Improvements] - Simplified the output of `sqitch help`, and added the more important options to it. - Added the `--guide` option to `sqitch help` to list Sqitch guides. - Renamed the `--db-client` option to `--client`. `--db-client` still works, but is deprecated. - Added the `--registry` core option for parity with `--client`, `--top-dir`, `--plan-file`, and the rest of the hierarchical configuration properties. - Updated the `init` documentation to better cover all the options processed. - Incremented the version plan file format version to v1.0.0. No changes; it has been stable for at least a year, so it's time. [Bug Fixes] - At runtime, the Vertica engine now properly requires DBD::ODBC instead of DBD::Pg. - The Vertica engine now supports Vertica 6, as documented. - Fixed a warning from Type::Utils, thanks to a report from Géraud CONTINSOUZAS. - The `status` command once again notices if the specified database is uninitialized and says as much, rather than dying with an SQL error. - The `--etc-path` option works again. [Deprecations] - Deprecated `core.$engine` configuration in favor of `engine.$engine`. A warning will be emitted if Sqitch sees the former. Run `sqitch engine update-config` to update your configurations. Existing `core.$engine` configurations will be left in place for compatibility with older versions of Sqitch, but the `sqitch engine` command will not modify them, so they can get out-of-sync. Run `sqitch config --remove-section core.$engine` to remove them. - Formally deprecated the database connection options in favor of target URIs. If any of these options is used, a warning will be issued. They will be dropped in v1.0: * `--db-host` * `--db-port` * `--db-username` * `--db-password` * `--db-name` - Formally deprecated the database connection configuration variables in favor of target URIs. If any of these variables is used, a warning will be issued. Run `sqitch engine update-config` to update your configurations. Existing `core.$engine` configurations will be left in place for compatibility with older versions of Sqitch, but the `sqitch engine` command will not modify them, so they can get out-of-sync. Run `sqitch config --remove-section core.$engine` to remove them. Sqitch will cease to support them in v1.0: * `core.$engine.host` * `core.$engine.port` * `core.$engine.username` * `core.$engine.password` * `core.$engine.db_name` - Deprecated the `--registry` and `--client` options of the `target` command. All target properties should now be set via the new `--set` option, such as `--set registry=reg`. - Formally deprecated the following options of the `add` command. They have been replaced with the `--with`, `--without`, and `--use` options since v0.991. Their use will emit a warning, and they will be removed in v1.0: * `--deploy-template` * `--revert-template` * `--verify-template` * `--deploy` * `--no-deploy` * `--revert` * `--no-revert` * `--verify` * `--no-verify` - Dropped support for the long-deprecated (and likely never used outside ancient tests long deleted) engine configuration variables `core.sqlite.sqitch_db` and `core.pg.sqitch_schema`. Both have been replaced with `engine.$engine.registry`, which applies to all engines. - Formally deprecated the `@FIRST` and `@LAST` symbolic tags. Their use will trigger a warning to use `@ROOT` and `@HEAD`, instead. They will be removed in v1.0. [Internals] - Moved target and engine configuration from App::Sqitch and App::Sqitch::Engine to a new class, App::Sqitch::Target. This class is solely responsible for finding the appropriate values for attributes on every run. The target knows what plan and engine to use, based on those properties. App::Sqitch is now responsible solely for encapsulating command-line options, configuration, and utilities. Classes are now responsible for instantiating both an App::Sqitch and App::Sqitch::Target options as appropriate. - Updated all classes to create both Sqitch and Target objects as appropriate. This change touched almost every class. - Replaced attributes in App::Sqitch that were previously set from command-line options or configuration with a single attribute, `options`, which is a hash only of the command-line options. Classes are now responsible for finding the proper values in config or options. Mostly this requirement is encapsulated by the new App::Sqitch::Target class. - Updated the command classes to use either a "default target" derived from command-line options, engine configuration, and core configuration, or a target looked up by name in the configuration maintained by the `target` command. - Fixed one more test failure due to the introduction of "Negative repeat count does nothing" warning in Perl 5.21.1. - Fixed "Redundant argument in printf" warning on Perl 5.21.2. - Switched from Digest::SHA1, which is deprecated, to Digest::SHA for generating SHA-1 IDs. - Switched from Mouse and Moose to Moo. Sqitch no longer depends on any modules that use Moose, either. This results in an approximately 40% startup time speedup. - Loading of App::Sqitch::DateTime is now deferred until it's needed. This is because DateTime is rather expensive to load. Since a number of commands don't need it, it seems silly to load it in those cases. - Now recommend Type::Tiny::XS and Class::XSAccessor for improved performance. - The `check` command now properly fails on a plan parse error, instead of blindly continuing on. - Fixed a failing test on PosrgreSQL due to localization issues. Thanks to Sven Schoberf for the report (Issue #171). - Added the `revert.prompt_accept`, `rebase.prompt_accept`, and `checkout.prompt_accept` boolean configuration variables. Set these variables to false to change the default answer to the revert prompt to "No". When rebasing or checking out, if the variables specific to those commands are not set, Sqitch will fall back on the value of `revert.prompt_accept`. Suggested by Graeme Lawton (Issue #164). - The MySQL engine now sets the `$MYSQL_PWD` environment variable if a password is provided in a target. This should simplify authtentication when running MySQL change scripts through the `mysql` client client (Issue #150). - The MySQL engine now reads `client` and `mysql` groups in the MySQL configuration files for a password when connecting to the registry database, and when the target URI includes no password. The MySQL client already read those files, of course, but now the internal database connection does as well (Issue #150). - The Firebird engine now sets the `$ISC_PASSWORD` environment variable if a password is provided in a target. This should simplify authtentication when running Firebird change scripts through the `isql` client client. Patch from Ștefan Suciu. - No longer passing URI query params as DBI params, because they are already included in the DSN provided by URI::db. - Added the Vertica engine.
This commit is contained in:
parent
f9c4d1839b
commit
30b754046e
2 changed files with 20 additions and 21 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.10 2014/07/28 20:13:24 schmonz Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2014/11/23 14:18:03 schmonz Exp $
|
||||
|
||||
DISTNAME= App-Sqitch-0.995
|
||||
DISTNAME= App-Sqitch-0.997
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/}
|
||||
|
@ -10,42 +10,41 @@ HOMEPAGE= http://sqitch.org/
|
|||
COMMENT= Sane database change management
|
||||
LICENSE= mit
|
||||
|
||||
DEPENDS+= p5-Config-GitLike>=1.09:../../devel/p5-Config-GitLike
|
||||
DEPENDS+= p5-Class-XSAccessor>=1.18:../../devel/p5-Class-XSAccessor
|
||||
DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
|
||||
DEPENDS+= p5-Config-GitLike>=1.11:../../devel/p5-Config-GitLike
|
||||
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
|
||||
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
|
||||
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
|
||||
DEPENDS+= p5-Devel-StackTrace>=1.30:../../devel/p5-Devel-StackTrace
|
||||
DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
|
||||
DEPENDS+= {perl>=5.7.3,p5-Encode-[0-9]*}:../../textproc/p5-Encode
|
||||
DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir
|
||||
DEPENDS+= {perl>=5.001,p5-File-Path-[0-9]*}:../../devel/p5-File-Path
|
||||
DEPENDS+= {perl>=5.6.1,p5-File-Temp-[0-9]*}:../../devel/p5-File-Temp
|
||||
#DEPENDS+= {perl>=5,p5-Getopt-Long-[0-9]*}:../../devel/p5-Getopt-Long
|
||||
DEPENDS+= p5-Git-Wrapper-[0-9]*:../../devel/p5-Git-Wrapper
|
||||
DEPENDS+= {perl>=5,p5-Getopt-Long-[0-9]*}:../../devel/p5-Getopt-Long
|
||||
DEPENDS+= p5-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge
|
||||
DEPENDS+= p5-IO-Pager-[0-9]*:../../devel/p5-IO-Pager
|
||||
DEPENDS+= p5-IPC-System-Simple>=1.17:../../devel/p5-IPC-System-Simple
|
||||
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
|
||||
DEPENDS+= p5-Locale-libintl-[0-9]*:../../misc/p5-Locale-libintl
|
||||
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
|
||||
DEPENDS+= p5-Mouse>=1.04:../../devel/p5-Mouse
|
||||
DEPENDS+= p5-MouseX-NativeTraits-[0-9]*:../../devel/p5-MouseX-NativeTraits
|
||||
DEPENDS+= p5-MouseX-Types-Path-Class-[0-9]*:../../devel/p5-MouseX-Types-Path-Class
|
||||
DEPENDS+= p5-Moo>=1.002000:../../devel/p5-Moo
|
||||
DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
|
||||
DEPENDS+= p5-PerlIO-utf8_strict-[0-9]*:../../devel/p5-PerlIO-utf8_strict
|
||||
DEPENDS+= p5-Role-HasMessage>=0.005:../../devel/p5-Role-HasMessage
|
||||
DEPENDS+= p5-Role-Identifiable-[0-9]*:../../devel/p5-Role-Identifiable
|
||||
DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
|
||||
DEPENDS+= p5-String-Formatter-[0-9]*:../../textproc/p5-String-Formatter
|
||||
DEPENDS+= p5-String-ShellQuote-[0-9]*:../../textproc/p5-String-ShellQuote
|
||||
DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
|
||||
DEPENDS+= p5-Template-Tiny>=0.11:../../textproc/p5-Template-Tiny
|
||||
#DEPENDS+= p5-Term-ANSIColor>=2.02:../../devel/p5-Term-ANSIColor
|
||||
DEPENDS+= p5-Throwable-[0-9]*:../../devel/p5-Throwable
|
||||
DEPENDS+= p5-Term-ANSIColor>=2.02:../../devel/p5-Term-ANSIColor
|
||||
DEPENDS+= p5-Throwable>=0.200009:../../devel/p5-Throwable
|
||||
DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
|
||||
DEPENDS+= p5-Type-Tiny-[0-9]*:../../devel/p5-Type-Tiny
|
||||
DEPENDS+= p5-Type-Tiny-XS>=0.010:../../devel/p5-Type-Tiny-XS
|
||||
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
|
||||
DEPENDS+= p5-URI-db-[0-9]*:../../www/p5-URI-db
|
||||
DEPENDS+= p5-URI-db>=0.15:../../www/p5-URI-db
|
||||
DEPENDS+= {perl>=5.004,p5-constant-[0-9]*}:../../devel/p5-constant
|
||||
DEPENDS+= p5-namespace-autoclean>=0.11:../../devel/p5-namespace-autoclean
|
||||
DEPENDS+= p5-namespace-autoclean>=0.16:../../devel/p5-namespace-autoclean
|
||||
DEPENDS+= {perl>=5.10.1,p5-parent-[0-9]*}:../../devel/p5-parent
|
||||
DEPENDS+= p5-Devel-StackTrace>=1.30:../../devel/p5-Devel-StackTrace
|
||||
DEPENDS+= {perl>=5.9.3,p5-Pod-Simple>=1.41}:../../textproc/p5-Pod-Simple
|
||||
|
||||
# XXX TEST_TARGET
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.6 2014/07/28 20:13:24 schmonz Exp $
|
||||
$NetBSD: distinfo,v 1.7 2014/11/23 14:18:03 schmonz Exp $
|
||||
|
||||
SHA1 (App-Sqitch-0.995.tar.gz) = dc660064048fbaa1642bc693c1b379e18d1122ab
|
||||
RMD160 (App-Sqitch-0.995.tar.gz) = 293f1c29dba772c6f978f64e9853066b17d9fb65
|
||||
Size (App-Sqitch-0.995.tar.gz) = 391158 bytes
|
||||
SHA1 (App-Sqitch-0.997.tar.gz) = ad0f64d99da1bd14ac80c5f8dee48b950021bb30
|
||||
RMD160 (App-Sqitch-0.997.tar.gz) = 546b1e37f65cf12af42c95b0d4c1f7becc61976d
|
||||
Size (App-Sqitch-0.997.tar.gz) = 434119 bytes
|
||||
|
|
Loading…
Reference in a new issue