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
Jonathan Davies
ed15916481
buildd: Implemented partial launchpadlib support (displays build status
...
and arches for now).
2009-05-28 05:53:45 -04:00
Jonathan Davies
5ad8a6ed00
TODO: pull-lp-source task done.
2009-05-28 03:48:41 -04:00
Jonathan Davies
d10afc2732
pull-lp-source: Use os.path.exists() instead of catching an error message
...
to check if dget is installed.
2009-05-28 03:37:38 -04:00
Jonathan Davies
b85dc1a793
pull-lp-source: Return an error message if dget is not installed.
2009-05-28 03:31:23 -04:00
Jonathan Davies
27f83c2602
pull-lp-source: Use launchpadlib instead of screen scraping to get and check if the Ubuntu release exists.
2009-05-28 03:12:35 -04:00
Jonathan Davies
332b507bc2
buildd: Added a comment to explain why we're importing launchpadlib here.
2009-05-28 03:11:04 -04:00
Jonathan Davies
5ba877aefd
urlopener module no longer needed.
2009-05-28 03:10:08 -04:00
Jonathan Davies
6c2e20d030
Removed FIXME comment - connection problem this end.
2009-05-27 18:25:00 -04:00
Jonathan Davies
a876414c25
ubuntutools/lp/functions.py: Improved error messages, and made prettier functions.
2009-05-27 18:07:46 -04:00
Jonathan Davies
c9e4293dea
* buildd:
...
- Do not display override message if --arch is not used.
- Fix permissions warning message and do not mention teams as we check
on a per package basis.
2009-05-27 18:01:58 -04:00
Jonathan Davies
a256eca0b7
* buildd: Use launchpadlib to check the Ubuntu release is valid.
2009-05-27 17:59:41 -04:00
Jonathan Davies
fbc5418533
* buildd: Moved Launchpad module imports here - speed up usage
...
parsing to improve user experience.
2009-05-27 17:57:10 -04:00
Jonathan Davies
8dd4bf61c2
* manage-credentials: Remove extra line from help.
2009-05-27 17:29:12 -04:00
Jonathan Davies
2cd60187c0
* requestsync: urlopener module is no longer required here.
2009-05-27 16:50:42 -04:00
Jonathan Davies
2e747436a7
* ubuntutools/lp/libsupport.py: Fail if we're unable to import launchpadlib
...
(we need it to run stuff).
2009-05-27 16:48:32 -04:00
Nathan Handler
d131a9d995
Create new UNRELEASED debian/changelog entry
2009-05-23 20:46:52 +00:00
Nathan Handler
2dbdc62166
Uploaded 0.74 to karmic
0.74
2009-05-23 20:42:38 +00:00
Nathan Handler
67fec3a81a
pull-debian-source: Modify to work for packages not in main (LP: #379822 )
2009-05-23 20:40:21 +00:00
Nathan Handler
3aeb7c88b5
Revert changes from revision 397
2009-05-21 03:11:02 +00:00
Iain Lane
d134469ed3
Convert _findMember to use newly efficient isLPTeamMember, and remove name argument since we always just check launchpad.me anyway. Remove TeamNotFoundException which is now never thrown (false is just returned instead).
2009-05-17 16:06:26 +01:00
Iain Lane
95708ccc3b
Merge code improvement from Anders Kaseorg
...
[ Anders Kaseorg ]
* ubuntutools/lp/functions.py:
- Simplify isLPTeamMember.
2009-05-17 15:11:12 +01:00
Nathan Handler
1dbc9df337
* update-maintainer:
...
- Make change proposed by Bryce Harrington to make the script recognize
versions that end in buildX as valid Ubuntu versions, and thus allow it
to work with fakesyncs. (LP: #376623 )
2009-05-16 19:11:45 +00:00
Colin Watson
0a28dbb15d
* update-maintainer:
...
- Convert to getopt so that '--section main' works as well as
'--section=main'.
2009-05-12 00:05:06 +01:00
Anders Kaseorg
f762242ebb
* ubuntutools/lp/functions.py:
...
- Simplify isLPTeamMember.
<Laney> andersk: what does super_teams do?
<andersk> Laney: I found super_teams using dir(launchpad.me). It
returns the collection of teams that the person is a member of. I'm
not sure it's actually documented.
<Laney> andersk: I've found the documentation to be a bit
lacking. Does it count indirect memberships too?
<andersk> Laney: yes, it appears to.
<Laney> andersk: If that's right then your version is better than mine
<Laney> andersk: Could you prepare a branch for merging? I'd just do
it directly but I'm a bit busy now so can't, and I'm afraid I'll
forget
2009-05-10 17:41:03 -04:00
Iain Lane
f25358a175
Close bug
2009-05-10 19:14:43 +01:00
Iain Lane
4b8839ef15
- Correct bug supervisor team to ubuntu-bugcontrol
...
- Remove team names from sponsorship message - makes the function much
simpler
Also check if teams are valid using is_valid.
2009-05-09 21:08:46 +01:00