This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=00d15e9714468918a8bc55a39b281f2a40b17a01 commit 00d15e9714468918a8bc55a39b281f2a40b17a01 Author: Guillem Jover <[email protected]> AuthorDate: Thu May 29 02:34:17 2025 +0200 Dpkg::Compression: Uncomment compression_get_property() deprecation warning The warning was added as commented code to avoid triggering on code that had not been switched and to avoid breaking their test suite. Now that this has happened, we can enable the warning again. --- scripts/Dpkg/Compression.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/Dpkg/Compression.pm b/scripts/Dpkg/Compression.pm index bd69d5e4d..b7062e408 100644 --- a/scripts/Dpkg/Compression.pm +++ b/scripts/Dpkg/Compression.pm @@ -144,17 +144,17 @@ properties currently include "file_ext" for the file extension, "comp_prog" for the name of the compression program and "decomp_prog" for the name of the decompression program. -This function is deprecated, please switch to one of the new specialized -getters instead. +B<Note>: This function is deprecated, please switch to one of the new +specialized getters instead. =cut sub compression_get_property { my ($comp, $property) = @_; - #warnings::warnif('deprecated', - # 'Dpkg::Compression::compression_get_property() is deprecated, ' . - # 'use one of the specialized getters instead'); + warnings::warnif('deprecated', + 'Dpkg::Compression::compression_get_property() is deprecated, ' . + 'use one of the specialized getters instead'); return unless compression_is_supported($comp); return $COMP{$comp}{$property} if exists $COMP{$comp}{$property}; return; -- Dpkg.Org's dpkg

