DAM / DhMakePerl-0.81 / Changes

0.81 (2014-05-18)

  [ Dima Kogan ]
  * If unable to parse pkgname or version, quit with a useful error message.
  * Replaced all 'start_dir' uses with 'main_dir'

  [ gregor herrmann ]
  * DhMakePerl::Command::Packaging:
    - install CONTRIBUTING files in extract_docs().
    - require debhelper 9.20120312 only for arch:any packages;
      for arch:all debhelper 8 or 9 are enough
    - add a trailing ~ to all versioned dependencies to make
      backporting easier
    - drop special casing for all kinds of dependencies which needed
      debhelper 7.x.
      Support for debhelper < 8 was dropped in dh-make-perl 0.77.
  * Reword "debhelper(1) 7 tiny" to the more accurate "dh(1)".
    Also rename is_dh7tiny() method to is_dhtiny().
  * Update copyright years.

  [ Axel Beckert ]
  * Apply wrap-and-sort.
  * Untangle checks for pristine-tar and upstream tarball in
    git_add_debian() (Closes: #735968)
  * Code-deduplication by splitting up guess_tarball() into
    guess_tarball($prefix) and guess_debian_tarball() and then using
    guess_tarball() also in setup_dir().
  * Iterate over all supported tar ball suffixes in guess_tarball().
  * Use Cwd's realpath for upstream tarball search if main_dir is just "."

  [ gregor herrmann ]
  * Bump required debhelper version for Module::Build::Tiny to 9.20140227.

0.80 (2013-10-29)
  [ CSILLAG Tamas ]
  * add rename_to_debian_package_dir.
    This will rename the directory name to the canonical name of
    the debian package.
  * use system("mv ...") when cross device directory move is expected
    otherwise just use rename

  [ Damyan Ivanov ]
  * FromCPAN/find_debs_for_modules: do not crash when all offerred packages
    are perl(-(modules|base))? (Closes: #725206)
  * drop trailing slash from t/Control.t test file

  [ Salvatore Bonaccorso ]
  * Create packages with Standards-Version 3.9.5
  * Adjust Standards-Version in control files of testsuite

0.79 (2013-08-16)
  * silence a warning when reporting about a core-satisfied dependency without
    a version
  * fix problems with perl 5.18:
    (Debian #719829)
    + fix missing =back in Debian::Control::Stanza::CommaSeparated POD
    + sort a couple of hash key walks breaking tests with perl 5.18
  * remove the trailing slash from ustream/watch URLs
  * drop usage of experimental given/when in Packaging.pm
  * rework --only internal representation to be a hash
  * t/dists.t: rework running dh-make-perl and give all diagnostics when a
    test fails
  * fix specoial handling of changed copyright years
  * make dh-make-perl report its version on every invocation

0.78 (2013-08-09)
    add $VERSION to all modules

    use strict; use warnings; everywhere
    also ensure this doesn't change via t/critic.t

    fix a bunch of typos thanks to Test::Spelling

0.77 (2013-08-08)

  [ Salvatore Bonaccorso ]
  * Bump version for DhMakePerl to 0.77
  * Bump Standards-Version to 3.9.4
  * Create packages with Standards-Version 3.9.4.
    Adjust default Standards-Versions in DhMakePerl::Command::Packaging to
    3.9.4.
    Bump Standards-Version in debian/control for tests to 3.9.4.
  * Use metacpan.org instead of search.cpan.org.
    Use https://metacpan.org instead of http://search.cpan.org in
    debian/watch, debian/copyright and debian/control files.
    Adjust the test files using https://metacpan.org.
  * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
  * Use anonscm.debian.org for source location in debian/copyright
  * Create Vcs-Git with canonical URI (git://anonscm.debian.org)
    (Closes: #697876)

  [ Damyan Ivanov ]
  * add test about handling user:pass@ in sources.list URLs

  [ gregor herrmann ]
  * DhMakePerl::Command::Packaging: honour command line options
    for packagename/version in extract_name_ver.

  [ Nathan Handler ]
  * Email change: nhandler -> nhandler@debian.org

  [ Dima Kogan ]
  * Not importing IO::Dir since I'm not using it
  * better handling of upstream-supplied debian/ directories.  If we are
    making a git repo I now remove debian/ directory if the upstream ships
    it. This goes into the 'master' branch, so the 'upstream' branch
    contains the original debian/ directory, and thus matches the
    pristine-tar

  [ gregor herrmann ]
  * DhMakePerl::Command::make: Try to guess tarball name when run from an
    unpacked source directory.
  * DhMakePerl::Command::Packaging: Don't sanitize version if given on the
    command line.
  * Update years of copyright.
  * DhMakePerl::Command::Packaging: replace "This library" with the module
    name in the long description, like we already did with "This module".

  [ Axel Beckert ]
  * DhMakePerl::Command::make: Call git_add_debian before build_package
    and install_package to not add files generated during the package
    build process to the git repository.
  * Add patch by Matthew Gabeler-Lee to understand packages named
    "-vX.Y.Z". (Closes: #701140)
  * Fix "fatal: pathspec '…' did not match any files" error of "git
    add". (Closes: #659526)
  * Add option --build-source to build .dsc file (c.f. #645011). Also add
    a cpan2dsc 'flavour' of dh-make-perl. If it is called by that name,
    the behaviour changes for easy .dsc creation.
  * Mention cpan2deb and cpan2dsc in the long description.
  * Add myself to Uploaders.

  [ Oleg Gashev ]
  * Fixed timestamp regexp to t/dists.t file. If time zone is EDT, failed
    tests from t/dists.t file: Generated tree matches template. Problem
    with incorrect timestamp regexp.

  [ Damyan Ivanov ]
  * Dependency: assume '>=' relationship if missing when constructing from
    hash /usr/share/perl5/Debian/Dependency.pm line 157. Thanks to Robert
    Norris for his patience and his excellent analysis. (Closes: #704480)
  * exclude README in the root directory from .docs "in 9x% we remove it
    from .docs afterwards" this change is a bit of a "big gun", because it
    doesn't really check if README is autogenerated, but hey, fixing a 90%
    false-positive hit is better than introducing a 10% false-negative hit
    (Closes: #608936)
  * drop mangling versions like 2.003004 into 2.3.4 this partially reverts
    385451609f5af2ace92c3838133dd4ed2c605608 see there for the reasoning
    back in 2010 (TODO is interesting) the fix seems to cause more
    problems than it solves. matching cpan-version to debian version is
    dark area

  [ gregor herrmann ]
  * Fix tests for .docs generation.
  * Fix tests for version mangling.
  * debian/control: one 'perl' is enough. Thanks to lintian.

  [ Damyan Ivanov ]
  * use dh 9 for arch:any packages to get hardening flags
  * drop support for debhelper compatibility levels before 8
  * drop documentation and support of rules files for dh7

  [ Lasse Makholm ]
  * Debian::AptContents: Fix repo_source_to_contents_paths() to also work on
    Ubuntu.
    Make sure to generate paths both with and without components to be
    compatible with both old and new apt-file versions.
    (LP: #1034881)

  [ Damyan Ivanov ]
  * use Text::Balanced's extract_quotelike for parsing quoted strings
    (Closes: #717025)
  * do not fail AptContents.t with left over Contents.cache present
  * Control: revert ->binary to plain hashref and provide the Tie::IxHash tie
    via ->binary_tie (Closes: #712432)
  * configure_cpan: save/restore the CWD
  * make: when neither --cpan or a tarball is given, also try to use
    debian-named .orig.tar.gz
  * make: skip pristine-tar if there is no known tarball (Closes: #689476)
  * FromCPAN: catch in-core dependencies that require too new perl and provide
    an out-of-core alternative (Closes: #691534)
  * move mod_cpan_version from ::make to ::Packaging (Closes: #691859)
  * make: warn if pkg-perl already has a packaging repository for the package
    (Closes: #702456)
  * switch default debhelper to 9
  * packages build-depending on Module::Build::Tiny get debhelper 9.20130630
  * bump oldstable perl version from 5.10.0 to 5.10.1
  * make: prune dependencies after discovering additional dependencies
  * do not fail when $wnpp_query is not supplied due to --no-network
  * Makefile: defer {real,dist}clean to ./Build
  * add .pc and Contents.cache to MANIFEST.SKIP
  * rework dists.t using IPC::Run
  * supply data about libmodule-build-tiny-perl in test Contents

0.76 (2012-09-12)

  [ Salvatore Bonaccorso ]
  * Update debian/copyright file.
    Update format to the copyright-format 1.0 released with Debian policy
    3.9.3.
    Adjust Source location for dh-make-perl to point to the git repository.
    Update copyright years for debian/* packaging.
  * Create debian/copyright with copyright-format 1.0
    debian/copyright files are created following the copyright-format 1.0
    released with Standards-Version 3.9.3.
  * Adjust test files to copyright-format 1.0
  * Bump Standards-Version to 3.9.3
  * Create packages with Standards-Version 3.9.3.
    Adjust control files in t/dists test-files.

  [ Per Carlson ]
  * License attribute from META file is array. (Closes: #664150)

  [ gregor herrmann ]
  * DhMakePerl::Config: mark cpan option as explicitly set when called as
    cpan2deb. Avoids overriding by having a cpan key in ~/.dh-make-perl
    /.dh-make-perl.conf. Thanks to Brendan Byrd for the bug report.
    (Closes: #668084)
  * debian/control: update {versioned,alternative} (build) dependencies.

  [ Damyan Ivanov ]
  * create_watch: allow single-digit-only versions.
    Thanks to Kevin Ryde for the report and the proposed fix (Closes: #657249)
  * D:C:FromCPAN/find_debs_for_modules: search core first
    otherwise we get 'perl-modules (>= 2.21)' when requiring
    ExtUtils::ParseXS 2.21
  * bump copyright years
  * configure_cpan: ignore prerequisites to avoid unnecessary prompts
  * setup_dir: ignore $dist->get return value.
    POD says nothing about it, so false doesn't indicate failure.
    false is sometimes returned when some prerequisites aren't
    satisfied, which is not important for us. (Closes: #686739)
  * honour --arch option.
    Use it if given and skip automatic scan for XS code. (Closes: #668642)

0.75 (2012-01-15)

  [ Damyan Ivanov ]
  * setup Git repository in --vcs=git even without --pkg-perl
  * when setting up Git repository, add 'origin' remote only in --pkg-perl
    mode
  * fail gracefuly if pristine-tar is not available
  * add libfile-which-perl to (build-)dependencies
  * fix typo in --pristine-tar description
  * Apply patch from Dima Kogan, avoiding confusion when the version string is
    not quoted (RT#71224)
  * META:
    + add explicit configure_requires on Module::Build
    + add repository URL
    + add keywords
  * when warning about missing apt-file, state the minimum required version

  [ gregor herrmann ]
  * Swap order of alternative (build) dependencies after the perl 5.14
    transition.
  * DhMakePerl/Command/make.pm: setup_dir(): change back to original
    directory after CPAN.pm changes it; thanks to Dima Kogan
    (cf. RT#71708).
  * Fix POD: --pkg-perl sets Vcs-Git, of course.
  * Treat META.json like META.yml (i.e. rm/unlink/ignore it).
  * DhMakePerl::Command::Packaging: don't initialize CPAN if --no-network
    is set. Otherwise t/cache.t fails because CPAN tries to update its
    config and goes out hunting for CPAN mirrors.
  * t/dists.t: allow multiple years in Copyright line.
    "refresh" adds the current year to the years of copyright.
    In other words: This was a "New Year's Bug".
  * t/dists: fix the regexp for matching the email address of our maintainer.
  * DhMakePerl::Command::Packaging: don't initialize CPAN if --no-network is set.
  * Treat META.json like META.yml (i.e. rm/unlink/ignore it).

  [ Dima Kogan ]
  * When making recursively, build/install this package only AFTER its
    dependencies have been built/installed
  * find_debs_for_modules() no longer reports installed-but-not-in-aptfile
    packages as missing
  * when installing a package, $arch now comes from the control file
    (Closes Debian bug #651343)

0.74 (2011-09-12)

  [ Tim Retout ]
  * t/cache.t: New test for handling unreadable cache files.
  * Debian::WNPP::Query: return an empty hashref rather than undef after
    failing to read cache file.
  * DhMakePerl::Config: Change default source format to 3.0 (quilt).

  [ Damyan Ivanov ]
  * Packaging.pm: extend the examples regular expression to match demo/demos.
    Thanks to Kevin Ryde. Closes Debian bug #634932
  * add pristine-tar to Recommends. Thanks to Tim.
  * fix t/debian-version.t to not plan twice in case debian/changelog does not
    exist (e.g. when testing the CPAN distribution, which lacks debian/ stuff)
    RT#66214
  * setup_git_repository: streamline import of upstream sources

  [ gregor herrmann ]
  * Update created Vcs-Browser URLs for Debian Perl Group repositories.
  * Change URLs for DEP5 Format-Specification to point to
    http://anonscm.debian.org.
  * Update list of contributors/copyright holders in dh-make-perl and
    debian/copyright.

  [ Ansgar Burchardt ]
  * debian/control: Convert Vcs-* fields to Git.
  * DhMakePerl::Config: Change default VCS to Git.

  [ Salvatore Bonaccorso ]
  * Debian::AptContents: Fix typo in POD.

  [ Maximilian Gass ]
  * Fix Debian::AptContents for file name changes in apt-file 2.5.0

0.73 (2011-07-03)

  [ gregor herrmann ]
  Add missing modules to Build.PL.
  Update copyright notices.
  Debian::Control::Stanza::Source: add XS-Autobuild field; mention all
    fields in POD, and sort list.

  [ Salvatore Bonaccorso ]
  create packages with Standards-Version 3.9.2.
  Bump Standards-Version to 3.9.2. 
  Debian::Control::Stanza::Source: Add DM-Upload-Allowed field to
    supported fields for source stanza in debian/control.

  * Debian::Control::Stanza::Source: Order fields similar to dh_make generated
    templates.

  [ Nicholas Bamber ]
  * Updated authorship notice

  [ Damyan Ivanov ]
  * Add --vcs option, guiding VCS-* headers' creation in --pkg-perl mode. It
    also helps with the initial repository creation for Git
  * Do not die when the WNPP cache cannot be read, for example due to binary
    format change in Storable. Also, use platform-independent storage.
    Closes: #626987 - dh-make-perl: Debian::WNPP::Query does not correctly
    invalidate cache or use platform-netural Storable format
  * bump default debhelper compatibility level to 8
  * note oldstable has perl 5.10.0, not 5.8.8
  * apply a patch from Manfred Stock fixing AptContents not to miss
    alternative dependencies when a given module is found in more than one
    package. Closes: #622852
  * Use CPAN::Meta for processing META.* files, adding support for META.json.
  * When no META file is available, try parsing name and version from Build.PL
    before Makefile.PL. Closes: #589946
  * fix calls to extract_basic_copyright from File::Find::find to not chdir,
    fixing lookups for ./LICENSE, etc on refresh. Closes: #613606 -- Fails to
    correctly identify GPLv2 in RT::Authen::ExternalAuth v0.08 on refresh

0.72 (2011-02-05)

  [ Nicholas Bamber ]
  Added logic to parse special email change directives in the changelog
  so that the refresh command respects email changes.
      Debian bug #609409

  Changed regular expression in t/dists.t to allow .svn not ending in /

  Various fixes for t/dists.t:
    - Added fix for .svn at the end of a filename rather than the middle
    - Second /dev/null check was attempting to diff an undefined value
    - Setting PERL5LIB (unsatisfactory work around for system(dh-make-perl) )


0.71 (2010-12-28)

  [ Ansgar Burchardt ]
  DhMakePerl::Command::Packaging: Refer to "Debian systems" instead of
  "Debian GNU/Linux systems" in generated debian/copyright.

  [ Salvatore Bonaccorso ]
  Improve regular expression to not match fields in Makefile.PL as
  MIN_PERL_VERSION to determine the version of the package. Thanks to
  Andrew Ruthven for reporting.
      Debian bug #596025

  Update my email address.

  [ gregor herrmann ]
  Debian::Control::FromCPAN: also check test_requires and build_requires for
  finding build dependencies
      Debian bug #601787

  [ Peter Pentchev ]
  My::Builder: fix a typo (raname -> rename).

  t/AptContents.t: fix a typo (fund -> found).

  [ Damyan Ivanov ]
  when looking for XS code, skip win32/ directories

  Skip non-existing APT source files
      Debian bug #557961

  Detect usage of 'Artistic License 2.0' and include the license text in
  debian/copyright; require Software::License
    (Closes: #589816)

  Clarify documentation about --cpan argument being module name
      Debian bug #602059

  Support distribution names as arguments to --cpan
      Debian bug #607998

  Fix tests to stringify when comparing overloaded objects with strings

  Control::Stanza: split dependency lists one package per line in order to
  make changes more VCS-friendly

0.70 (2010-07-28)

  [ Salvatore Bonaccorso ]
  dh --buildsystem=buildsystem needs at least debhelper (>= 7.3.7), add this
  rule to DhMakePerl::Command::Packaging.

  Bump versioned Build-Depends on debhelper to (>= 7.3.7) as needed
  for --buildsystem.

  [ Damyan Ivanov ]
  Packaging.pm: fix a lexical declaration within a conditional statement

0.69 (2010-07-26)

    [ Damyan Ivanov ]
    die early if unable to determine distribution name or version.
        Debian bug #525847

    spelling fixes in POD and comments

    [ Ansgar Burchardt ]
    Do not require --cpan in addition to --pkg-perl when adding Vcs-* fields.

    Debian::Dependency: Recognize deprecated '<' and '>' relations.

    Debian::Dependency: Allow architecture restrictions in dependencies.
    For now this information is just ignored.

    DhMakePerl::Command::Packaging (set_package_name): Use package name
    specified by --packagename option. (Debian bug #584619)

    dh-make-perl: Fix spelling error ("intercepring" → "intercepting").

    Debian::WNPP::Query: Fix bugs_for_package method.

    Debian::Control::FromCPAN (discover_dependencies): Do not ignore results
    from Module::Depends::Intrusive. (Debian bug #587276)

    [ Salvatore Bonaccorso ]
    Add support of Breaks field for binary package stanzas in debian/control
    to Debian::Control::Stanza::Binary.

    Create packages with Standards-Version: 3.9.1.

    Fix sentences in texts for License stanzas of debian/copyright: Add full
    stop mark after sentences.

    Add explicit Link to versioned `/usr/share/common-licenses/GPL-1' as this 
    was added by base-files 5.8 (See debian bug #436105).

    Fix debian/copyright text templates in t/dist/Strange-0.1 and
    t/dist/Strange-2.1.

    Add support for perl_dbi addon for dh.

    Build-Depends only on perl when Build.PL and Module::Build is used,
    instead of an alternate Build-Depends on perl (>= 5.10) |
    libmodule-build-perl. This is as support for Etch is now discontinued and
    Lenny already contains perl (>= 5.10) (Debian bug #590114).

    [ Chris Butler ]
    Fixed DhMakePerl::Utils to cope with modules in Module::CoreList where the
    version is unspecified. (Debian bug #585755)

0.68 (2010-05-04)

    Build.PL: add no_index as an attempt to avoid PAUSE indexing private stuff

    My::Builder: 'orig' target now creates identical (hard-linked)
        DhMakePerl-VERSION.tar.gz and dh-make-perl_VERSION.orig.tar.gz files

    My::Builder: streamline messages in the 'dist' and 'orig' actions

    Control.t: ensure dependency fields are wrapped properly

    make: fix a typo (DpkgList -> DpkgLists). Thanks to Dominic Hargreaves
        Debian bug #580101

    modules_already_packaged: fix ModuleInfo instantiation

    Config: honour values given to the constructor

    DpkgLists.t: do not insist that '/bin/perl' (or the corresponding regex) is
        only in perl-base. Instead, ensure that 'perl-base' is present in the
        returned list. Debian bug #580025

    make: drop $VERSION; some POD rewrite (was a blind copy of DhMakePerl.pm)

0.67
    POD: drop "--" in front of the commands.
    refresh: ensure ->rules is there before attempting to fiddle quilt
        integration

    Add support for version relations in META

    Debian::Dependency now survives being given a string with leading spaces

    make: implement recursive making of missing dependencies when --recursive
        is given. (Debian bug #342751)

    FromCPAN: remove leading 'v' from versions

    add Debian::DpkgLists - 'dpkg -S' on steroids

    FromCPAN: use Debian::DpkgLists as a last resort. This allows finding
        dependencies that are present in locally-installed packages.
        (Debian bug #478781)

    Dependency: the 'ver' member is an instance of Dpkg::Version
        Use its ability to compare and drop Debian::Version

    Dependenc{y,ies}: reduce '--' to '-' in the NAME POD section

    make: try harder to discover already existing package by looking up
        distribution modules in APT contents and dpkg file lists.

    replace CPAN::Config->load with CPAN:Handle::Config->load
        the former seems obsolete and only warns:
            Dispatching deprecated method 'CPAN::Config::load' to
            CPAN::HandleConfig

    added README

    added xt/pod-spelling.t to help test POD spelling



Hosting generously
sponsored by Bytemark