aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive/examples
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-19 07:57:28 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-19 07:57:28 -0400
commit170b87f3499b2c8a224dccf5927ae9b4e6be2013 (patch)
tree0294a7c3e15b3e7c4d037c32c87ec96bf685b891 /interfaces/email/interactive/examples
parente0af316ac69977437d063785040d3e4e74feed53 (diff)
downloadbugseverywhere-170b87f3499b2c8a224dccf5927ae9b4e6be2013.tar.gz
Reworked be-handle-mail to be more like the Debian Bug Tracker.
Changed all the example emails over to the new format. Now it's time to try them all out and fix all the bugs ;).
Diffstat (limited to 'interfaces/email/interactive/examples')
-rw-r--r--interfaces/email/interactive/examples/comment4
-rw-r--r--interfaces/email/interactive/examples/help9
-rw-r--r--interfaces/email/interactive/examples/invalid_command6
-rw-r--r--interfaces/email/interactive/examples/invalid_subject2
-rw-r--r--interfaces/email/interactive/examples/list4
-rw-r--r--interfaces/email/interactive/examples/missing_command6
-rw-r--r--interfaces/email/interactive/examples/new7
-rw-r--r--interfaces/email/interactive/examples/new_with_comment6
-rw-r--r--interfaces/email/interactive/examples/show6
-rw-r--r--interfaces/email/interactive/examples/unicode6
10 files changed, 32 insertions, 24 deletions
diff --git a/interfaces/email/interactive/examples/comment b/interfaces/email/interactive/examples/comment
index 1d60748..f22e4b2 100644
--- a/interfaces/email/interactive/examples/comment
+++ b/interfaces/email/interactive/examples/comment
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] comment a1d
+Subject: [be-bug:a1d] Subject ignored
We sure do.
+--
+Goofy tagline ignored
diff --git a/interfaces/email/interactive/examples/help b/interfaces/email/interactive/examples/help
deleted file mode 100644
index 14e887c..0000000
--- a/interfaces/email/interactive/examples/help
+++ /dev/null
@@ -1,9 +0,0 @@
-From jdoe@example.com Fri Apr 18 11:18:58 2008
-Message-ID: <abcd@example.com>
-Date: Fri, 18 Apr 2008 12:00:00 +0000
-From: John Doe <jdoe@example.com>
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-Subject: [be-bug] help
-
-Dummy content
diff --git a/interfaces/email/interactive/examples/invalid_command b/interfaces/email/interactive/examples/invalid_command
index 4d18f09..f2963c7 100644
--- a/interfaces/email/interactive/examples/invalid_command
+++ b/interfaces/email/interactive/examples/invalid_command
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] close
+Subject: [be-bug]
-Dummy content
+close
+--
+Close is currently disabled for the email interface.
diff --git a/interfaces/email/interactive/examples/invalid_subject b/interfaces/email/interactive/examples/invalid_subject
index e148d0b..95112dd 100644
--- a/interfaces/email/interactive/examples/invalid_subject
+++ b/interfaces/email/interactive/examples/invalid_subject
@@ -6,4 +6,4 @@ Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: Spam!
-Dummy content
+This should elicit an "invalid header" response email.
diff --git a/interfaces/email/interactive/examples/list b/interfaces/email/interactive/examples/list
index 333315f..acba424 100644
--- a/interfaces/email/interactive/examples/list
+++ b/interfaces/email/interactive/examples/list
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] list --status all
+Subject: [be-bug] Subject ignored
+list --status all
+--
Dummy content
diff --git a/interfaces/email/interactive/examples/missing_command b/interfaces/email/interactive/examples/missing_command
index fefe41b..bb390fc 100644
--- a/interfaces/email/interactive/examples/missing_command
+++ b/interfaces/email/interactive/examples/missing_command
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] abcde
+Subject: [be-bug] Subject ignored
-Dummy content
+abcde
+--
+This should elicit a "invalid command 'abcde'" response email.
diff --git a/interfaces/email/interactive/examples/new b/interfaces/email/interactive/examples/new
index 7ac6dce..b0bc3d7 100644
--- a/interfaces/email/interactive/examples/new
+++ b/interfaces/email/interactive/examples/new
@@ -4,6 +4,9 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] new
+Subject: [be-bug:submit] Need tests for the email interface.
-Need tests for the email interface.
+Version: XYZ
+
+--
+Goofy tagline not included, and no comment added.
diff --git a/interfaces/email/interactive/examples/new_with_comment b/interfaces/email/interactive/examples/new_with_comment
index 8bd50aa..1077f0f 100644
--- a/interfaces/email/interactive/examples/new_with_comment
+++ b/interfaces/email/interactive/examples/new_with_comment
@@ -4,8 +4,10 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] new
+Subject: [be-bug:submit] Need tests for the email interface.
-Need tests for the email interface.
+Version: XYZ
I think so anyway.
+--
+Goofy tagline not included.
diff --git a/interfaces/email/interactive/examples/show b/interfaces/email/interactive/examples/show
index 3ff56f4..c5f8a4d 100644
--- a/interfaces/email/interactive/examples/show
+++ b/interfaces/email/interactive/examples/show
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] show --xml 361
+Subject: [be-bug] Subject ignored
-Dummy content
+show --xml 361
+--
+Can we show a bug?
diff --git a/interfaces/email/interactive/examples/unicode b/interfaces/email/interactive/examples/unicode
index e5b0775..f0e8001 100644
--- a/interfaces/email/interactive/examples/unicode
+++ b/interfaces/email/interactive/examples/unicode
@@ -4,6 +4,8 @@ Date: Fri, 18 Apr 2008 12:00:00 +0000
From: John Doe <jdoe@example.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Subject: [be-bug] show --xml f7ccd916-b5c7-4890-a2e3-8c8ace17ae3a
+Subject: [be-bug] Subject ignored
-Dummy content
+show --xml f7ccd916-b5c7-4890-a2e3-8c8ace17ae3a
+--
+Can we handle unicode output?