2007-08-18  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/debbugs.py (tag): Manipulates bug tags

2007-08-14  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py (query):
	  + Remove wrong indices from argument
	  + fix queries by bug number
	  + fix usertag queries
	
	* src/btsutils/html.py (query):
	  + fix queries by bug number

2007-08-12  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py:
	  + (queryToArgs): Return a list instead of a tuple
	  + (query): Added support for multiple arguments by query
	
	* src/btsutils/html.py:
	  + (queryToURL): 
	    - Return a list of urllib.urlencode formated tuples
	    - Use direct arguments instead of which and data pairs to
	      allow combinantions between src, pkg, from and maint
	  + (query): 
	    - Added support for multiple arguments by query
	    - Fix indentation bug in package parsing
	
	* docs/using.txt: Document the new query syntaxes

2007-08-11  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py:
	  + (query_usertags_id): Returns a list of bug ids matching a list of
	    usertags
	  + (query_usertags): Uses query_usertags_id to get the id of the bugs
	
	* src/btsutils/soap.py (query): Added support to multiple queries.

	* src/btsutils/html.py (query): Added support to multiple queries.

	* src/btsutils/debbugs.py (query): Use the SOAP interface by default
	  on queries.
	
	* src/btsutils/debbugs.py (forward): Fixed typo (s/btsa/bts)

2007-08-10  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/html.py (query): Fix namespace bug on "bug:" queries.

2007-08-04  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils-forward.py: debbugs.forward example usage script.

	* src/btsutils/bug.py (__init__): Add support to the url field into
	  the object initialization.

2007-08-03  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/debbugs.py (forward): Forward a bug report through
	  devscript's bts command.

2007-08-01  Gustavo R. Montesion <grmontesino@gmail.com>

	* src/btsutils/bug.py (get_url, set_url): Add support to the url field

	* src/btsutils/soap.py (parse): Add support to the url field

	* src/btsutils/html.py (get, query): Add support to the url field

2007-07-28  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/bug.py: Add support to the forwarded field.

	* src/btsutils/soap.py (parse): Add support to the forwarded field.

	* src/btsutils/html.py (get, query): Add support to the forwarded
	  field.

2007-07-15  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/debbugs.py: Use more sane names for the soap and the
	  html objects

2007-07-13  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/html.py (query, get): Use more strict text matching

	* src/btsutils/html.py, src/btsutils/soap.py (query): Get all
	  non-archived bugs (instead of only the status = pending ones)
	
	* src/btsutils/debbugs.py (setUsers): Set the users to get usertags
	  for
	
	* src/btsutils-query.py (usage): Changed to reflect the current
	  usertag query syntax

2007-07-12  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py (query, query_usertags): Get the usertags
	  for the users set through __init__ and/or setUsers instead
	  of getting the user along with the query.
	
	* src/btsutils/html.py (queryToURL): Get the usertags for
	  the users set through __init__ and/or setUsers instead
	  of getting the users along with the query.

2007-07-11  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/debbugs.py:
	  + Wrap everything in a debbugs class
	  + (__init__): Receive the users to get usertags for.
	
	* src/btsutils/soap.py:
	  + Declare DEFAULT values inside the soap class 
	  + (__init__, connect): call connect instead of duplicating
	    code on init
	
	* src/btsutils/html.py:
	  + Declare DEFAULT values inside the html class
	
	* src/btsutils-get.py, src/btsutils-query.py:
	  Adapted to use debbugs class

2007-07-10  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/bug.py: 
	  + Don't assume that unknown tags are usertags,
	    and raise an exception instead. Undo change on 07-06.
	  + (setUserTags): Handle None values
	  + (__init__): Make usertags default to None

	* src/btsutils/html.py:
	  + Wrap everything inside a html class
	  + (__init__, setUsers): Set the users to get usertags for
	  + (queryToUrl, query): Handle usertags
	
	* src/btsutils/debbugs.py: Adapt to use the html class

