Debian Codegraph @

debian/patches/no-phone-home.patch

raw
1 Description: Remove version check when generating an application tree
2 This is a privacy breach and serves no real purpose for the package in
3 Debian/stable
4 Bug-Debian: https://bugs.debian.org/883606
5 Forwarded: not-needed
6 Author: Damyan Ivanov <[email protected]>
7 Reviewed-by: gregor herrmann <[email protected]>
8 Last-Update: 2026-09-27
9
10 --- a/lib/Dancer2/CLI/Gen.pm
11 +++ b/lib/Dancer2/CLI/Gen.pm
12 @@ -57,14 +57,6 @@
13 default => 0,
14 );
15
16 -option no_check => (
17 - is => 'ro',
18 - short => 'x',
19 - doc => "don't check latest Dancer2 version (default: check - requires internet)",
20 - required => 0,
21 - default => 0,
22 -);
23 -
24 option skel => (
25 is => 'ro',
26 short => 's',
27 @@ -153,7 +145,6 @@
28
29 sub run {
30 my $self = shift;
31 - $self->_version_check unless $self->no_check;
32
33 my $app_name = $self->application;
34 my $app_file = $self->parent_command->_get_app_file( $app_name );