ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
{ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
* PersonTeam.canUploadPackage() can now also check package sets for upload
permissions. This requires now to also pass the distroseries as package sets
are per distroseries.
* Drop PersonTeam.isPerPackageUploader() as it's also handled by canUploadPackage()
ubuntu-build: Update for the PersonTeam.canUploadChange().
ubuntutools/requestsync/{lp,mail}.py:
* needSponsorship() now also expects a release name because of the above mentioned
change to PersonTeam.canUploadPackage().
requestsync: Update for needSponsorship() change.
* lpapicache: Do not immediately bail out if we have no credentials to
login. Clients are now expected to handle the lack of credentials
themselves.
* pull-lp-source: Make LP API use optional - fall back to a hardcoded
default release if we aren't using it. (LP: #477670)
* pull-lp-source: Detect more failure conditions and give a nice error
instead of a trace
* buildd, requestsync: Detect & bail if we don't have credentials and need
them. These scripts cannot continue under those circumstances.
- Guard some calls when -n is specified
- Fetch changelog of specified version, not current version. If an
experimenal upload happened after the unstable one we're syncing, this
is considered to be current by p.d.o and we would get those changelog
entries in the sync request
- Remove trailing fullstop from sync bug title
Move getUbuntu{Development,}Series from LpApiWrapper to Distribution
and rename it to get{Development,}Series
* pull-lp-source, requestsync:
Updated for the above mention change.
- Add _UbuntuSeries and _SourcePackage wrapper classes for proper type checking
* functions.py: Removed
- Move the remaining functions to lpapiwrapper.py
* buildd, requestsync:
- Updated for the new function location
canUploadPackage(): Assume 'universe' as component if the package doesn't
exist (yet) in Ubuntu (needed for checking sponsorship when requesting syncs
of new packages).
* requestsync: use canUploadPackage() from LpApiWrapper
* ubuntutools/lp/cookie.py
* ubuntutools/lp/urlopener.py
And removed references from these files as necessary:
* requestsync
* ubuntutools/lp/functions.py