DevelopingProcess
This page tries to give an overview of the developing process of bughelper.
Options
bughelper
Option |
Description |
Comments |
LP-Bug Nr |
Status |
--sort |
Option to sort output |
Easy to provide, bugnumbers already has this option (MarkusKorn) |
- |
|
-b |
only search in given bug(s) |
we should expand that option in a way that the argument can also be a list of bugs (MarkusKorn) |
|
|
(--Aonly) |
only searching attachments which matches a given RegEx |
general parts of the necessary code are already available in the BugAttachment-class (MarkusKorn) |
|
|
bugnumbers
Option |
Description |
Comments |
LP-Bug Nr |
Status |
--sort |
Documentation |
The sort option with all its options needs to be documented (MarkusKorn) |
- |
|
--lc |
last comment by user |
Needs to be reviewed to get it into main (MarkusKorn) |
Fix Committed |
|
--count |
change function to count comments from BugPage() to Bug() |
Needs to be reviewed to get it into main (MarkusKorn) |
Fix Committed |
buginfo
bugxml
General Features
Attachment-Cache
Feature |
Description |
Comments |
LP-Bug Nr |
Status |
cleaning cache |
1.) changing the path to file |
|
Fix Committed |
|
2.) removing unused attachments |
If the path to a attachment is in the old style after using bughelper for a bit, the old-unused attachment can be removed (MarkusKorn) |
- |
User interface
Feature |
Description |
Comments |
LP-Bug Nr |
Status |
simple Web Interface |
Web interface provided by Web.py |
I tried to built a simple Web-UI. Result: If we want to run bughelper as a server application Web.py is not the right solution. My attempt is still in my branch ~bughelper.r01 (MarkusKorn) |
Server Application
PlugIn for Email-Client and IRC-Client
General Improvements
Output
The output of bugnumbers and buginfo has to be generated in an external class, this was we can easily add --format options like in bughelper (MarkusKorn)
RegEx/XPath
We should use XPath instead of RegEx to parse the LP-Pages.The patch provided in [https://launchpad.net/bughelper/+bug/93499 Bug 93499] ([http://librarian.launchpad.net/6852479/xpath_v1.patch xpath_v1.patch]) is a first attempt (MarkusKorn)
Code Cleanup
changing the type of buglists like all_bugs from set() to list() would make it possible to use the filter()-function (MarkusKorn)
Code needs to be documented (MarkusKorn)
Documentation
The last update of the documentation (wiki/man-pages) was before release 0.1. As the tools are getting more and more complex with even more command-line options we maybe need a (alphabetically) order of the options in the help screen.(MarkusKorn)