debian/0000755000000000000000000000000011737604117007175 5ustar debian/rules0000755000000000000000000000070011737604117010252 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) TEST_FILES=$(filter-out t/all.t,$(shell echo t/*.t)) %: dh $@ override_dh_auto_test: AUTOMATED_TESTING=1 dh_auto_test -- test_files="$(TEST_FILES)" override_dh_auto_install: dh_auto_install mv -v $(TMP)/usr/bin/mysqldiff $(TMP)/usr/bin/mysql-schema-diff mv -v $(TMP)/usr/share/man/man1/mysqldiff.1p $(TMP)/usr/share/man/man1/mysql-schema-diff.1p debian/control0000644000000000000000000000205311737604117010600 0ustar Source: libmysql-diff-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libfile-slurp-perl, libtest-cpan-meta-perl, libtest-pod-perl, libtest-pod-coverage-perl Maintainer: Debian Perl Group Uploaders: TANIGUCHI Takaki , gregor herrmann Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/MySQL-Diff/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libmysql-diff-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmysql-diff-perl.git Package: libmysql-diff-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libfile-slurp-perl Description: module for comparing the table structure of two MySQL databases MySQL::Diff is suite of Perl modules and accompanying CLI script for comparing the schema (table structures) of two MySQL databases. . The package also contains the mysql-schema-diff script. . For further mysql helper scripts mysql-utilities might be interesting. debian/source/0000755000000000000000000000000011737604117010475 5ustar debian/source/format0000644000000000000000000000001411737604117011703 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000276511737604117011061 0ustar libmysql-diff-perl (0.43-2) unstable; urgency=low * Rename mysqldiff script to mysql-schema-diff. (Closes: #663182) * Mention script name in long description. (Closes: #664120) * debian/copyright: update to Copyright-Format 1.0. * Bump years of packaging copyright. * Bump Standards-Version to 3.9.3 (no changes). * Add a lintian override (false positive about MySQL spelling). -- gregor herrmann Fri, 06 Apr 2012 17:14:21 +0200 libmysql-diff-perl (0.43-1) unstable; urgency=low * New upstream release. * Switch to source format 3.0 (quilt). * Stop installing README. * Update upstream copyright information. * Bump debhelper compatibility level to 8. * Add libfile-slurp-perl to Depends. * Run tests that don't need a MySQL server. * Add /me to Uploaders. * Update short and long description. -- gregor herrmann Fri, 07 Oct 2011 14:58:13 +0200 libmysql-diff-perl (0.41-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ TANIGUCHI Takaki ] * Imported Upstream version 0.41 * Bump Standards-Version to 3.9.2. -- TANIGUCHI Takaki Thu, 06 Oct 2011 21:21:26 +0900 libmysql-diff-perl (0.33-1) unstable; urgency=low * Initial Release. (Closes: #611423) -- TANIGUCHI Takaki Fri, 04 Feb 2011 13:50:47 +0900 debian/compat0000644000000000000000000000000211737604117010373 0ustar 8 debian/patches/0000755000000000000000000000000011737604117010624 5ustar debian/patches/rename-script.patch0000644000000000000000000000471411737604117014424 0ustar Description: mysqldiff is renamed to mysql-schema-diff due to a name conflict change the reference to the name in the script/POD. (Doing this via d/rules would be difficult since we don't want to change all strings.) Origin: vendor Bug-Debian: http://bugs.debian.org/663182 Forwarded: not-needed Author: gregor herrmann Last-Update: 2012-04-06 --- a/bin/mysqldiff +++ b/bin/mysqldiff @@ -2,17 +2,17 @@ =head1 NAME -mysqldiff - compare MySQL database schemas +mysql-schema-diff - compare MySQL database schemas =head1 SYNOPSIS - mysqldiff [B] B B + mysql-schema-diff [B] B B - mysqldiff --help + mysql-schema-diff --help =head1 DESCRIPTION -F is a Perl script front-end to the +F is a Perl script front-end to the L module L which compares the data structures (i.e. schema / table definitions) of two @@ -40,28 +40,28 @@ =head1 EXAMPLES # compare table definitions in two files - mysqldiff db1.mysql db2.mysql + mysql-schema-diff db1.mysql db2.mysql # compare table definitions in a file 'db1.mysql' with a database 'db2' - mysqldiff db1.mysql db2 + mysql-schema-diff db1.mysql db2 # interactively upgrade schema of database 'db1' to be like the # schema described in the file 'db2.mysql' - mysqldiff -A db1 db2.mysql + mysql-schema-diff -A db1 db2.mysql # compare table definitions in two databases on a remote machine - mysqldiff --host=remote.host.com --user=myaccount db1 db2 + mysql-schema-diff --host=remote.host.com --user=myaccount db1 db2 # compare table definitions in a local database 'foo' with a # database 'bar' on a remote machine, when a file foo already # exists in the current directory - mysqldiff --host2=remote.host.com --password=secret db:foo bar + mysql-schema-diff --host2=remote.host.com --password=secret db:foo bar =head1 OPTIONS =for comment FIXME - add option docs here -More details to come; for now run C. +More details to come; for now run C. =head1 INTERNALS @@ -86,7 +86,7 @@ =item Where authentication is required, the hostname, username, and password -given by the corresponding options are used (type C +given by the corresponding options are used (type C for more information). =item debian/patches/series0000644000000000000000000000002411737604117012035 0ustar rename-script.patch debian/copyright0000644000000000000000000000213511737604117011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MySQL-Diff Upstream-Contact: Adam Spiers Source: http://search.cpan.org/dist/MySQL-Diff/ Files: * Copyright: 2000-2011, Adam Spiers License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, TANIGUCHI Takaki 2011-2012, gregor herrmann 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'. debian/watch0000644000000000000000000000016111737604117010224 0ustar version=3 http://search.cpan.org/dist/MySQL-Diff/ .*/MySQL-Diff-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libmysql-diff-perl.lintian-overrides0000644000000000000000000000016411737604117016260 0ustar # mysql refers to package and script names here libmysql-diff-perl: capitalization-error-in-description mysql MySQL