aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values5
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0a234f51-2fdf-4001-a04f-b7e02c2fa47b/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0be47243-c172-4de9-b71b-d5dea60f91d5/values5
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values4
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/24555ea1-76b5-40a8-918f-115a28f5f36a/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/27549110-e491-4651-81ab-84de2ed8e14a/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/312fb152-0155-45c1-9d4d-f49dd5816fbb/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35b962a0-a64a-4b5c-82c5-ea740e8a6322/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/42716dc2-6201-4537-b5fd-e1280812a53d/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/4286c0f8-5703-4bc1-b256-414dc408f067/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/528b2e84-a944-4628-a18f-cc1def1c7e16/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/52a15454-196c-4990-b55d-be2e37d575c3/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values5
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/55e76f74-37fb-4254-8498-54b703ba54f6/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/615ad650-9fb9-4026-9779-58d42b4e528e/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/63619cf7-89eb-4e64-91e9-b8a73d2a6c72/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/700cd3f1-70b6-4887-89a2-c1d039732add/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/76a6140e-0800-453c-9720-29cc161663d1/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/81f69fbd-1ca5-4f89-a6e1-79ea1e6bf4d9/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/866cba32-4347-4f51-9b1d-69454638ca78/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/870d5dbe-6449-4ec4-ae6f-e84bebadbce0/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/8cb9045c-7266-4c40-9a76-65f3c5d5bb60/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/984472f6-98f5-48fc-b521-70a1e5f60614/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/9bc14860-b2bb-4442-85ea-0b8e7083457b/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values6
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bef126a0-27be-402f-84fa-85f6342c97c0/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/c7251ff9-24e4-402d-8d4e-605a78b9a91d/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/cfb52b6c-d1a6-4018-a255-27cc1c878193/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/dd7aa57c-f184-495a-8520-2676c1066fb4/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e22a9048-9a97-41b1-91a2-d4178c674b37/values6
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/values3
-rw-r--r--.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/fd96c69d-6f78-4c0c-af6e-e01e9b8516d3/values3
-rw-r--r--NEWS3
-rw-r--r--libbe/command/list.py30
-rw-r--r--libbe/command/tag.py58
-rwxr-xr-xupdate_copyright.py2
39 files changed, 153 insertions, 58 deletions
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values
index f960085..b7e48be 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/04edb940-06dd-4ded-8697-156d54a1d875/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,8 +15,8 @@ severity: minor
status: open
-summary: CFBE. Assignee default selection is broken if two people have the same name but
- different emails.
+summary: Assignee default selection is broken if two people have the same name
+ but different emails.
time: Mon, 02 Feb 2009 00:38:49 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0a234f51-2fdf-4001-a04f-b7e02c2fa47b/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0a234f51-2fdf-4001-a04f-b7e02c2fa47b/values
index 143428a..637fc47 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0a234f51-2fdf-4001-a04f-b7e02c2fa47b/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0a234f51-2fdf-4001-a04f-b7e02c2fa47b/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Humanize empty result pages.
+summary: Humanize empty result pages.
time: Sat, 31 Jan 2009 03:03:52 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0be47243-c172-4de9-b71b-d5dea60f91d5/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0be47243-c172-4de9-b71b-d5dea60f91d5/values
index 2d571b9..fdc322c 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0be47243-c172-4de9-b71b-d5dea60f91d5/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0be47243-c172-4de9-b71b-d5dea60f91d5/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,8 +15,8 @@ severity: minor
status: open
-summary: CFBE. Fix the null creation date bug. See bug ee6 in the BE repo for an example
- that breaks things.
+summary: Fix the null creation date bug. See bug ee6 in the BE repo for an
+ example that breaks things.
time: Sun, 01 Feb 2009 21:26:49 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values
index 44de8f5..66155bd 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/171819aa-c092-4ddf-ace3-797635fa2572/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: fatal
@@ -14,7 +15,8 @@ severity: fatal
status: closed
-summary: CFBE. Get a basic template mocked up for the list page. Go further from there.
+summary: Get a basic template mocked up for the list page. Go further from
+ there.
time: Fri, 30 Jan 2009 03:16:26 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/24555ea1-76b5-40a8-918f-115a28f5f36a/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/24555ea1-76b5-40a8-918f-115a28f5f36a/values
index d6d23c2..4fec073 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/24555ea1-76b5-40a8-918f-115a28f5f36a/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/24555ea1-76b5-40a8-918f-115a28f5f36a/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: critical
@@ -14,7 +15,7 @@ severity: critical
status: wontfix
-summary: CFBE. Fix the extra severity problem.
+summary: Fix the extra severity problem.
time: Thu, 25 Jun 2009 21:39:38 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/27549110-e491-4651-81ab-84de2ed8e14a/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/27549110-e491-4651-81ab-84de2ed8e14a/values
index c5ff9bb..0f6ddb1 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/27549110-e491-4651-81ab-84de2ed8e14a/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/27549110-e491-4651-81ab-84de2ed8e14a/values
@@ -3,6 +3,7 @@ creator: Chris Ball <cjb@laptop.org>
extra_strings:
- BLOCKS:77399855-6300-41a8-91a3-decbb915a3ff
+- TAG:CFBE
reporter: Chris Ball <cjb@laptop.org>
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: 'CFBE. Fix Unicode handling.'
+summary: Fix Unicode handling.
time: Thu, 24 Jun 2010 22:17:35 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/312fb152-0155-45c1-9d4d-f49dd5816fbb/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/312fb152-0155-45c1-9d4d-f49dd5816fbb/values
index a4beb67..b98058d 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/312fb152-0155-45c1-9d4d-f49dd5816fbb/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/312fb152-0155-45c1-9d4d-f49dd5816fbb/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: serious
@@ -14,7 +15,7 @@ severity: serious
status: fixed
-summary: CFBE. Revamp the layout/design.
+summary: Revamp the layout/design.
time: Thu, 25 Jun 2009 21:38:38 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35b962a0-a64a-4b5c-82c5-ea740e8a6322/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35b962a0-a64a-4b5c-82c5-ea740e8a6322/values
index d492883..7df84d2 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35b962a0-a64a-4b5c-82c5-ea740e8a6322/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/35b962a0-a64a-4b5c-82c5-ea740e8a6322/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Document the code for the alpha release.
+summary: Document the code for the alpha release.
time: Sat, 31 Jan 2009 05:17:34 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/42716dc2-6201-4537-b5fd-e1280812a53d/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/42716dc2-6201-4537-b5fd-e1280812a53d/values
index 17a19a8..6215b6b 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/42716dc2-6201-4537-b5fd-e1280812a53d/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/42716dc2-6201-4537-b5fd-e1280812a53d/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Document the packaging and install.
+summary: Document the packaging and install.
time: Sat, 31 Jan 2009 05:17:45 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/4286c0f8-5703-4bc1-b256-414dc408f067/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/4286c0f8-5703-4bc1-b256-414dc408f067/values
index 88f1a69..ffa2322 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/4286c0f8-5703-4bc1-b256-414dc408f067/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/4286c0f8-5703-4bc1-b256-414dc408f067/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Get the layout rhythm right.
+summary: Get the layout rhythm right.
time: Sat, 31 Jan 2009 00:14:34 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/528b2e84-a944-4628-a18f-cc1def1c7e16/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/528b2e84-a944-4628-a18f-cc1def1c7e16/values
index 656641a..a1b410b 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/528b2e84-a944-4628-a18f-cc1def1c7e16/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/528b2e84-a944-4628-a18f-cc1def1c7e16/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Implement viewing of a single bug (with comments).
+summary: Implement viewing of a single bug (with comments).
time: Sat, 31 Jan 2009 02:59:28 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/52a15454-196c-4990-b55d-be2e37d575c3/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/52a15454-196c-4990-b55d-be2e37d575c3/values
index 8fb6ef3..35cc567 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/52a15454-196c-4990-b55d-be2e37d575c3/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/52a15454-196c-4990-b55d-be2e37d575c3/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Fix the overflow problem in the comments.
+summary: Fix the overflow problem in the comments.
time: Sat, 07 Feb 2009 21:32:51 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values
index bf3f92e..790da5e 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/545311df-8c88-4504-9f83-11d7c5d8aa50/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,8 +15,8 @@ severity: minor
status: closed
-summary: CFBE. Implement bug updating (not comments). Check on the whitespace of the summary
- field while you're at it.
+summary: Implement bug updating (not comments). Check on the whitespace of
+ the summary field while you're at it.
time: Sat, 31 Jan 2009 02:59:54 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/55e76f74-37fb-4254-8498-54b703ba54f6/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/55e76f74-37fb-4254-8498-54b703ba54f6/values
index d1c3145..0ab1b23 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/55e76f74-37fb-4254-8498-54b703ba54f6/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/55e76f74-37fb-4254-8498-54b703ba54f6/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Fix the footer width.
+summary: Fix the footer width.
time: Sat, 31 Jan 2009 03:01:09 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/615ad650-9fb9-4026-9779-58d42b4e528e/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/615ad650-9fb9-4026-9779-58d42b4e528e/values
index b39d6ec..84c054f 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/615ad650-9fb9-4026-9779-58d42b4e528e/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/615ad650-9fb9-4026-9779-58d42b4e528e/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Figure out how to best fix the column widths.
+summary: Figure out how to best fix the column widths.
time: Sat, 31 Jan 2009 03:07:32 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/63619cf7-89eb-4e64-91e9-b8a73d2a6c72/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/63619cf7-89eb-4e64-91e9-b8a73d2a6c72/values
index 245c393..1463c28 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/63619cf7-89eb-4e64-91e9-b8a73d2a6c72/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/63619cf7-89eb-4e64-91e9-b8a73d2a6c72/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Implement sorting.
+summary: Implement sorting.
time: Sat, 31 Jan 2009 02:59:11 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/700cd3f1-70b6-4887-89a2-c1d039732add/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/700cd3f1-70b6-4887-89a2-c1d039732add/values
index a6f24ea..0bba05f 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/700cd3f1-70b6-4887-89a2-c1d039732add/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/700cd3f1-70b6-4887-89a2-c1d039732add/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Implement pagination.
+summary: Implement pagination.
time: Sat, 31 Jan 2009 03:00:35 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/76a6140e-0800-453c-9720-29cc161663d1/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/76a6140e-0800-453c-9720-29cc161663d1/values
index 3afa6b4..7f5e0b4 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/76a6140e-0800-453c-9720-29cc161663d1/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/76a6140e-0800-453c-9720-29cc161663d1/values
@@ -13,6 +13,7 @@ extra_strings:
- BLOCKED-BY:9bc14860-b2bb-4442-85ea-0b8e7083457b
- BLOCKED-BY:cfb52b6c-d1a6-4018-a255-27cc1c878193
- BLOCKED-BY:dd7aa57c-f184-495a-8520-2676c1066fb4
+- TAG:CFBE
severity: target
@@ -21,7 +22,7 @@ severity: target
status: open
-summary: CFBE. beta
+summary: beta
time: Tue, 22 Jun 2010 18:12:21 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/81f69fbd-1ca5-4f89-a6e1-79ea1e6bf4d9/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/81f69fbd-1ca5-4f89-a6e1-79ea1e6bf4d9/values
index c37200d..fa04578 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/81f69fbd-1ca5-4f89-a6e1-79ea1e6bf4d9/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/81f69fbd-1ca5-4f89-a6e1-79ea1e6bf4d9/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. The CherryPy server seems to drop connections randomly.
+summary: The CherryPy server seems to drop connections randomly.
time: Mon, 02 Feb 2009 01:12:37 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/866cba32-4347-4f51-9b1d-69454638ca78/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/866cba32-4347-4f51-9b1d-69454638ca78/values
index ab0ddfc..a399571 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/866cba32-4347-4f51-9b1d-69454638ca78/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/866cba32-4347-4f51-9b1d-69454638ca78/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: serious
@@ -14,7 +15,7 @@ severity: serious
status: open
-summary: CFBE. Implement adding new assignees/targets.
+summary: Implement adding new assignees/targets.
time: Sat, 07 Feb 2009 21:31:26 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/870d5dbe-6449-4ec4-ae6f-e84bebadbce0/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/870d5dbe-6449-4ec4-ae6f-e84bebadbce0/values
index 36b5e48..e5bf491 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/870d5dbe-6449-4ec4-ae6f-e84bebadbce0/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/870d5dbe-6449-4ec4-ae6f-e84bebadbce0/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Refine graphic design for the alpha version.
+summary: Refine graphic design for the alpha version.
time: Sat, 31 Jan 2009 05:17:08 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/8cb9045c-7266-4c40-9a76-65f3c5d5bb60/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/8cb9045c-7266-4c40-9a76-65f3c5d5bb60/values
index e869983..7899027 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/8cb9045c-7266-4c40-9a76-65f3c5d5bb60/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/8cb9045c-7266-4c40-9a76-65f3c5d5bb60/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Refactor the web interface into its own file.
+summary: Refactor the web interface into its own file.
time: Sat, 07 Feb 2009 17:27:48 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/984472f6-98f5-48fc-b521-70a1e5f60614/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/984472f6-98f5-48fc-b521-70a1e5f60614/values
index fad8cec..bddc525 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/984472f6-98f5-48fc-b521-70a1e5f60614/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/984472f6-98f5-48fc-b521-70a1e5f60614/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Implement the status filters.
+summary: Implement the status filters.
time: Sat, 31 Jan 2009 00:22:40 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/9bc14860-b2bb-4442-85ea-0b8e7083457b/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/9bc14860-b2bb-4442-85ea-0b8e7083457b/values
index efebd37..a4aea7a 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/9bc14860-b2bb-4442-85ea-0b8e7083457b/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/9bc14860-b2bb-4442-85ea-0b8e7083457b/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Create a project page.
+summary: Create a project page.
time: Sat, 31 Jan 2009 05:18:56 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values
index e780bef..d005e59 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/ac72991a-72e5-4b14-b53c-0fa38d0f31bb/values
@@ -4,13 +4,17 @@ assigned: Steve Losh <steve@stevelosh.com>
creator: Steve Losh <steve@stevelosh.com>
+extra_strings:
+- TAG:CFBE
+
+
severity: minor
status: open
-summary: CFBE. The bug editing/comment forms break the rhythm.
+summary: The bug editing/comment forms break the rhythm.
time: Sun, 01 Feb 2009 23:59:17 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bef126a0-27be-402f-84fa-85f6342c97c0/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bef126a0-27be-402f-84fa-85f6342c97c0/values
index b81ebf7..631b8b7 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bef126a0-27be-402f-84fa-85f6342c97c0/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bef126a0-27be-402f-84fa-85f6342c97c0/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Implement bug creation.
+summary: Implement bug creation.
time: Sat, 31 Jan 2009 02:59:35 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/c7251ff9-24e4-402d-8d4e-605a78b9a91d/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/c7251ff9-24e4-402d-8d4e-605a78b9a91d/values
index 9336a72..b9854b4 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/c7251ff9-24e4-402d-8d4e-605a78b9a91d/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/c7251ff9-24e4-402d-8d4e-605a78b9a91d/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: critical
@@ -14,7 +15,7 @@ severity: critical
status: assigned
-summary: CFBE. Document the installation.
+summary: Document the installation.
time: Thu, 25 Jun 2009 21:41:02 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/cfb52b6c-d1a6-4018-a255-27cc1c878193/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/cfb52b6c-d1a6-4018-a255-27cc1c878193/values
index 3d9b782..d95e16e 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/cfb52b6c-d1a6-4018-a255-27cc1c878193/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/cfb52b6c-d1a6-4018-a255-27cc1c878193/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. Change the write operations to be inline/AJAJ operations.
+summary: Change the write operations to be inline/AJAJ operations.
time: Sun, 01 Feb 2009 21:15:35 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values
index e003bfa..f71ea92 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/d63d0bdd-e025-4f7c-9fcf-47a71de6d4d4/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Reset the state of the values when choosing "Discard Changes."
+summary: Reset the state of the values when choosing "Discard Changes."
time: Sun, 01 Feb 2009 22:55:13 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/dd7aa57c-f184-495a-8520-2676c1066fb4/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/dd7aa57c-f184-495a-8520-2676c1066fb4/values
index 4a2ea99..a260bc5 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/dd7aa57c-f184-495a-8520-2676c1066fb4/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/dd7aa57c-f184-495a-8520-2676c1066fb4/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:76a6140e-0800-453c-9720-29cc161663d1
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: open
-summary: CFBE. The external pane sometimes loads in the wrong place.
+summary: The external pane sometimes loads in the wrong place.
time: Mon, 02 Feb 2009 01:11:47 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d/values
index a1457c9..ab93846 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Implement the target filters.
+summary: Implement the target filters.
time: Sat, 31 Jan 2009 02:58:44 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e22a9048-9a97-41b1-91a2-d4178c674b37/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e22a9048-9a97-41b1-91a2-d4178c674b37/values
index 29ee806..7efcc9f 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e22a9048-9a97-41b1-91a2-d4178c674b37/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e22a9048-9a97-41b1-91a2-d4178c674b37/values
@@ -4,13 +4,17 @@ assigned: Steve Losh <steve@stevelosh.com>
creator: Steve Losh <steve@stevelosh.com>
+extra_strings:
+- TAG:CFBE
+
+
severity: minor
status: unconfirmed
-summary: CFBE. Think about authentication.
+summary: Think about authentication.
time: Sat, 31 Jan 2009 03:02:19 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values
index 9a3f4b4..ee15096 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e23d7982-7e32-4c78-b62e-83ecc42b4cd7/values
@@ -15,6 +15,7 @@ extra_strings:
- BLOCKED-BY:decc6e78-a3db-4cd3-ad23-2bf8ed77cb0d
- BLOCKED-BY:e645d562-6f84-4df2-b8ee-86ef42546c16
- BLOCKED-BY:fd96c69d-6f78-4c0c-af6e-e01e9b8516d3
+- TAG:CFBE
severity: target
@@ -23,7 +24,7 @@ severity: target
status: open
-summary: CFBE. alpha
+summary: alpha
time: Tue, 22 Jun 2010 18:12:20 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/values
index 73ed336..b1681ae 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/e645d562-6f84-4df2-b8ee-86ef42546c16/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Package everything into something easy to download and use.
+summary: Package everything into something easy to download and use.
time: Fri, 30 Jan 2009 03:19:19 +0000
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/fd96c69d-6f78-4c0c-af6e-e01e9b8516d3/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/fd96c69d-6f78-4c0c-af6e-e01e9b8516d3/values
index 3cdfc63..5a32300 100644
--- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/fd96c69d-6f78-4c0c-af6e-e01e9b8516d3/values
+++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/fd96c69d-6f78-4c0c-af6e-e01e9b8516d3/values
@@ -6,6 +6,7 @@ creator: Steve Losh <steve@stevelosh.com>
extra_strings:
- BLOCKS:e23d7982-7e32-4c78-b62e-83ecc42b4cd7
+- TAG:CFBE
severity: minor
@@ -14,7 +15,7 @@ severity: minor
status: closed
-summary: CFBE. Implement adding comments.
+summary: Implement adding comments.
time: Sat, 31 Jan 2009 03:00:08 +0000
diff --git a/NEWS b/NEWS
index 2defeb0..5dff61d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+June 25, 2010
+ * Added --tags to `be list`.
+
February 20, 2010
* `be html` uses truncated IDs in comment and bug URLs and anchors.
diff --git a/libbe/command/list.py b/libbe/command/list.py
index a522b4a..c62e5a4 100644
--- a/libbe/command/list.py
+++ b/libbe/command/list.py
@@ -25,6 +25,7 @@ import libbe
import libbe.bug
import libbe.command
import libbe.command.depend
+import libbe.command.tag
import libbe.command.target
import libbe.command.util
@@ -62,10 +63,16 @@ class Filter (object):
if len(self.extra_strings_regexps) > 0:
return False
else:
+ matched = False
for string in bug.extra_strings:
for regexp in self.extra_strings_regexps:
- if not regexp.match(string):
- return False
+ if regexp.match(string):
+ matched = True
+ break
+ if matched == True:
+ break
+ if matched == False:
+ return False
return True
class List (libbe.command.Command):
@@ -127,6 +134,8 @@ class List (libbe.command.Command):
arg=libbe.command.Argument(
name='sort', metavar='SORT', default=None,
completion_callback=libbe.command.util.Completer(AVAILABLE_CMPS))),
+ libbe.command.Option(name='tags', short_name='t',
+ help='Add TAGS: field to standard listing format.'),
libbe.command.Option(name='ids', short_name='i',
help='Only print the bug IDS'),
libbe.command.Option(name='xml', short_name='x',
@@ -173,7 +182,7 @@ class List (libbe.command.Command):
for bug in bugs:
print >> self.stdout, bug.id.user()
else:
- self._list_bugs(bugs, xml=params['xml'])
+ self._list_bugs(bugs, show_tags=params['tags'], xml=params['xml'])
bugdir.storage.writeable = writeable
return 0
@@ -230,7 +239,7 @@ class List (libbe.command.Command):
bugs.sort(cmp_fn)
return bugs
- def _list_bugs(self, bugs, xml=False):
+ def _list_bugs(self, bugs, show_tags=False, xml=False):
if xml == True:
print >> self.stdout, \
'<?xml version="1.0" encoding="%s" ?>' % self.stdout.encoding
@@ -240,18 +249,27 @@ class List (libbe.command.Command):
if xml == True:
print >> self.stdout, bug.xml(show_comments=True)
else:
- print >> self.stdout, bug.string(shortlist=True)
+ bug_string = bug.string(shortlist=True)
+ if show_tags == True:
+ attrs,summary = bug_string.split(' ', 1)
+ bug_string = (
+ '%s%s: %s'
+ % (attrs,
+ ','.join(libbe.command.tag.get_tags(bug)),
+ summary))
+ print >> self.stdout, bug_string
if xml == True:
print >> self.stdout, '</be-xml>'
def _long_help(self):
return """
This command lists bugs. Normally it prints a short string like
- bea/576:om: Allow attachments
+ bea/576:om:[TAGS:] Allow attachments
Where
bea/576 the bug id
o the bug status is 'open' (first letter)
m the bug severity is 'minor' (first letter)
+ TAGS comma-separated list of bug tags (if --tags is set)
Allo... the bug summary string
You can optionally (-u) print only the bug ids.
diff --git a/libbe/command/tag.py b/libbe/command/tag.py
index da7c03e..156bc6f 100644
--- a/libbe/command/tag.py
+++ b/libbe/command/tag.py
@@ -108,14 +108,7 @@ class Tag (libbe.command.Command):
'Do not specify a bug id with the --list option.')
bugdir = self._get_bugdir()
if params['list'] == True:
- bugdir.load_all_bugs()
- tags = []
- for bug in bugdir:
- for estr in bug.extra_strings:
- if estr.startswith(TAG_TAG):
- tag = estr[len(TAG_TAG):]
- if tag not in tags:
- tags.append(tag)
+ tags = get_all_tags(bugdir)
tags.sort()
if len(tags) > 0:
print >> self.stdout, '\n'.join(tags)
@@ -124,14 +117,13 @@ class Tag (libbe.command.Command):
bug,dummy_comment = libbe.command.util.bug_comment_from_user_id(
bugdir, params['id'])
if len(params['tag']) > 0:
- estrs = bug.extra_strings
+ tags = get_tags(bug)
for tag in params['tag']:
- tag_string = '%s%s' % (TAG_TAG, tag)
if params['remove'] == True:
- estrs.remove(tag_string)
+ tags.remove(tag)
else: # add the tag
- estrs.append(tag_string)
- bug.extra_strings = estrs # reassign to notice change
+ tags.append(tag)
+ set_tags(bug, tags)
tags = []
for estr in bug.extra_strings:
@@ -151,3 +143,43 @@ print the tags for BUG-ID.
To search for bugs with a particular tag, try
$ be list --extra-strings %s<your-tag>
""" % TAG_TAG
+
+# functions exposed to other modules
+
+def get_all_tags(bugdir):
+ bugdir.load_all_bugs()
+ tags = []
+ for bug in bugdir:
+ for tag in get_tags(bug):
+ if tag not in tags:
+ tags.append(tag)
+ return tags
+
+def get_tags(bug):
+ tags = []
+ for estr in bug.extra_strings:
+ if estr.startswith(TAG_TAG):
+ tag = estr[len(TAG_TAG):]
+ if tag not in tags:
+ tags.append(tag)
+ return tags
+
+def set_tags(bug, tags):
+ estrs = bug.extra_strings
+ new_estrs = []
+ for estr in estrs:
+ if not estr.startswith(TAG_TAG):
+ new_estrs.append(estr)
+ for tag in tags:
+ new_estrs.append('%s%s' % (TAG_TAG, tag))
+ bug.extra_strings = new_estrs # reassign to notice change
+
+def append_tag(bug, tag):
+ estrs = bug.extra_strings
+ estrs.append('%s%s' % (TAG_TAG, tag))
+ bug.extra_strings = estrs # reassign to notice change
+
+def remove_tag(bug, tag):
+ estrs = bug.extra_strings
+ estrs.remove('%s%s' % (TAG_TAG, tag))
+ bug.extra_strings = estrs # reassign to notice change
diff --git a/update_copyright.py b/update_copyright.py
index 2490ba9..ba8388a 100755
--- a/update_copyright.py
+++ b/update_copyright.py
@@ -70,7 +70,7 @@ EXCLUDES = [
IGNORED_PATHS = ['./.be/', './.bzr/', './build/']
-IGNORED_FILES = ['COPYING', 'update_copyright.py', 'catmutt']
+IGNORED_FILES = ['COPYING', 'update_copyright.py', 'catmutt', '_mailfilterrc']
def _strip_email(*args):
"""