2007-07-06  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py: 
	  + Wrap everything inside a soap class
	  + (setUsers): Defines the users to get usertags to
	  + (__init__, connect): Call setUsers
	  + (parse): Add usertag info to the bugs

	* src/btsutils/debbugs.py: Adapt to use the soap class

	* src/btsutils/bug.py (__init__, __str__, getUserTag, setUserTag,
	  addUserTag): Add support to handle usertag data
	
	* src/btsutils/bug.py (addTag): If a tag is unknown, add it to
	  usertags instead

	* src/btsutils/soap.py (query, query_usertags): Properly
	  handle queries which returns no bugs

2007-07-05  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/debbugs.py (query): Call soap.query instead of soap.get

	* src/btsutils/BugPending.py: Renamed to BugStatus

	* src/btsutils/bug.py, src/btsutils/soap.py, src/btsutils/html.py:
	  Rename "pending" to "status".
	
	* src/btsutils/soap.py: 
	  + Remove unneeded soap_action attributions
	  + Use the official debian BTS instead of donarmstrong by default
	
	* src/btsutils-query.py: Document usertag queries

	* src/btsutils/BugExceptions.py: btsutils exception classes

	* src/btsutils/bug.py (setBug),
	  src/btsutils/soap.py (get),
	  src/btsutils/html.py (get): Validate the bug id
	
	* src/btsutils/BugExceptions.py,
	  src/btsutils/bug.py (setSeverity): Create an exception class for
	  invalid severities
	
	* src/btsutils/BugExceptions.py,
	  src/btsutils/bug.py (addTag): Create an exception class for invalid
	  tags
	
	* src/btsutils/BugExceptions.py,
	  src/btsutils/bug.py (setStatus): Create an exception class for
	  invalid status
	
	* src/btsutils/BugExceptions.py,
	  src/btsutils/html.py, src/btsutils/soap.py: Create an exception
	  class for invalid queries
	
	* src/btsutils/bug.py (setStatus): Fix a typo and the name of an
	  argument

2007-07-04  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py:
	  + (query_usertags): Query bugs by usertags
	  + (query): Add support to query by usertags
	
	* src/btsutils/html.py:
	  + (queryToURL): Add support to query by usertags
	  + (query): Ignore ValueError exceptions on setTags; they are likely
	    to be caused by queries through usertags
	
	* README: Add information about querying through usertags

2007-07-03  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/BugTags.py: Constants for valid tags

	* src/btsutils/bug.py 
	  + (addTag): Validates and add a tag to the list of tags
	  + (setTags): Use addTag to get the tags validated
	
	* src/btsutils/soap.py:
	  + (parse): Parse a soap-returned bug to a bug instance
	  + (getList): Same as get, but for more than one bug
	  + (query): Use getList instead of get

2007-07-02  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/soap.py 
	  + (get): Properly handle unicode data on subject and submitter
	  + (queryToArgs): Converts a querystring to a SOAP call argument
	    tuple
	  + (query): Returns a list of bugs which match a query string
	
	* src/btsutils/debbugs.py (query): If querying through html fails,
	  fallback to SOAP.

2007-06-27  Gustavo R. Montesino <grmontesino@gmail.com>

	* Add pending to the metadata available on Bug objects and
	  returned by the queries.
	
	* src/btsutils/bug.py: Keep the data as unicode strings internally.

2007-06-26  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutils/BugSeverity.py: Constants for valid bug severities
	  values.
	
	* src/btsutils/BugPending.py: Constants for valid bug pending values
	
	* src/btsutils/bug.py: Validates the severity.

	* src/btsutils/html.py (query): Use the BugSeverity and BugPending
	  VALID lists instead of local lists.

2007-06-22  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/bug.py (__str__): Add method to easier printing

	* src/btsutils-query.py, src/btsutils-get.py: Use __str__ to
	  print the bug informations.

2007-06-14  Gustavo R. Montesino <grmontesino@gmail.com>

	* retab files to fix syntax errors.

	* src/btsutils-query.py: 
	  + reraise exceptions to easy debugging
	  + show the number of bugs found by the query
	  + convert the tags list to a string before printing it
	  + encode unicode objects to strings encoded in unicode before
	    printing.
	
	* src/btsutils-get.py:
	  + re-raise exceptions to easy debugging
	  + convert the tags list to a string before printing it
	  + encode the unicode objects to print-safe strings.

	* src/btsutils/html.py:
	  + (query): Use BeautifulSoup to parse html
	  + (get): Use BeautifulSoup to parse html

