~apw/arsenal/python-launchpadlib-toolkit-task_date_accessors

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
July 22, 2010 - Version 0.4
===========================
Brad Figg has been hammering out wrapper classes for Launchpad API
objects.  These do call caching and provide other convenience functions
to simplify use of launchpadlib.

LaunchpadLib now mostly handles credentials now via login_anonymously()
and login_with(), so we've transitioned launchpadlib-toolkit (or lpltk
as we're nicknaming it now) to using those calls rather than manage the
credentials at this level.

While this package is not intended to be a collection of scripts, we've
included a few small tools in the scripts directory that may be useful
in other scripts, where you need to e.g. dynamically look up the name of
the current version of ubuntu under development.


Sept 29, 2009 - Version 0.1
===========================
This is a first draft of the python-launchpadlib-toolkit package.  The
principle motivation is the widespread duplication of effort in
implementing credential handling across a vast array of launchpadlib
applications.

At Plumbers' it seems there is strong desire for more collaboration
between LPL scripters.  Since pretty much every LPL script needs to do
credentials management, standardizing this into a sharable library seems
like a logical first step.

There's so much similarity from one credentials implementation to
another that this probably could have started from anyone's code.  I
opted to start with my own implementation from Arsenal since that's the
one I'm most familiar with.  I've integrated some good implementation
ideas from Markus Korn's work on ilaunchpad-shell and ubuntu-dev-tools,
such as the nifty DebugStdOut trickery, the use of environment variables
for configuration, and the essense of his HTTPError exception handling.

One of my major design goals was to keep it simple, so there's been
several ideas I've left out simply on the grounds that I wasn't sure if
they'd be that useful in real-world cases.  Stuff can always be added
later as it's proven necessary!