a value fetched from LP. Instead fetch the default value during call time.
This way the functions module doesn't require to use LP API during module
load.
* buildd: Move the import of ubuntutools.lp.functions to the other module
inclusion.
OO-way and add caching
* ubuntutools/lp/functions.py: Use the lpapiwrapper.py where applicable and
mark the rewritten functions as deprecated
* ubuntutools/lp/udtexceptions.py: Add PocketDoesNotExistException
* buildd: Make use of LpApiWrapper
* ubuntutools/lp/cookie.py
* ubuntutools/lp/urlopener.py
And removed references from these files as necessary:
* requestsync
* ubuntutools/lp/functions.py
- Do not display override message if --arch is not used.
- Fix permissions warning message and do not mention teams as we check
on a per package basis.
- Make change proposed by Bryce Harrington to make the script recognize
versions that end in buildX as valid Ubuntu versions, and thus allow it
to work with fakesyncs. (LP: #376623)
- Simplify isLPTeamMember.
<Laney> andersk: what does super_teams do?
<andersk> Laney: I found super_teams using dir(launchpad.me). It
returns the collection of teams that the person is a member of. I'm
not sure it's actually documented.
<Laney> andersk: I've found the documentation to be a bit
lacking. Does it count indirect memberships too?
<andersk> Laney: yes, it appears to.
<Laney> andersk: If that's right then your version is better than mine
<Laney> andersk: Could you prepare a branch for merging? I'd just do
it directly but I'm a bit busy now so can't, and I'm afraid I'll
forget
ubuntutools/lp/udtexceptions.py:
- Add new public functions that expose features from LP API
- Modify isLPTeamMember to use LP API
* requestsync
- Use new functions to check if user can upload requested package directly
instead of checking team membership
- Default to current development release if no release is specified on
commandline
* buildd
- Check if user has upload privileges instead of checking for team
membership when seeing if operations are permitted
- Change directory out of the way of schroot problems.
* grab-merge:
- Show an error message if the package doesn't exist.
- Be paraonic and add "--one-file-system" to the rm call.
- Delete the directory just after creating it if the package
doesn't exist.