[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684749: unblock: dh-make-drupal/1.2-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package dh-make-drupal

There is a very trivial bug in dh-make-drupal 1.1 that was reported to
me today (#684738). As I am upstream for this package, I did the fix
as a new upstream version. The full diff between 1.1 and 1.2 is:

~/vcs/dh-make-drupal$ git diff debian/1.1-1 debian/1.2-1
diff --git a/changelog.txt b/changelog.txt
index d3ad177..017964c 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,7 @@
+1.2 (2012-08-13)
+ * "Switch '-d' (Drupal version) was not accepting its needed argument.
+   Fixed, thanks  to Matthew Gabeler-Lee for the report
+
 1.1 (2012-06-28)
  * Fix a syntactic detail with optparse: The mandatory arguments for
    some options were not correctly declared, so the program didn't
diff --git a/debian/changelog b/debian/changelog
index 2e2d7d2..66b44c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dh-make-drupal (1.2-1) unstable; urgency=low
+
+  * Switch '-d' (Drupal version) was not accepting its needed argument -
+    Fixed, thanks  to Matthew Gabeler-Lee for the report (Closes:
+    #684738)
+
+ -- Gunnar Wolf <gwolf@debian.org>  Mon, 13 Aug 2012 09:32:36 -0500
+
 dh-make-drupal (1.1-1) unstable; urgency=low
 
   * Mandatory arguments were unhandled - Fixed.
diff --git a/dh-make-drupal b/dh-make-drupal
index 602c239..b011b18 100755
--- a/dh-make-drupal
+++ b/dh-make-drupal
@@ -994,7 +994,7 @@ class Application
         exit 0
       end
 
-      opts.on('-d', '--drupal-version', 'Drupal version'
+      opts.on('-d VERSION', '--drupal-version', 'Drupal version'
               ) { |ver| options.d_ver = ver }
 
       opts.on('-r', '--report-only',


Thanks!

unblock dh-make-drupal/1.2-1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: