=================
QA Assistant TODO
=================

:Author: Toshio Kuratomi
:Contact: toshio[AT]tiki-lounge.com
:Date: $Date: 2004-08-03 18:19:26 -0400 (Tue, 03 Aug 2004) $
:Revision: $Rev: 89 $

..contents::

glade/GUI:
==========
* Publish Button should be added to toolbar
* Submit Button should be added to toolbar
  - Pressing Submit will build the review and submit upstream and down.
* Save & Load buttons for toolbar.
* Add a New dialog to take input about bugzilla
  - If new then make sure we have both a bugzilla # and an SRPM
* Create a logo to go along with the icon.  Think up some other small pixmaps
  for the menu/toolbar: toggle Preview, new from bugzilla, new from SRPM,
  Publish Report, Submit Report
* When the reviewer really should add additional information, how should we
  make it happen?  A field in the XML file under state?  And that causes
  qa-assistant to pop up a textEntry dialog when the item enters that state?
* Currently the QA functions are encapsulated into a gtk.Menu.  I think this
  is wrong in the long run.  Instead of the main program creating a QA
  object and operating on it, it should create a QA object and have the
  object operate on it.
  (QAReviewer is really a parent class of the QA objects.  But I don't see a
  way to model this efficiently as we need to create the GUI and base items
  every time the program starts.  Then, when the user chooses a specific
  checklist we would have to destroy the old object and instantiate a new one
  for the new QA object.)
  - QAReviewer needs to implement a set of hooks that the QA object attaches
    to.  For instance, QAReviewer provides the QAActions menu at
    self.QAMenuItem.  QA object should create the menu and set:
    self.app.QAMenuItem.set_submenu(menu)
  - Things that may be overridden in this manner:
    + QAMenu
    + Allowable Properties
    + Review object output format
* Accelerators for QA Action items
* Disable pieces of the QA Action menu when there is no SRPM being reviewed
* Consider widgets that do textwrap for treeview and/or Review widget.

Extra GNOME Functionality:
==========================
* Create preferences infrastructure : check PREFERENCES for ideas.
* Druid on New

Programming:
============
* GenericQA needs to provide a menu item to toggle treetip display
* Command line argument parsing
  - If a savefile is given, open that
  - Use optparse/optik
* Enhance tracking entries into the editor.  We want
  people to be able to shift text around from Needswork and Non-blocker, and
  to add to them but we want to keep track of what entry is associated with
  what entry id.
* Automate some review tasks
  - checkheader
  - checksig
  - verify source against spec file/canonical URL
  - look at the new fedora-startqa for more ideas.  Perhaps we can coordinate
    and use fedora-startqa in the backend.  (Look through their SRPM stuff --
    it might be better code than I have... If we can put it into a SRPM class
    like I have, then it could be callable from either my script or theirs.)
* Update to the fedora QAFormat output style
* XML stuff to conform better with libxml2's guidelines document:
  file:///usr/share/doc/libxml2-devel-2.6.6/guidelines.html
  (Namespace, URL, Make sure I follow recommendations for element/attribute)
* Create a common XML save format/checklist with Erik LaBianca for the
  checklist.  This will involve integrating XML with test infrastructure.
* Write a proper check that we can use a file (os.access doesn't work for
  this purpose.  [How does review.py work?])
  - For both review.py and savefile we could use try: except IOERROR: to trap
    failure to write the file.
* Fix the uninstalled_file lookups
  - DTDs have to be selected correctly when the program isn't installed.
  - Program should use uninstalled files only when it is uninstalled.  If it is
    installed but happens to be run in a build directory, it needs to
    recognize that.  Also, there is currently a small period where the
    program searches for uninstalled files when it is installed.  This needs
    to be changed so installation removes this penalty.
