Skip to content
Snippets Groups Projects
Commit cfa2426c authored by Damyan Ivanov's avatar Damyan Ivanov
Browse files

add no-phone-home.patch disabling version check when creating new application via 'dancer2 -a'

Closes: #883606
parent 6f84f18b
No related branches found
No related tags found
No related merge requests found
Description: Remove version check when generating an application tree
This is a privacy breach and serves no real purpose for the package in
Debian/stable
Forwarded: not-needed
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: https://bugs.debian.org/883606
--- a/lib/Dancer2/CLI/Command/gen.pm
+++ b/lib/Dancer2/CLI/Command/gen.pm
@@ -26,7 +26,6 @@ sub opt_spec {
[ 'path|p=s', 'application path (default: current directory)',
{ default => '.' } ],
[ 'overwrite|o', 'overwrite existing files' ],
- [ 'no-check|x', 'don\'t check latest Dancer2 version (requires internet)' ],
[ 'skel|s=s', 'skeleton directory' ],
);
}
@@ -57,7 +56,6 @@ sub validate_args {
sub execute {
my ($self, $opt, $args) = @_;
- $self->_version_check() unless $opt->{'no_check'};
my $dist_dir = dist_dir('Dancer2');
my $skel_dir = $opt->{skel} || catdir($dist_dir, 'skel');
remove-eumm-version-req.patch
no-phone-home.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment