lp:~brad-figg/arsenal/lpltk

Created by Brad Figg and last modified
Get this branch:
bzr branch lp:~brad-figg/arsenal/lpltk
Only Brad Figg can upload to this branch. If you are Brad Figg please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Brad Figg
Project:
arsenal
Status:
Development

Recent revisions

36. By Brad Figg

Added Distributions, Distribution and SourcePackages classes.

35. By Brad Figg

 - Added Attachments class (attachments.py) which encapsulates the Launchpad
   bug_attachments object. The class allow the user to iterate through the
   attachments that have beed added to a bug. This is accessed from the
   bug.attachments property.

 - Added Attachment class (attachment.py) which encapsulates the Launchpad
   attachment object. This class allows the user to access the various properties
   of an attachment. Attachment instances are obtained from iterating through
   an instance of Attachments. This class currently supports the following
   properties:
       title
       kind
       message
       data

 - Added Message class (message.py) which encapsulates the Launchpad message
   object. This class currenty supports the following properties:
       owner
       content
       date_created
       parent
       subject

 - Added Person class (person.py) which encapsulats the Launchpad person object.
   This class currently supports the following properties:
       full_name
       first_name

 - Modified the Bug class to provide "owner" and "attachments" properties.

 - Modified LaunchpadService class to look for the LPLTK_DEBUG environment variable
   instead of the LPTOOLKIT_DEBUG environment variable, keeping with the rename of
   the package.

34. By Brad Figg <bradf@bradf-desktop>

added a test-template.py file which will be used to start new test files

33. By Brad Figg <bradf@bradf-desktop>

 - Renamed the unit test scripts to what I plan to be a more standard
   pattern.

 - Added "get" properties for bug.owner_full_name and bug.owner_first_name.

32. By Brad Figg <bradf@bradf-desktop>

 - LpltkBug was renamed to just Bug. This resulted in several changes
   to various files.

 - Added BugTags class to wrapper the Launchpad tags list that comes
   from a Launchpad bug object. The tags are not actually fetched
   until the first access. The class wrapper behaves like a regular
   python list.

 - Added test cases for the BugTags class.

 - Added a parameter to the Bug class, commit_changes, which can be
   set to false to run in a mode where changes are not committed back
   to launchpad. This is also used in the Tags class.

31. By Brad Figg <bradf@bradf-desktop>

Added caching of the title and description so we don't go to launchpad
every single time we try to access one of them.

30. By Brad Figg <bradf@bradf-desktop>

Merged with text / comment changes

29. By Brad Figg <bradf@bradf-desktop>

This is the initial start of a new bug class. There are two properties implemented,
title and description.

Test cases have been added for the new bug class and the two properties.

The LaunchpadService.get_bug has been changed to return an LpltkBug and a new method
LaunchpadService.get_launchpad_bug has been added to return a true launchpad bug
object.

28. By Brad Figg <bradf@bradf-desktop>

Renamed "lpltoolkit" to "lpltk".

27. By Brad Figg <bradf@bradf-desktop>

1. The LaunchpadService class has been pretty much re-written. It
   now uses the Launchpad.loging_with() api call. It now has support
   for configuration parameters that can be overriden by a config
   file specified in the users home directory (.lpltoolkitrc).

   Example ~/.lpltoolkitrc file:
   {
       'launchpad_sevices_root' : 'staging'
   }

2. Unit tests for the LaunchpadService class have been added in the
   tests directory.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers