Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libdancer2-perl
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Perl Group
modules
packages
libdancer2-perl
Commits
cfa2426c
Commit
cfa2426c
authored
7 years ago
by
Damyan Ivanov
Browse files
Options
Downloads
Patches
Plain Diff
add no-phone-home.patch disabling version check when creating new application via 'dancer2 -a'
Closes: #883606
parent
6f84f18b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/no-phone-home.patch
+25
-0
25 additions, 0 deletions
debian/patches/no-phone-home.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
26 additions
and
0 deletions
debian/patches/no-phone-home.patch
0 → 100644
+
25
−
0
View file @
cfa2426c
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');
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
cfa2426c
remove-eumm-version-req.patch
no-phone-home.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment