39ea3aa170
- Fixed an error where Oracle sometimes truncated timestamp formats so that date parsing failed. Thanks to Johann Wilfling for the report and @nmaqsudov for the solution (#316). - Added pager configuration, prioritizing the new `core.pager` configuration variable over the `$PAGER` environment variable. The new `$SQITCH_PAGER` environment variable trumps all. Thanks to Yati Sagade for the pull request (#329). - Documented the `core.editor` configuration variable. - Updated PostgreSQL registry detection to avoid errors when not running Sqitch as a superuser and the registry schema already exists. Done by looking for the `changes` table in the `pg_tables` view instead of looking for the registry schema in the `pg_namespace` catalog table, and by using `CREATE SCHEMA IF NOT EXISTS` on PostgreSQL 9.3 and higher. Thanks to @djk447 for the pull request (#307). - Updated PostgreSQL registry detection to avoid errors when the `psql` client is newer than the server version. Sqitch now fetches the version from the server instead of parsing it from the client. - Specifying a change before a target name on the command-line no longer ignores the target (#281). - The `--db-*` options are now more consistently applied to a target, including when the target is specified as a URI (#293). - `HEAD` and `ROOT` are now properly recognized as aliases for `@HEAD` and `@ROOT`, when querying the database. This was supposedly done in v0.991, but due to a bug, it wasn't really. Sorry about that. - The `revert` and `verify` commands will now fail if a change is specified and matches multiple changes. This happens when referencing a reworked change only by its name. In this case, Sqitch will emit an error listing properly tag-qualified changes to use. Suggested by Jay Hannah (#312). - Sqitch no longer returns an error when a target name is passed to a command and the default target's plan file does not exist (#324). - Added missing options to the `rework` usage statement. Thanks to Jay Hannah for the PR (#342). - Passing an engine name or plan file as the `<database>` parameter to the `log`, `status`, and `upgrade` commands now works correctly, matching what the documention has said for some time (#324). - Added the `--target` option to the `plan` and `show` commands. - Added the `<database>` parameter to the `plan` command. - Sqitch now loads targets from all config files, not just the local file, when trying to determine if a `<database>` parameter is a plan file name. - Improved the error message when a change is found more than once in a plan, typically a reworked changed referenced only by name. The error will no longer be "Key at multiple indexes", but "Change is ambiguous. Please specify a tag-qualified change:", followed by a list of tag-qualified variants of the change. - Fixed a bug where the verify command would return a database error when it finds no registory. Now it reports that the registry wasn't found in the database.
66 lines
3.2 KiB
Makefile
66 lines
3.2 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2017/07/23 00:28:37 schmonz Exp $
|
|
|
|
DISTNAME= App-Sqitch-0.9996
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://sqitch.org/
|
|
COMMENT= Sane database change management
|
|
LICENSE= mit
|
|
|
|
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-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-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge
|
|
DEPENDS+= p5-IO-Pager-[0-9]*:../../devel/p5-IO-Pager
|
|
DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
|
|
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-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-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.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.15:../../www/p5-URI-db
|
|
DEPENDS+= p5-namespace-autoclean>=0.16:../../devel/p5-namespace-autoclean
|
|
#DEPENDS+= {perl>=5.10.1,p5-parent-[0-9]*}:../../devel/p5-parent
|
|
#DEPENDS+= {perl>=5.9.3,p5-Pod-Simple>=1.41}:../../textproc/p5-Pod-Simple
|
|
|
|
# XXX TEST_TARGET
|
|
BUILD_DEPENDS+= p5-Capture-Tiny>=0.12:../../devel/p5-Capture-Tiny
|
|
BUILD_DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
|
|
BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
|
|
BUILD_DEPENDS+= p5-Test-Dir-[0-9]*:../../devel/p5-Test-Dir
|
|
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
|
|
BUILD_DEPENDS+= p5-Test-File-[0-9]*:../../devel/p5-Test-File
|
|
BUILD_DEPENDS+= p5-Test-File-Contents>=0.05:../../devel/p5-Test-File-Contents
|
|
BUILD_DEPENDS+= p5-Test-MockModule>=0.05:../../devel/p5-Test-MockModule
|
|
BUILD_DEPENDS+= p5-Test-NoWarnings>=0.083:../../devel/p5-Test-NoWarnings
|
|
|
|
USE_LANGUAGES= # empty
|
|
USE_TOOLS+= perl
|
|
PERL5_PACKLIST= auto/App/Sqitch/.packlist
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|