aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorTim Guirgies <lt.infiltrator@gmail.com>2011-05-25 02:15:13 +1000
committerW. Trevor King <wking@drexel.edu>2011-05-25 06:24:28 -0400
commitd93b6b2d9f3dbd3eb69ea1e3cae9d44c5650a4c2 (patch)
tree6cb899078f61d559b413e6b5bae69bfadded58a6 /libbe
parent9fd2e8ffbcf2b0ffb4b39e03609197cb95a7c6cd (diff)
downloadbugseverywhere-d93b6b2d9f3dbd3eb69ea1e3cae9d44c5650a4c2.tar.gz
Remove "be set" reference in favour of actual help
Because "be set severity blah" does not actually work, referring users there to set custom severity levels is just cruel (I spent a half hour trying to figure out what I was doing wrong). Thus, it is much easier to, at least for now, state in the help message what they must do in order to get custom severities and statuses.
Diffstat (limited to 'libbe')
-rw-r--r--libbe/command/severity.py14
-rw-r--r--libbe/command/status.py20
2 files changed, 32 insertions, 2 deletions
diff --git a/libbe/command/severity.py b/libbe/command/severity.py
index c510bc4..3aea386 100644
--- a/libbe/command/severity.py
+++ b/libbe/command/severity.py
@@ -99,6 +99,18 @@ Severity levels are:
%s
You can overide the list of allowed severities on a per-repository basis.
-See "be set --help" for more details.
+In order to do so, you must edit your be settings file. This can be found within your .be/xxx-xxx directory.
+
+Add the following lines to override the default severities and use your own:
+
+severities:
+ - - target
+ - The issue is a target or milestone, not a bug.
+ - - wishlist
+ - A feature that could improve usefulness, but not a bug.
+
+You may add as many name/description pairs as you wish to have; they are sorted in order from least important at the top, to most important at the bottom.
+
+Note that the values here _override_ the defaults. That means that if you like the defaults, and wish to keep them, you will have to copy them here before adding any of your own.
""" % ('\n '.join(severity_levels))
return ret
diff --git a/libbe/command/status.py b/libbe/command/status.py
index e034bef..e708e8f 100644
--- a/libbe/command/status.py
+++ b/libbe/command/status.py
@@ -111,6 +111,24 @@ Inactive status levels are:
%s
You can overide the list of allowed statuses on a per-repository basis.
-See "be set --help" for more details.
+In order to do so, you must edit your be settings file. This can be found within your .be/xxx-xxx directory.
+
+Add the following lines to override the default statuses and use your own:
+
+active_status:
+ - - unconfirmed
+ - A possible bug which lacks independent existance confirmation.
+ - - open
+ - A working bug that has not been assigned to a developer.
+
+inactive_status:
+ - - closed
+ - The bug is no longer relevant.
+ - - fixed
+ - The bug should no longer occur.
+
+You may add as many name/description pairs as you wish to have; they are sorted in order from most important at the top, to least important at the bottom.
+
+Note that the values here _override_ the defaults. That means that if you like the defaults, and wish to keep them, you will have to copy them here before adding any of your own.
""" % ('\n '.join(active_statuses), '\n '.join(inactive_statuses))
return ret