aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/import_xml.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-11-21 12:52:37 -0500
committerW. Trevor King <wking@drexel.edu>2009-11-21 12:52:37 -0500
commitcb6a9e819d05402ee8b9cde356d509ab22de4780 (patch)
tree3c942fe2ef022840d224371148d867f3e52db1e2 /becommands/import_xml.py
parenta07c70a8cb30fa7295471490a7b7fdfbd48a99ec (diff)
downloadbugseverywhere-cb6a9e819d05402ee8b9cde356d509ab22de4780.tar.gz
`be email-bugs` now uses `be show` internals to produce consistent XML.
Broke the bulk of show.py out into new function show.output(), which is used by both show.py and email_bugs.py to reduce duplication of effort and increase consistency of the XML. Also a few relevant help string updates.
Diffstat (limited to 'becommands/import_xml.py')
-rw-r--r--becommands/import_xml.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/becommands/import_xml.py b/becommands/import_xml.py
index 212c7a7..2572075 100644
--- a/becommands/import_xml.py
+++ b/becommands/import_xml.py
@@ -247,8 +247,11 @@ User creates a new bug
<Describe bug>
...
User exports bug as xml and emails it to the developers
- user$ be show --xml --version 48f > 48f.xml
+ user$ be show --xml 48f > 48f.xml
user$ cat 48f.xml | mail -s "Demuxulizer bug xml" devs@b.com
+or equivalently (with a slightly fancier be-handle-mail compatible
+email):
+ user$ be email-bugs 48f
Devs recieve email, and save it's contents as demux-bug.xml
dev$ cat demux-bug.xml | be import-xml -
"""