[DRE-commits] [gem2deb] 02/05: add option to deactivate wnpp-check in dh-make-ruby (activated by default)

Cédric Boutillier boutil at moszumanska.debian.org
Wed Jul 30 14:17:28 UTC 2014


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

boutil pushed a commit to branch master
in repository gem2deb.

commit 794781fbd6174123dae68c61bcb6e0e485bb4aa5
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jul 30 14:39:34 2014 +0200

    add option to deactivate wnpp-check in dh-make-ruby (activated by default)
---
 bin/dh-make-ruby | 11 +++++++++++
 debian/changelog |  4 ++++
 2 files changed, 15 insertions(+)

diff --git a/bin/dh-make-ruby b/bin/dh-make-ruby
index 0f1d5a4..2f3eaa0 100755
--- a/bin/dh-make-ruby
+++ b/bin/dh-make-ruby
@@ -39,6 +39,11 @@ optparse = OptionParser.new do |opts|
   opts.on('', '--ruby-versions VERSIONS', 'ruby versions to use (default: all)') do |versions|
     options[:ruby_versions] = versions
   end
+
+  options[:do_wnpp_check] = true
+  opts.on('', '--no-wnpp-check', 'prevent dh-make-ruby from checking wnpp reports') do
+    options[:do_wnpp_check] = false
+  end
 end
 optparse.parse!
 
@@ -95,6 +100,12 @@ Displays the help
 
 Displays version information and exits.
 
+=item B<--no-wnpp-check>
+
+Prevents B<dh-make-ruby> to check wnpp reports to get the number of a possible
+ITP (intend to package) bug report. By default, B<dh-make-ruby> does check these
+reports, which requires an Internet access.
+
 =back
 
 =head1 SEE ALSO
diff --git a/debian/changelog b/debian/changelog
index b8f5b77..e600933 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ gem2deb (0.7.6) UNRELEASED; urgency=medium
   * dh-make-ruby: if an ITP bug exists, add its number to the generated
     changelog (Closes: #704651)
 
+  [ Cédric Boutillier ]
+  * Add a --no-wnpp-check option to dh-make-ruby to prevent dh-make-ruby to
+    check the existense of an ITP bug.
+
  -- Per Andersson <avtobiff at debian.org>  Thu, 29 May 2014 14:39:50 +0200
 
 gem2deb (0.7.5) unstable; urgency=medium

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list