=== modified file 'data/package-hooks/source_linux.py' --- data/package-hooks/source_linux.py 2010-03-08 19:46:47 +0000 +++ data/package-hooks/source_linux.py 2010-03-08 23:43:46 +0000 @@ -40,6 +40,32 @@ ui.information("As part of the bug reporting process, you'll be asked a series of questions to help provide a more descriptive bug report. Please answer the following questions to the best of your ability. Afterwards, a browser will be opened to finish filing this as a bug in the Launchpad bug tracking system.") + # Try to tag bugs by category + category_tags = ["audio", + "filesystem", + "graphics", + "kconfig", + "networking", + "hibernate resume", + "suspend resume", + "", ""] + + category = ui.choice("How would you categorize this issue?", + ["Audio", + "Filesystem", + "Graphics", + "Kernel Config", + "Networking", + "Hibernate/Resume", + "Suspend/Resume", + "Other", + "I don't know"], False) + + if category == None: #user cancelled + raise StopIteration + + tags.append(category_tags[category[0]]) + response = ui.yesno("A bug is considered a regression if the issue did not exist on a previous kernel. Is this a regression?") if response == None: #user cancelled raise StopIteration