Michael Bienia
d96e4af643
requestsync: move post_bug() to ubuntutools/requestsync/lp.py
2009-08-12 13:46:21 +02:00
Michael Bienia
7ff9aa777a
requestsync, ubuntutools/requestsync/common.py:
...
Move the asking about editing the report to edit_report()
2009-08-12 13:14:50 +02:00
Michael Bienia
aab36b1d41
* Merge from devel branch
2009-08-09 13:43:18 +02:00
Michael Bienia
6d924143c0
requestsync: refactor 'checkNeedsSponsorship'
2009-08-07 14:07:46 +02:00
Michael Bienia
5748f9d64f
requestsync: more refactoring
2009-08-07 13:27:45 +02:00
Michael Bienia
3e71ff7ab7
ubuntutools/common.py: remove unneeded imports
2009-08-07 13:10:22 +02:00
Michael Bienia
ba14d22954
requestsync: more refactoring
2009-08-07 12:53:33 +02:00
Michael Bienia
ce4e0932a5
ubuntutools/requestsync/mail.py: Rename SourcePackage to
...
SourcePackagePublishingHistory to be in line with the lpapicache module.
2009-08-06 16:26:29 +02:00
Michael Bienia
0e4604eeb7
Merge from my devel branch
2009-08-06 16:24:20 +02:00
Michael Bienia
8a29c11904
lpapicache.py: add DistributionSourcePackage
2009-08-06 16:23:38 +02:00
Michael Bienia
0db2c71998
lpapicache.py: Rename the SourcePackage class to SourcePackagePublishingHistory
...
which it really is and to make room once a class for the real source_package is
needed.
2009-08-06 16:16:17 +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
a0f10bb410
Merge changes from my devel branch
2009-08-04 15:57:36 +02:00
Michael Bienia
54e9563e92
Replace LpApiWrapper.getUbuntuSourcePackage() with
...
Distribution('ubuntu').getArchive().getSourcePackage()
2009-08-04 15:53:49 +02:00
Michael Bienia
a49e4f6d43
Replace LpApiWrapper.getUbuntuDistribution() with Distribution('ubuntu')
2009-08-04 15:49:24 +02:00
Michael Bienia
74e55c2166
Rename lpapiwrapper.py to lpapicache.py as it describes its function better
2009-08-04 15:40:41 +02:00
Michael Bienia
b3b816515e
lpapiwrapper.py: Move getMe() from LpApiWrapper to PersonTeam
2009-08-04 15:32:39 +02:00
Michael Bienia
fa0b10c274
requestsync: more refactoring
2009-08-04 14:24:04 +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
Michael Bienia
cdb1292963
- lpapiwrapper.py: fix typos
...
- buildd: add options for the new mode (v2)
2009-07-25 17:03:14 +02:00
Michael Bienia
b96c73ba64
* Merge from by devel branch.
2009-07-25 16:00:26 +02:00
Michael Bienia
f3e8c0ee84
lpapiwrapper.py: Added methods needed for buildd.
2009-07-25 16:00:01 +02:00
Michael Bienia
ce84101f73
lpapiwrapper.py: Let PersonTeam.__str__() return a unicode string.
2009-07-25 14:04:25 +02:00
Michael Bienia
3fb1ca0b7c
lpapiwrapper.py:
...
- Move LpApiWrapper.canUploadPackage() and LpApiWrapper.isPerPackageUploader()
to PersonTeam. Leave stubs for now in LpApiWrapper.
2009-07-24 16:52:18 +02:00
Michael Bienia
3bcda69839
* udtexceptions.py
...
- Rename PocketDoesNotExist to PocketDoesNotExistException to be in line with
the naming of the other exceptions.
2009-07-23 14:21:42 +02:00
Michael Bienia
d062a2f8a6
* lpapiwrapper.py:
...
- Rename Distribution.getMainArchive() to getArchive() and let it also fetch
other archives besides the main one.
* udtexceptions.py:
- Add ArchiveNotFoundException
2009-07-23 14:19:21 +02:00
Michael Bienia
ddab40c44f
* lpapiwrapper.py:
...
- Move getUbuntuSourcePackage() from LpApiWrapper to the Archive class
and rename it to getSourcePackage().
- Leave LpApiWrapper.getUbuntuSourcePackage() as a shortcut for now.
2009-07-23 13:36:05 +02:00
Michael Bienia
a178201eea
* lpapiwrapper.py:
...
Add a Archive wrapper class.
2009-07-22 14:26:27 +02:00
Michael Bienia
fcf86d2ad2
* lpapiwrapper.py:
...
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.
2009-07-22 13:43:53 +02:00
Michael Bienia
30915541e4
* lpapiwrapper.py:
...
- Move getUbuntuArchive() from LpApiWrapper to Distribution and rename it to
getMainArchive()
2009-07-22 12:23:36 +02:00
Michael Bienia
046798d12b
* lpapiwrapper.py:
...
Move isLpTeamMember from LpApiWrapper to PersonTeam where it belongs
2009-07-22 12:04:14 +02:00
Michael Bienia
d63b782aec
* lpapiwrapper.py:
...
- Add a check for cached LP API URLs instead of blindly fetching it
2009-07-22 11:54:31 +02:00
Michael Bienia
adf3557967
* lpapiwrapper.py:
...
- Update some doc strings
- Update PersonTeam to the new BaseWrapper
2009-07-22 11:47:22 +02:00
Michael Bienia
f0ca5053fe
* lpapiwrapper.py:
...
- Rewrite BaseWrapper.__new__() again to make it more generic
- Add a Distribution wrapper class
2009-07-22 11:27:28 +02:00
Michael Bienia
884024ddd8
* lpapiwrapper.py:
...
- Rename _PersonTeam to PersonTeam and make it a sub-class of BaseWrapper.
2009-07-19 16:17:02 +02:00
Michael Bienia
974deb0a9a
* lpapiwrapper.py:
...
- Rename _SourcePackage to SourcePackage and make it a sub-class of BaseWrapper
2009-07-19 15:59:43 +02:00
Michael Bienia
682d7be285
* lpapiwrapper.py:
...
- Replace _UbuntuSeries with DistroSeries
2009-07-19 15:49:14 +02:00
Michael Bienia
c397ad9f7b
* lpapiwrapper.py:
...
- add a base class for all wrapper classes
- add a wrapper class for "distro_series"
2009-07-19 15:40:07 +02:00
Michael Bienia
6799633ca3
* lpapiwrapper.py: Add a wrapper class for a person or team LP object.
2009-07-10 10:38:06 +02:00
Michael Bienia
638950f184
* lpapiwrapper.py:
...
- fix getUbuntuSourcePackage()
2009-07-02 13:21:01 +02:00
Michael Bienia
a0ae5a2e23
* lpapiwrapper.py:
...
- 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
2009-07-02 13:05:16 +02:00
Michael Bienia
e139944b3a
* lpapiwrapper.py:
...
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
2009-06-27 11:58:05 +02:00
Michael Bienia
0684698c98
* Make Launchpad.login() return itself.
2009-06-18 23:16:36 +02:00
Michael Bienia
c6a040f85f
* ubuntutools/lp/functions.py: Remove some now obsolete functions.
2009-06-12 00:49:48 +02:00
Michael Bienia
d4f6f9079e
* ubuntutools/lp/lpapiwrapper.py: Add a method to enforce a login through the LP API.
2009-06-12 00:33:23 +02:00
Michael Bienia
5d9ef43b25
* pull-lp-source: Use the new LpApiWrapper class.
2009-06-12 00:14:22 +02:00
Michael Bienia
d35077e14e
* ubuntutools/lp/lpapiwrapper.py:
...
+ Wrap access to launchpad.me
+ Implement canUploadPackage() in LpApiWrapper
2009-06-11 22:51:52 +02:00
Michael Bienia
81c1cf50df
* ubuntutools/lp/lpapiwrapper.py:
...
Make getUbuntuSourcePackage a classmethod
* buildd:
Remove unneeded variables
2009-06-11 21:18:52 +02:00
Michael Bienia
f03f0ec72a
* ubuntutools/lp/functions.py: Make the default values of the function not use
...
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.
2009-06-11 20:36:11 +02:00