Michael Bienia
087fac7ede
requestsync: Fix call of isLpTeamMember()
...
Merge changes from my devel branch:
- rename lpapiwrapper.py to lpapicache.py to match more to its function
- remove unneeded imports from ubuntutools/common.py
2009-08-09 13:24:30 +02:00
Michael Bienia
17c36f9107
requestsync: Call isLpTeamMember() from the correct object
2009-08-09 13:20:13 +02:00
Michael Bienia
c060c48ec8
Merge with trunk.
2009-08-09 13:03:00 +02:00
Iain Lane
39594f64e0
* requestsync: Guard some calls when -n is specified
...
* suspicious-source: Add *.hs *.el *.css to whitelist
2009-08-08 16:03:28 +01: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
4779d7b1a7
requestsync: remove unneeded modules
2009-08-04 12:44:17 +02:00
Michael Bienia
97bed31aa1
Add an entry to debian/changelog.
2009-07-29 23:16:13 +02:00
Michael Bienia
52f9b37eaa
- buildd: add a --batch mode for batch retrying/rescoring of packages
...
- lpapiwrapper.py: add the needed methods and classes for this
- udtexceptions.py: rename PocketDoesNotExist to PocketDoesNotExistException
to be in line with the naming of the other exceptions
2009-07-29 23:07:22 +02:00
Michael Bienia
f46bca3f23
buildd: add a --batch mode for batch retrying/rescoring of packages
2009-07-29 23:03:01 +02:00
Michael Bienia
c1a9323035
buildd: Rename --v2 to --batch
2009-07-29 22:59:26 +02:00
Michael Bienia
a30e797e8c
buildd: some cleanup
2009-07-29 16:20:58 +02:00
Michael Bienia
20157940ae
buildd: make the -a option not break in v2 mode
2009-07-29 16:13:24 +02:00
Michael Bienia
6c5a9971fe
buildd: Add v2 mode
2009-07-29 16:02:58 +02:00
Michael Bienia
4f97f5ba15
buildd: Create a base to add code for the new v2 mode
2009-07-29 14:49:06 +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
2c8ac5fb5b
* Merge with trunk.
2009-07-24 09:42:35 +02:00
Sarah Hobbs
76455d8933
Fix typo in buildd so specifiying arches works again
2009-07-24 17:37:06 +10:00
Michael Bienia
558b589715
* Merge with trunk.
2009-07-24 09:23:40 +02:00
Michael Bienia
27cccf9a70
* Drop python-launchpad-bugs from Depends.
...
It's still referenced in ubuntutools/ppaput.py but this module isn't used
by anything and should be updated to use the LP API.
2009-07-24 09:21:19 +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
ffd08de377
* Merge with trunk on LP.
2009-07-22 14:29:23 +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