summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2020-05-18 20:58:26 +0200
committerNiko Tyni <ntyni@debian.org>2020-05-18 20:58:26 +0200
commitf4d3fb9df897d5f1706b114cd7070fb684d3ff6f (patch)
treee0b55b6bc200b0a2c83cfcfaf66311b27eaaec64
Import sqitch_1.0.0000-3.debian.tar.xz
[dgit import tarball sqitch 1.0.0000-3 sqitch_1.0.0000-3.debian.tar.xz]
-rw-r--r--NEWS7
-rw-r--r--changelog212
-rw-r--r--control95
-rw-r--r--copyright59
-rw-r--r--patches/fix-bad-whatis-man.patch65
-rw-r--r--patches/series1
-rwxr-xr-xrules19
-rw-r--r--source/format1
-rw-r--r--tests/pkg-perl/SKIP2
-rw-r--r--tests/pkg-perl/smoke-env3
-rw-r--r--tests/pkg-perl/smoke-files3
-rw-r--r--tests/pkg-perl/smoke-skip7
-rw-r--r--upstream/metadata5
-rw-r--r--watch3
14 files changed, 482 insertions, 0 deletions
diff --git a/NEWS b/NEWS
new file mode 100644
index 00000000..7d8b8203
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,7 @@
+sqitch (0.9999-1) unstable; urgency=medium
+
+ The upstream Changes file, installed as /usr/share/doc/sqitch/changelog.gz,
+ contains the sections 'Deprecations & Removals' and 'API Changes' which
+ might be relevant for upgrades.
+
+ -- gregor herrmann <gregoa@debian.org> Tue, 05 Feb 2019 18:45:33 +0100
diff --git a/changelog b/changelog
new file mode 100644
index 00000000..b469e61c
--- /dev/null
+++ b/changelog
@@ -0,0 +1,212 @@
+sqitch (1.0.0000-3) unstable; urgency=medium
+
+ * Team upload.
+ * Add build and runtime dependencies on libpod-parser-perl.
+
+ -- Niko Tyni <ntyni@debian.org> Mon, 18 May 2020 21:58:26 +0300
+
+sqitch (1.0.0000-2) unstable; urgency=medium
+
+ * Team upload.
+ * Set SQITCH_ORIG_FULLNAME in debian/tests/pkg-perl/smoke-env.
+ Apparently the user which runs the autopkgtests on ci.debian.net has
+ no name set, so the test if the name is set from the system fails.
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 28 Feb 2020 14:27:31 +0100
+
+sqitch (1.0.0000-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ gregor herrmann ]
+ * debian/*: replace ADTTMP with AUTOPKGTEST_TMP.
+
+ [ Debian Janitor ]
+ * Update standards version, no changes needed.
+ * Bump debhelper from old 11 to 12.
+ * Remove obsolete fields Name, Contact from debian/upstream/metadata.
+
+ [ gregor herrmann ]
+ * debian/watch: use uscan version 4.
+ * Import upstream version 1.0.0000
+ * Update (build) dependencies.
+ * Update short description.
+ * Update years of packaging copyright.
+ * Declare compliance with Debian Policy 4.5.0.
+ * Set Rules-Requires-Root: no.
+ * Drop unneeded version constraints from (build) dependencies.
+ * Annotate test-only build dependencies with <!nocheck>.
+ * Set upstream metadata fields: Bug-Submit, Repository, Repository-
+ Browse.
+
+ -- gregor herrmann <gregoa@debian.org> Sun, 23 Feb 2020 11:56:51 +0100
+
+sqitch (0.9999-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add back libio-pager-perl to Depends.
+ Thanks to Tommi Vainikainen for the bug report. (Closes: #922436)
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 15 Feb 2019 22:57:27 +0100
+
+sqitch (0.9999-1) unstable; urgency=medium
+
+ * Team upload.
+ * Import upstream version 0.9999.
+ * Refresh fix-bad-whatis-man.patch (fuzz).
+ * Update years of upstream and packaging copyright.
+ * Update (build) dependencies.
+ * Declare compliance with Debian Policy 4.3.0.
+ * Bump debhelper compatibility level to 11.
+ * Add debian/NEWS with a warning about deprecations, removals, and
+ API changes.
+
+ -- gregor herrmann <gregoa@debian.org> Tue, 05 Feb 2019 18:48:17 +0100
+
+sqitch (0.9998-2) unstable; urgency=medium
+
+ * Team upload.
+ * debian/control: add version constraint to liburi-db-perl (build)
+ dependency.
+ Thanks to Tommi Vainikainen for the bug report. (Closes: #911576)
+
+ -- gregor herrmann <gregoa@debian.org> Mon, 22 Oct 2018 16:33:36 +0200
+
+sqitch (0.9998-1) unstable; urgency=medium
+
+ * Team upload.
+ * Import upstream version 0.9998.
+ * Update debian/upstream/metadata.
+ * Update (build) dependencies.
+ * Declare compliance with Debian Policy 4.2.1.
+
+ -- gregor herrmann <gregoa@debian.org> Mon, 08 Oct 2018 21:50:09 +0200
+
+sqitch (0.9997-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-* headers for switch to salsa.debian.org
+
+ [ gregor herrmann ]
+ * Import upstream version 0.9997.
+ * Update years of upstream copyright and add additional copyright
+ holders.
+ * Declare compliance with Debian Policy 4.1.5.
+ * Use HTTPS for Homepage field in debian/control.
+ Thanks to duck.
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 27 Jul 2018 20:31:30 +0200
+
+sqitch (0.9996-1) unstable; urgency=medium
+
+ * Team upload.
+ * Import upstream version 0.9996.
+ * Update years of upstream and packaging copyright.
+ * New build dependency: libmodule-runtime-perl.
+ * Declare compliance with Debian Policy 4.1.3.
+ * Bump debhelper compatibility level to 10.
+
+ -- gregor herrmann <gregoa@debian.org> Sat, 13 Jan 2018 21:25:08 +0100
+
+sqitch (0.9995-2) unstable; urgency=medium
+
+ * Team upload.
+ * Update MariaDB/MySQL alternative dependencies. (Closes: #848463)
+ * Update years of packaging copyright.
+ * Update versioned (build) dependencies.
+ Drop unnecessary version constraints.
+
+ -- gregor herrmann <gregoa@debian.org> Sat, 17 Dec 2016 18:01:55 +0100
+
+sqitch (0.9995-1) unstable; urgency=medium
+
+ * New upstream version, drop patch for DateTime.pm.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Sat, 30 Jul 2016 21:18:25 +0000
+
+sqitch (0.9994-1) unstable; urgency=medium
+
+ [ gregor herrmann ]
+ * Rename autopkgtest configuration file(s) as per new pkg-perl-
+ autopkgtest schema.
+
+ [ Salvatore Bonaccorso ]
+ * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+ [ gregor herrmann ]
+ * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
+ * debian/upstream/metadata: change GitHub/CPAN URL(s) to HTTPS.
+
+ [ Christian Hofstaedtler ]
+ * Update Standards-Version to 3.9.8
+ * New upstream version
+ * Import patch from upstream replacing DateTime::set(locale=>)
+ with DateTime::set_locale() to fix warnings and subsequent
+ failure in testsuite.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Mon, 04 Jul 2016 14:12:17 +0200
+
+sqitch (0.9993-2) unstable; urgency=medium
+
+ * Team upload.
+ * Set LC_ALL=C for the test suite, it breaks in other locales.
+ (Closes: #800070)
+ * Make the package autopkgtestable.
+
+ -- Niko Tyni <ntyni@debian.org> Sat, 26 Sep 2015 20:59:45 +0300
+
+sqitch (0.9993-1) unstable; urgency=medium
+
+ * Import upstream version 0.9993
+
+ -- Christian Hofstaedtler <zeha@debian.org> Fri, 21 Aug 2015 21:15:22 +0000
+
+sqitch (0.9992-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Update copyright notice for Debian packaging.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Sun, 14 Jun 2015 12:59:52 +0200
+
+sqitch (0.9991-1) unstable; urgency=medium
+
+ * Team upload.
+ * Add debian/upstream/metadata
+ * Import upstream version 0.9991
+ Fixes "FTBFS: new warnings" (Closes: #785229)
+ * debian/watch: add uversionmangle in case upstream goes back from 4
+ minor digits to less.
+ * Update fix-bad-whatis-man.patch.
+ * Move libmodule-build-perl to Build-Depends (needed during clean).
+ * Make (build) dependency on libpath-class-perl versioned.
+ * Drop a couple of version constraint from (build) dependencies.
+ They are all satisfied in (old)oldstable.
+ * Update years of upstream copyright.
+ * Declare compliance with Debian Policy 3.9.6.
+
+ -- gregor herrmann <gregoa@debian.org> Thu, 14 May 2015 22:28:40 +0200
+
+sqitch (0.996-1) unstable; urgency=medium
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-Browser URL to cgit web frontend
+
+ [ gregor herrmann ]
+ * debian/control: update Module::Build dependency.
+
+ [ Christian Hofstaedtler ]
+ * New upstream version.
+ * Remove upstream-supplied and -applied Digest::SHA patch.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Sun, 28 Sep 2014 16:59:27 +0200
+
+sqitch (0.995-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #751740)
+ * Add patch from upstream to use Digest::SHA instead of Digest::SHA1.
+ * Many thanks to gregor herrmann <gregoa@debian.org> for review and
+ packaging suggestions.
+
+ -- Christian Hofstaedtler <zeha@debian.org> Thu, 24 Jul 2014 23:59:59 +0200
diff --git a/control b/control
new file mode 100644
index 00000000..640c2ae8
--- /dev/null
+++ b/control
@@ -0,0 +1,95 @@
+Source: sqitch
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Chris Hofstaedtler <zeha@debian.org>
+Section: database
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
+Build-Depends: debhelper-compat (= 12),
+ libmodule-build-perl,
+ perl
+Build-Depends-Indep: libcapture-tiny-perl <!nocheck>,
+ libclass-xsaccessor-perl <!nocheck>,
+ libclone-perl <!nocheck>,
+ libconfig-gitlike-perl <!nocheck>,
+ libdatetime-perl <!nocheck>,
+ libdatetime-timezone-perl <!nocheck>,
+ libdbi-perl <!nocheck>,
+ libdevel-stacktrace-perl <!nocheck>,
+ libencode-locale-perl <!nocheck>,
+ libhash-merge-perl (>= 0.299) <!nocheck>,
+ libintl-perl <!nocheck>,
+ libio-pager-perl (>= 0.34) <!nocheck>,
+ libipc-run3-perl <!nocheck>,
+ libipc-system-simple-perl <!nocheck>,
+ liblist-moreutils-perl <!nocheck>,
+ libmodule-runtime-perl <!nocheck>,
+ libmoo-perl <!nocheck>,
+ libnamespace-autoclean-perl <!nocheck>,
+ libpath-class-perl <!nocheck>,
+ libperlio-utf8-strict-perl <!nocheck>,
+ libpod-parser-perl <!nocheck>,
+ libstring-formatter-perl <!nocheck>,
+ libstring-shellquote-perl <!nocheck>,
+ libsub-exporter-perl <!nocheck>,
+ libtemplate-perl <!nocheck>,
+ libtemplate-tiny-perl <!nocheck>,
+ libtest-deep-perl <!nocheck>,
+ libtest-dir-perl <!nocheck>,
+ libtest-exception-perl <!nocheck>,
+ libtest-file-contents-perl <!nocheck>,
+ libtest-file-perl <!nocheck>,
+ libtest-mockmodule-perl (>= 0.170) <!nocheck>,
+ libtest-nowarnings-perl <!nocheck>,
+ libtest-warn-perl <!nocheck>,
+ libthrowable-perl <!nocheck>,
+ libtry-tiny-perl <!nocheck>,
+ libtype-tiny-perl <!nocheck>,
+ libtype-tiny-xs-perl <!nocheck>,
+ liburi-db-perl (>= 0.19) <!nocheck>,
+ liburi-perl <!nocheck>
+Standards-Version: 4.5.0
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/sqitch
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/sqitch.git
+Homepage: https://sqitch.org/
+Rules-Requires-Root: no
+
+Package: sqitch
+Architecture: all
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libclone-perl,
+ libconfig-gitlike-perl,
+ libdatetime-perl,
+ libdatetime-timezone-perl,
+ libdbd-pg-perl | libdbd-sqlite3-perl | libdbd-mysql-perl | libdbd-firebird-perl,
+ libdbi-perl,
+ libdevel-stacktrace-perl,
+ libencode-locale-perl,
+ libhash-merge-perl (>= 0.299),
+ libintl-perl,
+ libio-pager-perl (>= 0.34),
+ libipc-run3-perl,
+ libipc-system-simple-perl,
+ liblist-moreutils-perl,
+ libmoo-perl,
+ libnamespace-autoclean-perl,
+ libpath-class-perl,
+ libperlio-utf8-strict-perl,
+ libpod-parser-perl,
+ libstring-formatter-perl,
+ libstring-shellquote-perl,
+ libsub-exporter-perl,
+ libtemplate-tiny-perl,
+ libthrowable-perl,
+ libtry-tiny-perl,
+ libtype-tiny-perl,
+ liburi-db-perl (>= 0.19),
+ liburi-perl,
+ postgresql-client | sqlite3 | default-mysql-client | virtual-mysql-client | firebird2.5-classic | firebird2.5-super
+Recommends: libclass-xsaccessor-perl,
+ libtemplate-perl,
+ libtype-tiny-xs-perl
+Description: sensible database change management
+ Sqitch provides a simple yet robust interface for database change
+ management. The philosophy and functionality is inspired by
+ Git.
diff --git a/copyright b/copyright
new file mode 100644
index 00000000..63935428
--- /dev/null
+++ b/copyright
@@ -0,0 +1,59 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/release/App-Sqitch
+Upstream-Contact: David E. Wheeler <david@justatheory.com>
+Upstream-Name: App-Sqitch
+
+Files: *
+Copyright: 2012-2019, iovation Inc.
+License: Expat
+
+Files: lib/App/Sqitch/Command/checkout.pm
+Copyright: 2012-2013, Ronan Dunklau
+ 2012-2018, iovation Inc.
+License: Expat
+
+Files: lib/App/Sqitch/Engine/firebird.pm
+Copyright: 2013, Ștefan Suciu
+ 2012-2018, iovation Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2014, 2015, Christian Hofstaedtler <zeha@debian.org>
+ 2014-2020, gregor herrmann <gregoa@debian.org>
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
+
+License: Expat
+ 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 the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/patches/fix-bad-whatis-man.patch b/patches/fix-bad-whatis-man.patch
new file mode 100644
index 00000000..2b4be1c3
--- /dev/null
+++ b/patches/fix-bad-whatis-man.patch
@@ -0,0 +1,65 @@
+From: Christian Hofstaedtler <zeha@debian.org>
+Date: Mon, 4 Jul 2016 13:49:40 +0200
+Subject: Fix bad whatis indexing of man pages
+
+By removing the private markers, the generated man pages get their
+correct format, so whatis indexing works.
+
+Forwarded: not-needed
+---
+ lib/sqitchcommands.pod | 7 -------
+ lib/sqitchguides.pod | 7 -------
+ lib/sqitchusage.pod | 7 -------
+ 3 files changed, 21 deletions(-)
+
+--- a/lib/sqitchcommands.pod
++++ b/lib/sqitchcommands.pod
+@@ -1,14 +1,7 @@
+-=begin private
+-
+-Keep private so it's not displayed, but will still be indexed by the CPAN
+-toolchain.
+-
+ =head1 Name
+
+ sqitchcommands - List of common sqitch commands
+
+-=end private
+-
+ =head1 Usage
+
+ sqitch [--etc-path | --help | --man | --version]
+--- a/lib/sqitchguides.pod
++++ b/lib/sqitchguides.pod
+@@ -1,14 +1,7 @@
+-=begin private
+-
+-Keep private so it's not displayed, but will still be indexed by the CPAN
+-toolchain.
+-
+ =head1 Name
+
+ sqitchguides - List of common Sqitch guides
+
+-=end private
+-
+ The common Sqitch guides are:
+
+ changes Specifying changes for Sqitch
+--- a/lib/sqitchusage.pod
++++ b/lib/sqitchusage.pod
+@@ -1,14 +1,7 @@
+-=begin private
+-
+-Keep private so it's not displayed, but will still be indexed by the CPAN
+-toolchain.
+-
+ =head1 Name
+
+ sqitchusage - Sqitch usage statement
+
+-=end private
+-
+ =head1 Usage
+
+ sqitch <command> [options] [command-options] [args]
diff --git a/patches/series b/patches/series
new file mode 100644
index 00000000..eae37e5e
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+fix-bad-whatis-man.patch
diff --git a/rules b/rules
new file mode 100755
index 00000000..7893313f
--- /dev/null
+++ b/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# The tests require a home directory (mostly for the .conf file), so
+# provide one.
+BUILDHOME = $(CURDIR)/debian/build
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --etcdir=/etc/sqitch
+
+override_dh_clean:
+ dh_clean
+ rm -rf $(BUILDHOME)
+
+override_dh_auto_test:
+ mkdir -p $(BUILDHOME)
+ LC_ALL=C HOME=$(BUILDHOME) dh_auto_test
diff --git a/source/format b/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/tests/pkg-perl/SKIP b/tests/pkg-perl/SKIP
new file mode 100644
index 00000000..8141f35a
--- /dev/null
+++ b/tests/pkg-perl/SKIP
@@ -0,0 +1,2 @@
+# Locale-TextDomain makes 'perl -c' fail
+syntax.t
diff --git a/tests/pkg-perl/smoke-env b/tests/pkg-perl/smoke-env
new file mode 100644
index 00000000..a7f9d4a1
--- /dev/null
+++ b/tests/pkg-perl/smoke-env
@@ -0,0 +1,3 @@
+LC_ALL=C
+HOME=${AUTOPKGTEST_TMP}
+SQITCH_ORIG_FULLNAME="A Debian CI system"
diff --git a/tests/pkg-perl/smoke-files b/tests/pkg-perl/smoke-files
new file mode 100644
index 00000000..ad45b820
--- /dev/null
+++ b/tests/pkg-perl/smoke-files
@@ -0,0 +1,3 @@
+README.md
+t
+etc
diff --git a/tests/pkg-perl/smoke-skip b/tests/pkg-perl/smoke-skip
new file mode 100644
index 00000000..b49363da
--- /dev/null
+++ b/tests/pkg-perl/smoke-skip
@@ -0,0 +1,7 @@
+# Failed test 'Default system directory should be correct'
+# at t/configuration.t line 27.
+# got: '/etc/sqitch'
+# expected: '/usr/etc/sqitch'
+#
+# this test is skipped during build so we probably don't care
+t/configuration.t
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644
index 00000000..3c4915da
--- /dev/null
+++ b/upstream/metadata
@@ -0,0 +1,5 @@
+Archive: CPAN
+Bug-Database: https://github.com/sqitchers/sqitch/issues/
+Bug-Submit: https://github.com/sqitchers/sqitch/issues//new
+Repository: https://github.com/sqitchers/sqitch.git
+Repository-Browse: https://github.com/sqitchers/sqitch
diff --git a/watch b/watch
new file mode 100644
index 00000000..790116a7
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/\.\d$/$&000/;s/\.\d\d$/$&00/;s/\.\d\d\d$/$&0/; \
+ https://metacpan.org/release/App-Sqitch .*/App-Sqitch-v?@ANY_VERSION@@ARCHIVE_EXT@$