16 Commits

Author SHA1 Message Date
Michael Bienia
5babcfe869 ubuntutools/lp/udtexceptions.py: Rename PocketDoesNotExistException to PocketDoesNotExistError. 2010-03-20 19:27:40 +01:00
Michael Bienia
f5c6695e13 ubuntutools/lp/lpapicache.py:
* Make PersonTeam.getMe() a class property (PersonTeam.me).
ubuntutools/requestsync/lp.py, ubuntu-build:
* Update for the above mentioned change.
2010-02-20 18:13:15 +01:00
Michael Bienia
0dfe4b4731 ubuntutools/lp/lpapicache.py:
* 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.
2010-02-20 15:48:48 +01:00
Michael Bienia
95487419e7 ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with
absolute ones (follow PEP8)
2010-02-04 00:37:02 +01:00
Michael Bienia
87660fb375 requestsync: request syncs from 'testing' by default
(should be changed back to 'unstable' for lucid+1)
2009-11-02 19:03:18 +01:00
Luca Falavigna
5bdec5b5b2 Explicitly import exceptions for backward compatibility with Python 2.5 2009-10-19 20:51:08 +02:00
Michael Bienia
82899a0f45 bug fixes 2009-08-25 13:02:57 +02:00
Michael Bienia
f284ee7cd6 requestsync: cleanup 2009-08-23 13:08:22 +02:00
Michael Bienia
d5a19ca5a7 ubuntutools.requestsync.lp: fix errors in imports 2009-08-22 18:07:26 +02:00
Michael Bienia
5448add754 requestsync: make a "mail" and "lp" version of checkExistingReports and move
it to the correct module
2009-08-22 17:39:38 +02:00
Michael Bienia
ec92bb5d75 requestsync: move the remaining code of cur_version_component() into the
__main__ code.
2009-08-22 11:59:22 +02:00
Michael Bienia
d96e4af643 requestsync: move post_bug() to ubuntutools/requestsync/lp.py 2009-08-12 13:46:21 +02:00
Michael Bienia
6d924143c0 requestsync: refactor 'checkNeedsSponsorship' 2009-08-07 14:07:46 +02:00
Michael Bienia
5e3e368bb8 requestsync: some more refactoring 2009-08-06 00:23:58 +02:00
Michael Bienia
c30c4865a4 ubuntutools/requestsync/*.py: update copyright notices and license to match
the requestsync script
2009-08-05 23:10:05 +02:00
Michael Bienia
df881ec2da requestsync: refactor some code into its own module
and provide versions of the methods w/ and w/o LP API usage
2009-08-04 13:43:31 +02:00