]> git.donarmstrong.com Git - debbugs.git/commitdiff
merge colin changes and suggestions by fjp
authorDon Armstrong <don@donarmstrong.com>
Tue, 28 Aug 2007 21:16:46 +0000 (14:16 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 28 Aug 2007 21:16:46 +0000 (14:16 -0700)
Debbugs/SOAP.pm
cgi/search.cgi
debian/compat [new file with mode: 0644]
debian/debbugs-web.install [new file with mode: 0644]
debian/debbugs.install [new file with mode: 0644]
debian/libdebbugs-perl.install [new file with mode: 0644]
scripts/process.in

index ed7b274f40fb737d1837e6d83f030baa9abbf2e0..9b14575ccdf94a7576234d2f2ded5ee97a19be7c 100644 (file)
@@ -100,10 +100,10 @@ second the bug, dist, arch, bugusertags, sourceversions, and version
 parameters are passed if they are present.
 
 As a special case for suboptimal SOAP implementations, if only one
-argument is passed to get_status and it is an arrayref which either
-has a number as the first element or also contains an arrayref as the
-first element, the outer arrayref is dereferenced, and processed as
-in the examples above.
+argument is passed to get_status and it is an arrayref which either is
+empty, has a number as the first element, or contains an arrayref as
+the first element, the outer arrayref is dereferenced, and processed
+as in the examples above.
 
 See L<Debbugs::Status::get_bug_status> for details.
 
@@ -115,8 +115,9 @@ sub get_status {
 
      if (@bugs == 1 and
         ref($bugs[0]) and
-        @{$bugs[0]} and
-        (ref($bugs[0][0]) or
+        @{$bugs[0]} <= 1 and
+        (@{$bugs[0]} == 0 or
+         ref($bugs[0][0]) or
          looks_like_number($bugs[0][0])
         )
        ) {
index 5f6eadcc3004da7b6b05286e31b4eeb9ba304c0f..03d2cc571c119a1f9ee176beff32a472b887f20f 100755 (executable)
@@ -160,7 +160,7 @@ my %attributes = ('@cdate'  => {name => 'Date',
                                type      => 'str',
                               },
                  subject   => {name => 'Bug Title',
-                               type      => 'num',
+                               type      => 'str',
                               },
                  date      => {name => 'Submission date',
                                type      => 'num',
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/debbugs-web.install b/debian/debbugs-web.install
new file mode 100644 (file)
index 0000000..534b0b3
--- /dev/null
@@ -0,0 +1,3 @@
+var/lib/debbugs/www/*
+var/lib/debbugs/www/cgi/*
+etc/debbugs/html
\ No newline at end of file
diff --git a/debian/debbugs.install b/debian/debbugs.install
new file mode 100644 (file)
index 0000000..40ff252
--- /dev/null
@@ -0,0 +1,5 @@
+usr/lib/debbugs
+usr/share/man/man8
+usr/sbin
+usr/share/doc/debbugs/examples
+var/lib/debbugs
\ No newline at end of file
diff --git a/debian/libdebbugs-perl.install b/debian/libdebbugs-perl.install
new file mode 100644 (file)
index 0000000..c4acdfa
--- /dev/null
@@ -0,0 +1,3 @@
+usr/share/man/man3
+usr/share/perl5
+#etc/debbugs/config
index dcd845a025edd01651e82289e63b01d23dbac46c..209d9dbcc26fffd08b38afb8326856b1a2695ef5 100755 (executable)
@@ -488,8 +488,9 @@ END
               "Content-Type"            => 'text/plain; charset="utf-8"',
              ],<<END ,[join("\n",@msg)]),'',undef,1);
 This is an automatic notification regarding your $gBug report
-#$ref: $data->{subject},
-which was filed against the $data->{package} package.
+which was filed against the $data->{package} package:
+
+#$ref: $data->{subject}
 
 It has been closed by $markedby.