+assigned: Ben Finney <ben+python@benfinney.id.au>
+creator: benf
-assigned=Ben Finney <ben+python@benfinney.id.au>
+severity: minor
+status: closed
-
-creator=benf
-
-
-
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Address is outdated for FSF offices
-
-
-
-
-
-
-time=Fri, 18 Apr 2008 11:18:58 +0000
+summary: Address is outdated for FSF offices
+time: Fri, 18 Apr 2008 11:18:58 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Needs more test cases
-
-
+summary: Needs more test cases
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: Support RST
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Support RST
-
-
-
-
-
-
-time=Thu, 06 Apr 2006 16:45:52 +0000
-
-
+time: Thu, 06 Apr 2006 16:45:52 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Organize list by target, and whether it's assigned to current be id
-
-
+summary: Organize list by target, and whether it's assigned to current be id
+creator: hubert
+severity: minor
-creator=hubert
+status: fixed
+summary: set-root in git repository fails
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=set-root in git repository fails
-
-
-
-
-
-
-time=Mon, 23 Jun 2008 04:57:22 +0000
-
-
+time: Mon, 23 Jun 2008 04:57:22 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=fix up command listings
-
-
+summary: fix up command listings
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: target (and others?) aren't parsed properly
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=target (and others?) aren't parsed properly
-
-
-
-
-
-
-time=Sat, 01 Apr 2006 18:29:33 +0000
-
-
+time: Sat, 01 Apr 2006 18:29:33 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: Are dates still a problem?
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Are dates still a problem?
-
-
-
-
-
-
-time=Tue, 20 Dec 2005 19:37:03 +0000
-
-
+time: Tue, 20 Dec 2005 19:37:03 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: More types of closed bugs
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=More types of closed bugs
-
-
-
-
-
-
-time=Wed, 04 Jan 2006 21:03:27 +0000
-
-
+time: Wed, 04 Jan 2006 21:03:27 +0000
+creator: wking
+severity: minor
-creator=wking
+status: fixed
+summary: elementtree module moved in Python 2.5
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=elementtree module moved in Python 2.5
-
-
-
-
-
-
-time=Thu, 13 Nov 2008 16:45:24 +0000
-
-
+time: Thu, 13 Nov 2008 16:45:24 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=auto-add files to revision control
-
-
+summary: auto-add files to revision control
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=implement severity on bug creation
-
-
+summary: implement severity on bug creation
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Ensure .be is source in Arch
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Ensure .be is source in Arch
-
-
-
-
-
-
-time=Tue, 17 May 2005 13:39:02 +0000
-
-
+time: Tue, 17 May 2005 13:39:02 +0000
+creator: wking
+severity: minor
-creator=wking
+status: fixed
+summary: Popen OSErrors not caught
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Popen OSErrors not caught
-
-
-
-
-
-
-time=Thu, 13 Nov 2008 15:54:45 +0000
-
-
+time: Thu, 13 Nov 2008 15:54:45 +0000
+creator: W. Trevor King <wking@drexel.edu>
+severity: minor
-creator=W. Trevor King <wking@drexel.edu>
+status: fixed
+summary: Early del-cleanup with Arch backend
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Early del-cleanup with Arch backend
-
-
-
-
-
-
-time=Sat, 22 Nov 2008 18:38:32 +0000
-
-
+time: Sat, 22 Nov 2008 18:38:32 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Automatically set .be as source for arch
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Automatically set .be as source for arch
-
-
-
-
-
-
-time=Thu, 07 Apr 2005 16:07:51 +0000
-
-
+time: Thu, 07 Apr 2005 16:07:51 +0000
+creator: jelmer
+severity: minor
-creator=jelmer
+status: closed
+summary: should check not just EDITOR but also VISUAL.
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=should check not just EDITOR but also VISUAL.
-
-
-
-
-
-
-time=Sun, 15 Jul 2007 13:33:03 +0000
-
-
+time: Sun, 15 Jul 2007 13:33:03 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: RST test
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=RST test
-
-
-
-
-
-
-time=Thu, 06 Apr 2006 16:52:46 +0000
-
-
+time: Thu, 06 Apr 2006 16:52:46 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: Indicate presence of Comments
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Indicate presence of Comments
-
-
-
-
-
-
-time=Wed, 25 Jan 2006 15:18:58 +0000
-
-
+time: Wed, 25 Jan 2006 15:18:58 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Select severity filter
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Select severity filter
-
-
-
-
-
-
-time=Wed, 04 Jan 2006 21:07:08 +0000
-
-
+time: Wed, 04 Jan 2006 21:07:08 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Better word wrapping in comments. (kill <pre>.)
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Better word wrapping in comments. (kill <pre>.)
-
-
-
-
-
-
-time=Mon, 30 Jan 2006 20:03:25 +0000
-
-
+time: Mon, 30 Jan 2006 20:03:25 +0000
+creator: abentley
+severity: serious
-creator=abentley
+status: closed
+summary: On a new bug, if I add or edit a comment, then click "Update", the Summary
+ goes missing.
-
-severity=serious
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=On a new bug, if I add or edit a comment, then click "Update", the Summary goes missing.
-
-
-
-
-
-
-time=Fri, 27 Jan 2006 14:29:51 +0000
-
-
+time: Fri, 27 Jan 2006 14:29:51 +0000
+creator: abentley
+severity: serious
-creator=abentley
+status: fixed
-
-
-
-severity=serious
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=implement comments
-
-
+summary: implement comments
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Can't close bugs
-
-
+summary: Can't close bugs
+creator: abentley
+severity: serious
-creator=abentley
+status: closed
-
-
-
-severity=serious
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Add test cases
-
-
+summary: Add test cases
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: no tests for --help, -h, help, etc.
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=no tests for --help, -h, help, etc.
-
-
-
-
-
-
-time=Tue, 17 May 2005 13:27:18 +0000
-
-
+time: Tue, 17 May 2005 13:27:18 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=BEweb fails to set bug creation date
-
-
+summary: BEweb fails to set bug creation date
+creator: W. Trevor King <wking@drexel.edu>
+severity: serious
-creator=W. Trevor King <wking@drexel.edu>
+status: fixed
+summary: be <cmmd> <argopt> --options doesn't raise GetOptions
-
-severity=serious
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=be <cmmd> <argopt> --options doesn't raise GetOptions
-
-
-
-
-
-
-time=Thu, 27 Nov 2008 13:39:25 +0000
-
-
+time: Thu, 27 Nov 2008 13:39:25 +0000
+creator: W. Trevor King <wking@drexel.edu>
+severity: minor
-creator=W. Trevor King <wking@drexel.edu>
+status: fixed
+summary: test.py removes path to bzrlib
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=test.py removes path to bzrlib
-
-
-
-
-
-
-time=Fri, 21 Nov 2008 18:41:03 +0000
-
-
+time: Fri, 21 Nov 2008 18:41:03 +0000
+assigned: abentley
+creator: abentley
-assigned=abentley
+severity: minor
+status: closed
-
-creator=abentley
-
-
-
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Organize list by whether it's assigned to the current target
-
-
+summary: Organize list by whether it's assigned to the current target
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=prevent collisions in different branches
-
-
+summary: prevent collisions in different branches
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Beweb should support declaring username
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Beweb should support declaring username
-
-
-
-
-
-
-time=Wed, 04 Jan 2006 21:07:25 +0000
-
-
+time: Wed, 04 Jan 2006 21:07:25 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: be diff doesn't work with bzr in directories that have no commits
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=be diff doesn't work with bzr in directories that have no commits
-
-
-
-
-
-
-time=Mon, 10 Apr 2006 23:22:17 +0000
-
-
+time: Mon, 10 Apr 2006 23:22:17 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: 'Beweb: New comment button should save any changes'
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Beweb: New comment button should save any changes
-
-
-
-
-
-
-time=Wed, 04 Jan 2006 21:05:20 +0000
-
-
+time: Wed, 04 Jan 2006 21:05:20 +0000
+assigned: benf
+creator: benf
-assigned=benf
+severity: minor
+status: fixed
-
-creator=benf
-
-
-
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Manual page for 'be' command
-
-
-
-
-
-
-time=Mon, 21 Apr 2008 03:21:35 +0000
+summary: Manual page for 'be' command
+time: Mon, 21 Apr 2008 03:21:35 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Comments do not appear in web UI
-
-
+summary: Comments do not appear in web UI
+creator: W. Trevor King <wking@drexel.edu>
+severity: critical
-creator=W. Trevor King <wking@drexel.edu>
+status: fixed
+summary: Slow be commands due to bugdir loading, go back to lazy bug loading.
-
-severity=critical
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Slow be commands due to bugdir loading, go back to lazy bug loading.
-
-
-
-
-
-
-time=Sun, 23 Nov 2008 13:48:01 +0000
-
-
+time: Sun, 23 Nov 2008 13:48:01 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: support multi-rcs configurations
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=support multi-rcs configurations
-
-
-
-
-
-
-time=Thu, 07 Apr 2005 16:09:10 +0000
-
-
+time: Thu, 07 Apr 2005 16:09:10 +0000
+creator: j
+severity: minor
-creator=j
+status: fixed
+summary: use python instead of python2.4 in Bugs-Everywhere-Web/start-beweb.py
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=use python instead of python2.4 in Bugs-Everywhere-Web/start-beweb.py
-
-
-
-
-
-
-time=Mon, 14 Apr 2008 16:42:37 +0000
-
-
+time: Mon, 14 Apr 2008 16:42:37 +0000
+creator: wking
+severity: minor
-creator=wking
+status: fixed
+summary: Usage of be/test.py is unclear
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Usage of be/test.py is unclear
-
-
-
-
-
-
-time=Thu, 13 Nov 2008 16:31:41 +0000
-
-
+time: Thu, 13 Nov 2008 16:31:41 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Needs ability to create comments
-
-
+summary: Needs ability to create comments
+creator: W. Trevor King <wking@drexel.edu>
+severity: minor
-creator=W. Trevor King <wking@drexel.edu>
+status: closed
+summary: Allow user id to be cached in settings for duplicate bugdirs
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Allow user id to be cached in settings for duplicate bugdirs
-
-
-
-
-
-
-time=Sat, 22 Nov 2008 21:36:06 +0000
-
-
+time: Sat, 22 Nov 2008 21:36:06 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: 'Beweb: Stripey tables'
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Beweb: Stripey tables
-
-
-
-
-
-
-time=Wed, 04 Jan 2006 21:06:10 +0000
-
-
+time: Wed, 04 Jan 2006 21:06:10 +0000
+assigned: abentley
+creator: abentley
-assigned=abentley
+severity: minor
+status: fixed
-
-creator=abentley
-
-
-
-
-
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=date-stamp bugs
-
-
+summary: date-stamp bugs
+creator: wking
+severity: serious
-creator=wking
+status: fixed
+summary: BE not notifying git of some changed files
-
-severity=serious
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=BE not notifying git of some changed files
-
-
-
-
-
-
-time=Mon, 17 Nov 2008 15:02:15 +0000
-
-
+time: Mon, 17 Nov 2008 15:02:15 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: there's a tyop in the wx example gui (in the line that appends ../../ to
+ sys.path)
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=there's a tyop in the wx example gui (in the line that appends ../../ to sys.path)
-
-
-
-
-
-
-time=Tue, 27 Dec 2005 16:59:49 +0000
-
-
+time: Tue, 27 Dec 2005 16:59:49 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=No way to commit/update from beweb
-
-
+summary: No way to commit/update from beweb
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Add a reporter field
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Add a reporter field
-
-
-
-
-
-
-time=Thu, 14 Sep 2006 16:47:57 +0000
-
-
+time: Thu, 14 Sep 2006 16:47:57 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: no tests for missing $EDITOR
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=no tests for missing $EDITOR
-
-
-
-
-
-
-time=Tue, 17 May 2005 13:27:33 +0000
-
-
+time: Tue, 17 May 2005 13:27:33 +0000
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
+summary: Support rcs configuration
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=Support rcs configuration
-
-
-
-
-
-
-target=patch-52
-
-
+target: patch-52
+severity: fatal
+status: fixed
-severity=fatal
+summary: Can't create bugs
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Can't create bugs
-
-
-
-
-
-
-target=0.1
-
-
+target: '0.1'
+creator: abentley
+severity: minor
-creator=abentley
+status: fixed
+summary: Implement bug tree diff
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=Implement bug tree diff
-
-
-
-
-
-
-target=0.2
-
-
+target: '0.2'
+creator: abentley
+severity: minor
-creator=abentley
+status: closed
-
-
-
-severity=minor
-
-
-
-
-
-
-status=closed
-
-
-
-
-
-
-summary=friendly name is created, but not used
-
-
+summary: friendly name is created, but not used
+creator: W. Trevor King <wking@drexel.edu>
+severity: minor
-creator=W. Trevor King <wking@drexel.edu>
+status: fixed
+summary: UTF-8 encoding trouble with pipes in becommands/show
-
-severity=minor
-
-
-
-
-
-
-status=fixed
-
-
-
-
-
-
-summary=UTF-8 encoding trouble with pipes in becommands/show
-
-
-
-
-
-
-time=Tue, 25 Nov 2008 02:30:35 +0000
-
-
+time: Tue, 25 Nov 2008 02:30:35 +0000
-# Copyright (C) 2005 Aaron Bentley and Panometrics, Inc.
-# <abentley@panoramicfeedback.com>
+# Copyright (C) 2009 W. Trevor King <wking@drexel.edu>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Tags for a:
GUI
later
+ >>> execute(["--list"], test=True)
+ GUI
+ later
>>> execute(["a", "Alphabetically first"], test=True)
Tagging bug a:
Alphabetically first
cmdutil.default_complete(options, args, parser,
bugid_args={0: lambda bug : bug.active==True})
- if len(args) < 1:
+ if len(args) == 0 and options.list == False:
raise cmdutil.UsageError("Please specify a bug id.")
- if len(args) > 2:
+ elif len(args) > 2 or (len(args) > 0 and options.list == True):
help()
raise cmdutil.UsageError("Too many arguments.")
bd = bugdir.BugDir(from_disk=True, manipulate_encodings=not test)
+ if options.list:
+ bd.load_all_bugs()
+ tags = []
+ for bug in bd:
+ for estr in bug.extra_strings:
+ if estr.startswith("TAG:"):
+ tag = estr[4:]
+ if tag not in tags:
+ tags.append(tag)
+ tags.sort()
+ print '\n'.join(tags)
+ return
bug = bd.bug_from_shortname(args[0])
new_tag = None
print tag
def get_parser():
- parser = cmdutil.CmdOptionParser("be tag BUG-ID [TAG]")
+ parser = cmdutil.CmdOptionParser("be tag BUG-ID [TAG]\nor: be tag --list")
parser.add_option("-r", "--remove", action="store_true", dest="remove",
help="Remove TAG (instead of adding it)")
+ parser.add_option("-l", "--list", action="store_true", dest="list",
+ help="List all available tags and exit")
return parser
longhelp="""