715 Commits

Author SHA1 Message Date
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
Loïc Minier
509360d40d Document target dist as optional in the help output 2009-07-16 00:02:41 +02:00
Loïc Minier
685b1ead09 Require an argument and print help if it's missing 2009-07-16 00:02:20 +02:00
Loïc Minier
1820a2ccfa Allow for the EMAIL env var as a fallback for DEBEMAIL. 2009-07-15 23:58:24 +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
Andreas Moog
f2c6091a2e Don't add second XSBC-Original-Maintainer if Maintainer was set
to Motu or Core-Dev.
2009-07-08 23:07:46 +02:00
Andreas Moog
89e8d69cbe * update-maintainer:
- Don't silently fail when Maintainer-Field contains a comment
    in brackets. (LP: #397144)
2009-07-08 21:30:20 +02:00
Michael Bienia
9c4a6b0988 * Create blank changelog entry for 0.76. 2009-07-06 17:54:48 +02:00
Michael Bienia
7d29f31847 Upload 0.75 to karmic. 0.75 2009-07-06 17:52:55 +02:00
Michael Bienia
e6c5a0fe26 * requestsync:
Add "done" as last email command to stop parsing the email body for
  further email commands (lp: #372555)
2009-07-02 20:01:34 +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
47a2274264 * requestsync: use the correct object to call getUbuntuDistribution 2009-06-18 23:17:41 +02:00
Michael Bienia
0684698c98 * Make Launchpad.login() return itself. 2009-06-18 23:16:36 +02:00
Iain Lane
ba0d0664a8 requestsync: We need to use the output from madison, not just throw it
away.
2009-06-15 19:58:41 +01:00
Luke Yelavich
5d0eb21a8f Credit Robert Ancell 2009-06-12 13:10:40 +10:00
Luke Yelavich
4ba398de53 lp-set-dup: Add missing % needed for string substitution. 2009-06-12 13:08:19 +10:00
Michael Bienia
c6a040f85f * ubuntutools/lp/functions.py: Remove some now obsolete functions. 2009-06-12 00:49:48 +02:00
Michael Bienia
f60a86b68d * requestsync: Introduce some first LpApiWrapper use. 2009-06-12 00:48:41 +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
Michael Bienia
edce828ee0 * Don't forget to save my changes before commiting. 2009-06-11 20:27:31 +02:00
Michael Bienia
40f749c91b * ubuntutools/lp/lpapiwrapper.py: Rewrite some functions from functions.py in a
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
2009-06-11 20:23:30 +02:00
Michael Bienia
39211b67e0 * ubuntutools/lp/lpapiwrapper.py: Implement a singleton for LP API access (with lazy initialisation)
* ubuntutools/lp/functions.py: Use the new singleton
2009-06-11 16:33:47 +02:00
Michael Bienia
2ff5ec5ec0 * buildd: remove unneeded modules 2009-06-11 16:25:48 +02:00
Colin Watson
eb189ace78 typo 2009-06-09 13:32:14 +01:00
Colin Watson
be68e7465a set our own Maintainer field to match what update-maintainer now does 2009-06-09 11:02:01 +01:00
Colin Watson
ac53f8f767 Get rid of the last remaining use of subprocess.Popen(shell=True) in
404main.
2009-06-09 11:00:55 +01:00
Colin Watson
6730937ea3 Rewrite 404main using python-apt. Note that this requires python-apt
0.7.9, not in jaunty.
2009-06-09 11:00:00 +01:00
Colin Watson
f01cebdaea I think "trustworthy" is a better choice of word than "trustful" here 2009-06-09 10:57:24 +01:00
Jonathan Davies
7eb81c1185 Removed (superseded by Launchpad API support)
* ubuntutools/lp/cookie.py
 * ubuntutools/lp/urlopener.py

And removed references from these files as necessary:
 * requestsync
 * ubuntutools/lp/functions.py
2009-06-09 10:19:58 +01:00
Jonathan Davies
a58f36a5db * debian/changelog: Added all my pervious changes. 2009-06-09 10:12:04 +01:00
Jonathan Davies
fbc1f1f6d8 * buildd: Some full stops. 2009-06-09 10:03:50 +01:00
Michael Bienia
f760b4e845 * buildd: Use LP API for retrying or rescoring of builds. 2009-06-09 10:34:21 +02:00
Colin Watson
fa2a6f3dce no need for *ubuntu* versions here 2009-06-09 09:14:45 +01:00
Jonathan Davies
85a8659398 update-maintainer: Do not make changes if maintainer email is set to an
@ubuntu.com email address.
2009-05-31 21:54:49 +01:00
Jonathan Davies
6a17e7c6c7 * ubuntutools/packages.py: Created checkIsInDebian() function.
* requestsync: Adapt to use new function above.
* update-maintainer: Rewrote in Python and adapted to use Maintainer
  field spec approved by the Technical Board at:
  - https://lists.ubuntu.com/archives/ubuntu-devel/2009-May/028213.html
2009-05-31 21:45:35 +01:00
Jonathan Davies
78b7833ea9 buildd: And support different releases with API too. 2009-05-28 06:34:53 -04:00