This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=605d9f8a8a59c8413a9ba0ab260b6f10a7ac1c70

commit 605d9f8a8a59c8413a9ba0ab260b6f10a7ac1c70
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Nov 16 00:32:09 2019 +0100

    Dpkg::Source::Package: Remove and hide internal lowercase variables
    
    Bump module version to 2.00.
---
 debian/changelog               |  3 +++
 scripts/Dpkg/Source/Package.pm | 16 +++++++---------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 64b463182..8841b1cb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -60,6 +60,9 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
     - Dpkg::Deps::KnownFacts: Remove obsolete check_package() method.
     - Dpkg::Exit: Hide internal lowercase @handlers variable.
     - Dpkg::Gettext: Remove obsolete _g() function.
+    - Dpkg::Source::Package: Hide internal lowercase variable
+      @tar_ignore_default_pattern. Remove iternal lowercase variable alias
+      $diff_ignore_default_regexp.
   * Documentation:
     - man: Fix uncommon wording constructs.
     - man: Use a minus sign for a literal string.
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 35bdbafa1..d973c5643 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -34,7 +34,7 @@ is the one that supports the extraction of the source package.
 use strict;
 use warnings;
 
-our $VERSION = '1.04';
+our $VERSION = '2.00';
 our @EXPORT_OK = qw(
     get_default_diff_ignore_regex
     set_default_diff_ignore_regex
@@ -81,14 +81,8 @@ my $diff_ignore_default_regex = '
 $diff_ignore_default_regex =~ s/^#.*$//mg;
 $diff_ignore_default_regex =~ s/\n//sg;
 
-# Public variables
-# XXX: Backwards compatibility, stop exporting on VERSION 2.00.
-## no critic (Variables::ProhibitPackageVars)
-our $diff_ignore_default_regexp;
-*diff_ignore_default_regexp = \$diff_ignore_default_regex;
-
 no warnings 'qw'; ## no critic (TestingAndDebugging::ProhibitNoWarnings)
-our @tar_ignore_default_pattern = qw(
+my @tar_ignore_default_pattern = qw(
 *.a
 *.la
 *.o
@@ -660,10 +654,14 @@ sub write_dsc {
 
 =head1 CHANGES
 
-=head2 Version 1.04 (dpkg 1.20.0)
+=head2 Version 2.00 (dpkg 1.20.0)
 
 New method: check_original_tarball_signature().
 
+Remove variable: $diff_ignore_default_regexp.
+
+Hide variable: @tar_ignore_default_pattern.
+
 =head2 Version 1.03 (dpkg 1.19.3)
 
 New option: format in new().

-- 
Dpkg.Org's dpkg

Reply via email to