debian/0000755000000000000000000000000012222123760007163 5ustar debian/patches/0000755000000000000000000000000012222122536010612 5ustar debian/patches/README0000644000000000000000000000021111347270217011473 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_Use_Digest::SHA.patch0000644000000000000000000000176212222122536015055 0ustar --- a/lib/Code/TidyAll.pm +++ b/lib/Code/TidyAll.pm @@ -9,7 +9,7 @@ qw(abs2rel basename can_load dirname dump_one_line mkpath read_dir read_file rel2abs tempdir_simple uniq write_file); use Code::TidyAll::Result; use Date::Format; -use Digest::SHA1 qw(sha1_hex); +use Digest::SHA qw(sha1_hex); use File::Find qw(find); use File::Zglob; use List::MoreUtils qw(uniq); --- a/lib/Code/TidyAll/Cache.pm +++ b/lib/Code/TidyAll/Cache.pm @@ -2,7 +2,7 @@ { $Code::TidyAll::Cache::VERSION = '0.18'; } -use Digest::SHA1 qw(sha1_hex); +use Digest::SHA qw(sha1_hex); use Code::TidyAll::Util qw(dirname mkpath read_file write_file); use Moo; --- a/lib/Code/TidyAll/Git/Prereceive.pm +++ b/lib/Code/TidyAll/Git/Prereceive.pm @@ -5,7 +5,7 @@ use Code::TidyAll; use Code::TidyAll::Util qw(dirname realpath tempdir_simple read_file write_file); use Capture::Tiny qw(capture); -use Digest::SHA1 qw(sha1_hex); +use Digest::SHA qw(sha1_hex); use IPC::System::Simple qw(capturex run); use Moo; use Try::Tiny; debian/patches/series0000644000000000000000000000003311563311575012035 0ustar 1001_Use_Digest::SHA.patch debian/control0000644000000000000000000000272412222122546010574 0ustar Source: libcode-tidyall-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo, libconfig-ini-perl, libtimedate-perl, libfile-zglob-perl, libguard-perl, libipc-run3-perl, libipc-system-simple-perl, liblist-moreutils-perl, liblog-any-perl, libmoo-perl, libtime-duration-parse-perl, libtry-tiny-perl, libcapture-tiny-perl (>= 0.12), libtest-class-most-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcode-tidyall-perl.git Homepage: http://search.cpan.org/dist/Code-TidyAll/ Package: libcode-tidyall-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: your all-in-one code tidier and validator There are a lot of great code tidiers and validators out there. tidyall makes them available from a single unified interface. . You can run tidyall on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. tidyall will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. . This package provides commandline tool tidyall and Perl module Code::TidyAll. debian/source/0000755000000000000000000000000011752713702010473 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000245412222123760011042 0ustar libcode-tidyall-perl (0.18-1) unstable; urgency=low [ upstream ] * New release: + Fix Test::Code::TidyAll::tidyall_ok. + Fix JSBeautify plugin as js-beautify no longer respects --replace. [ Jonas Smedegaard ] * Add github URL as alternate source. * Stop track md5sum of upstream tarball. * Improve watch file to use both www.cpan.org/authors URL (for newest info) and search.cpan.org/dist URL (for change of author). Switch get-orig-source target to use www.cpan.org/authors URL. * Unfuzz patch 1001. -- Jonas Smedegaard Mon, 30 Sep 2013 00:21:34 +0200 libcode-tidyall-perl (0.17-2) unstable; urgency=low [ gregor herrmann ] * debian/copyright: add information about files not covered by the general copyright/license. Thanks to Ansgar Burchardt for the pointers. [ Jonas Smedegaard ] * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Fix stop (build-)depending on libscalar-list-utils-perl: Provided by perl(-modules). -- Jonas Smedegaard Fri, 30 Aug 2013 14:52:36 +0200 libcode-tidyall-perl (0.17-1) unstable; urgency=low * Initial packaging release. Closes: bug#702831. -- Jonas Smedegaard Tue, 12 Mar 2013 04:42:42 +0100 debian/README.source0000644000000000000000000000056312134045103011342 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/compat0000644000000000000000000000000212010177205010357 0ustar 8 debian/watch0000644000000000000000000000034412222120705010211 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://www.cpan.org/authors/id/J/JS/JSWARTZ/Code-TidyAll-([\d.]+)\.tar\.gz http://search.cpan.org/dist/Code-TidyAll/ .*/Code-TidyAll-([\d._]+)\.tar\.gz debian/copyright_hints0000644000000000000000000000633112222122544012325 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes INSTALL MANIFEST META.json META.yml Makefile.PL debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/patches/README debian/patches/series debian/source/format debian/watch etc/editors/tidyall.vim lib/Code/TidyAll/Cache.pm lib/Code/TidyAll/Config/INI/Reader.pm lib/Code/TidyAll/Git/Util.pm lib/Code/TidyAll/SVN/Util.pm lib/Code/TidyAll/Test/Class.pm lib/Code/TidyAll/Test/Plugin/AToZ.pm lib/Code/TidyAll/Test/Plugin/CheckUpper.pm lib/Code/TidyAll/Test/Plugin/RepeatFoo.pm lib/Code/TidyAll/Test/Plugin/ReverseFoo.pm lib/Code/TidyAll/Test/Plugin/UpperText.pm lib/Code/TidyAll/Util.pm lib/Code/TidyAll/Util/Zglob.pm lib/Code/TidyAll/t/Basic.pm lib/Code/TidyAll/t/Conf.pm lib/Code/TidyAll/t/Git.pm lib/Code/TidyAll/t/Plugin.pm lib/Code/TidyAll/t/Plugin/CSSUnminifier.pm lib/Code/TidyAll/t/Plugin/JSBeautify.pm lib/Code/TidyAll/t/Plugin/JSHint.pm lib/Code/TidyAll/t/Plugin/JSLint.pm lib/Code/TidyAll/t/Plugin/MasonTidy.pm lib/Code/TidyAll/t/Plugin/PHPCodeSniffer.pm lib/Code/TidyAll/t/Plugin/PerlCritic.pm lib/Code/TidyAll/t/Plugin/PerlTidy.pm lib/Code/TidyAll/t/Plugin/PodSpell.pm lib/Code/TidyAll/t/Plugin/SortLines.pm lib/Code/TidyAll/t/SVN.pm lib/Code/TidyAll/t/Util.pm lib/Code/TidyAll/t/Zglob.pm lib/Pod/Weaver/Section/SeeAlsoCodeTidyAll.pm perltidy.LOG t/Basic.t t/Conf.t t/Zglob.t t/author-Git.t t/author-Plugin-CSSUnminifier.t t/author-Plugin-JSBeautify.t t/author-Plugin-JSHint.t t/author-Plugin-JSLint.t t/author-Plugin-MasonTidy.t t/author-Plugin-PerlCritic.t t/author-Plugin-PerlTidy.t t/author-Plugin-PodChecker.t t/author-Plugin-PodSpell.t t/author-Plugin-PodTidy.t t/author-Plugin-SortLines.t t/author-SVN.t t/author-Util.t t/author-tidy-and-critic.t xt/tidyall.t Copyright: *No copyright* License: UNKNOWN FIXME Files: README bin/tidyall lib/Code/TidyAll.pm lib/Code/TidyAll/Git/Precommit.pm lib/Code/TidyAll/Git/Prereceive.pm lib/Code/TidyAll/Plugin.pm lib/Code/TidyAll/Plugin/CSSUnminifier.pm lib/Code/TidyAll/Plugin/JSBeautify.pm lib/Code/TidyAll/Plugin/JSHint.pm lib/Code/TidyAll/Plugin/JSLint.pm lib/Code/TidyAll/Plugin/MasonTidy.pm lib/Code/TidyAll/Plugin/PHPCodeSniffer.pm lib/Code/TidyAll/Plugin/PerlCritic.pm lib/Code/TidyAll/Plugin/PerlTidy.pm lib/Code/TidyAll/Plugin/PodChecker.pm lib/Code/TidyAll/Plugin/PodSpell.pm lib/Code/TidyAll/Plugin/PodTidy.pm lib/Code/TidyAll/Plugin/SortLines.pm lib/Code/TidyAll/Result.pm lib/Code/TidyAll/SVN/Precommit.pm lib/Code/TidyAll/t/Plugin/PodChecker.pm lib/Code/TidyAll/t/Plugin/PodTidy.pm lib/Test/Code/TidyAll.pm Copyright: 2011, Jonathan Swartz License: UNKNOWN FIXME Files: Copyright: License: FIXME Files: etc/editors/tidyall.el Copyright: 2012, Jonathan Swartz License: GPL-2+ FIXME Files: debian/rules Copyright: 2013, Jonas Smedegaard License: GPL-3+ FIXME Files: LICENSE Copyright: 1989, Free Software Foundation, Inc 19xx name of author 19yy 2011, Jonathan Swartz disclaimer" for the program, if interest in the the software, and License: GPL-ever FIXME debian/copyright0000644000000000000000000000470512222115315011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Code::TidyAll Upstream-Contact: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Code-TidyAll Source: http://search.cpan.org/dist/Code-TidyAll/ git://github.com/jonswar/perl-code-tidyall.git Files: * Copyright: 2011-2012, Jonathan Swartz License: Artistic or GPL-1+ Comment: License: . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. . Comment: . Perl 5 is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. Files: etc/editors/tidyall.el Copyright: 2012, Jonathan Swartz License: GPL-2+ Comment: License: . 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 2, or (at your option) any later version. Files: lib/Code/TidyAll/Util/Zglob.pm Copyright: 2011-2012, Jonathan Swartz 2002-2007, Richard Clamp License: Artistic or GPL-1+ Comment: From the code: . This is a copy of Text::Glob, modified to support "**/" Files: debian/* Copyright: 2013, Jonas Smedegaard License: GPL-3+ License: Artistic Comment: . On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: . On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: GPL-2+ Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. License: GPL-3+ 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 3, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611373262460010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000341112222120712010234 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2013, Jonas Smedegaard # Description: Main Debian packaging script for Code::TidyAll # # 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 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = $(DEB_SOURCE_PACKAGE) DEB_UPSTREAM_PACKAGE = Code-TidyAll DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/J/JS/JSWARTZ # Needed by upstream build process and (always) at runtime perl-deps = config-ini timedate file-zglob guard ipc-run3 perl-deps += ipc-system-simple list-moreutils log-any moo perl-deps += time-duration-parse try-tiny deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps)) deps +=, libcapture-tiny-perl (>= 0.12) # Needed by upstream testsuite deps-test = libtest-class-most-perl # Needed (often/seldom) at runtime recommends = libperl-critic-perl, perltidy, libpod-spell-perl Suggests = php-codesniffer CDBS_BUILD_DEPENDS += , $(deps), $(deps-test) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_$(pkg) = $(recommends) CDBS_SUGGESTS_$(pkg) = $(suggests) DEB_INSTALL_EXAMPLES_$(pkg) = etc/* debian/control.in0000644000000000000000000000220612117502062011172 0ustar Source: libcode-tidyall-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcode-tidyall-perl.git Homepage: http://search.cpan.org/dist/Code-TidyAll/ Package: libcode-tidyall-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: your all-in-one code tidier and validator There are a lot of great code tidiers and validators out there. tidyall makes them available from a single unified interface. . You can run tidyall on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. tidyall will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. . This package provides commandline tool tidyall and Perl module Code::TidyAll.