2007-06-12  Gustavo R. Montesino <grmontesino@gmail.com>

	* Add vim comments to make sure the code will get consistent
	  formatting

2007-06-10  Gustavo R. Montesino <grmontesino@gmail.com>

	* Add MANIFEST.in to source tarballs.

2007-06-05  Gustavo R. Montesino <grmontesino@gmail.com>

	* Release 0.1.1

2007-06-03  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/btsutil/html.py (query): Get submmiter and tags.

	* src/btsutils-get.py: debbugs.get usage example.

	* src/btsutils-query.py: debbugs.query usage example.

2007-06-02  Gustavo R. Montesino <grmontesino@gmail.com>
	
	* src/bugtaf/gtk/:
	  + BugStore.py: Add BugStore class.
	  + MainWindow.py: Add the bug TreeView.
	
	* src/bugtaf/debbugs/debbugs.py: Backend-agnostic debbugs interaction
	
	* src/bugtaf/debbugs/: Refactor to get more python-esque
	  + soap.py, html.py: Put the functions in the module body, 
	    remove the classes Debbugs and DebbugsHTML
	
	* src/bugtaf/debbugs/html.py: For now, get only pending bugs

	* src/bugtaf/debbugs/html.py (query): Fix querying by bug number to
	  return a list.
	
	* debian/: Add Debian packaging files.
	
	* split btsutils from bug-triage
	  + Made the needed deletions and adaptations
	
	* docs/using.txt: Add a text file with usage details.

	* src/btsutils/html.py (htmlstring): Decode html entities.


2007-05-31  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/bugtaf/debbugs/: 
	  + bug.py: Add Bug class.
	  + html.py, soap.py: Use the new bug class on getBug Methods.
	  + html.py: Add query method and a note/comment about reportbug-ng

	* src/bugtaf/gtk/:
	  + QueryBuilder.py: Added getQuery() Method
	  + MainWindow.py: Use QueryBuilder's getQuery() when the dialog
	    run sucessfully.
	
	* setup.py: Add bugtaf.debbugs module.

2007-05-30  Gustavo R. Montesino <grmontesino@gmail.com>
	
	* src/bugtaf/exceptions.py: Add InvalidQueryError Exception class.
	* README: Document query string syntax
	* src/bugtaf/debbugs/html.py (queryToURL): Generates an Debbugs url
	  from a query string.

2007-05-27  Gustavo R. Montesino <grmontesino@gmail.com>
	
	* src/bugtaf/config.py: Handles user configuration file
	* src/bugtaf/debbugs:
	  + soap.py: Interaction with debbugs through SOAP
	  + html.py: Interaction with debbugs through HTML

2007-05-12  Gustavo R. Montesino <grmontesino@gmail.com>
	
	* src/bugtaf/gtk/QueryBuilder.py:
	  + Created the query builder dialog.
	  + Added a list and a combo to select the main query condition.
	
	* src/bugtaf/gtk/MainWindow.py: Open the query builder when its button
	  is clicked.
	
	* README: Query builder requires pyGTK >= 2.4 (ComboBox).

2007-05-11  Gustavo R. Montesino <grmontesino@gmail.com>

	* Made the code hierarchy more friendly to other UI's
	  + src/bugtaf-gtk: Moved the bugtaf script to bugtaf-gtk
	  + src/gtk/: Renamed the GTK UI package from ui to gtk

	* src/bugtaf: Created a bugtaf package to keep our packages

	* src/bugtaf/gtk/: Moved the gtk package to a subpackage of bugtaf

	* setup.py, MANIFEST.in: Added a Distutils' setup script

	* COPYING, MANIFEST.in, setup.py: Added a copy of GPLv2.

	* README: Added System Requiriments, Installing and Contact
	  information.


2007-05-10  Gustavo R. Montesino <grmontesino@gmail.com>

	* src/bugtaf: Add the main script

	* src/ui/MainWindow.py: Added main window module
