It was using the same parameters to get Source and Binary packages build
history, but source packages need a distro series, and binary packages
need distro arch series, as the results are arch dependent.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
- Rename Distribution.getMainArchive() to getArchive() and let it also fetch
other archives besides the main one.
* udtexceptions.py:
- Add ArchiveNotFoundException
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/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