Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2008-02-10 16:18:32 -0500
committerrsuen2008-02-10 16:18:32 -0500
commit4c6b617fd7e7c6bac2ba401a9980c236772d06d6 (patch)
tree82c3e8b686eab0bef6df2cc0cf0ecc563049e45f /applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties
parent6b9d3122da52044b47db4e8c810303caf346933a (diff)
downloadorg.eclipse.ecf-4c6b617fd7e7c6bac2ba401a9980c236772d06d6.tar.gz
org.eclipse.ecf-4c6b617fd7e7c6bac2ba401a9980c236772d06d6.tar.xz
org.eclipse.ecf-4c6b617fd7e7c6bac2ba401a9980c236772d06d6.zip
Changed to ignore the casing of commands. Also altered the bugzilla query to output more information about the queried bug.
Diffstat (limited to 'applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties')
-rw-r--r--applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties21
1 files changed, 19 insertions, 2 deletions
diff --git a/applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties b/applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties
index 7c9c97ee4..d071aebeb 100644
--- a/applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties
+++ b/applications/kosmos/bundles/org.eclipse.ecf.presence.bot.kosmos/src/org/eclipse/ecf/internal/presence/bot/kosmos/custom.properties
@@ -22,10 +22,27 @@ Learn_Remove_Regex = (remove )(.+)
Learn_Remove = The keyword "{0}" and its reply has been removed from my data bank.
Bug_Regex = (bug|bug |)([0-9]+)
-Bug = See bug {0} - {1}
+Bug = Bug {0} - {1}
+
+ status = webPage.substring(webPage.indexOf(BUG_STATUS_OPEN_TAG) + BUG_STATUS_OPEN_TAG.length(), webPage.indexOf(BUG_STATUS_CLOSE_TAG));
+ resolution = webPage.substring(webPage.indexOf(RESOLUTION_OPEN_TAG) + RESOLUTION_OPEN_TAG.length(), webPage.indexOf(RESOLUTION_CLOSE_TAG));
+ severity = webPage.substring(webPage.indexOf(BUG_SEVERITY_OPEN_TAG) + BUG_SEVERITY_OPEN_TAG.length(), webPage.indexOf(BUG_SEVERITY_CLOSE_TAG));
+ assignee = webPage.substring(webPage.substring(0, webPage.indexOf(ASSIGNED_TO_CLOSE_TAG)).lastIndexOf('>') + 1, webPage.indexOf(ASSIGNED_TO_CLOSE_TAG));
BugContent_Regex = (bug|bug |)([0-9]+c[0-9]+)
-BugContent = See bug {0} - {1} - {2}
+# {0} = id
+# {1} = url
+# {2} = product
+# {3} = component
+# {4} = version
+# {5} = platform
+# {6} = os
+# {7} = status
+# {8} = resolution
+# {9} = severity
+# {10} = assignee
+# {11} = summary
+BugContent = Bug {0} - {1} - {2} / {3} / {4} - {5} / {6} - {7} / {8} / {9} / - Assignee:{10} - {11}
Bug_Not_Found = Bug {0} does not exist.
Javadoc_Regex = (api |javadoc )(.+)

Back to the top