From: Don Armstrong <don@donarmstrong.com>
Date: Sun, 28 Feb 2016 23:31:14 +0000 (-0800)
Subject: start add_suites support
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=93fae1f84be4e2207cf7c750e2c18281c38d7d71;p=debbugs.git

start add_suites support
---

diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql
index a7a90b98..abbb60dc 100755
--- a/bin/debbugs-loadsql
+++ b/bin/debbugs-loadsql
@@ -147,6 +147,8 @@ my %subcommands =
                       },
      'configuration' => {function => \&add_configuration,
                         },
+     'suites' => {function => \&add_suites,
+                 },
      'logs' => {function => \&add_logs,
                },
      'help' => {function => sub {pod2usage({verbose => 2});}}
@@ -391,6 +393,12 @@ sub add_configuration {
     my ($options,$opts,$p,$config,$argv) = @_;
 }
 
+sub add_suite {
+    my ($options,$opts,$p,$config,$argv) = @_;
+    # suites
+    die "add_suite is currently not implemented; modify suites manually using SQL."
+}
+
 sub add_logs {
     my ($options,$opts,$p,$config,$argv) = @_;