885 Commits

Author SHA1 Message Date
Michael Bienia
48f591a4bb lpapicache.py: Fix imports with python-launchpadlib 1.5.1 and add
python-lazr-restfulclient to Depends
2009-08-29 11:13:08 +02:00
Michael Bienia
7fba4ddbd1 requestsync:
- Use UBU* environment variables before the DEB* ones (lp: #400133)
 - Split requestsync into a "mail" module and a "lpapi" module and use
   the LP API only when --lp was used. In "mail" mode requestsync has
   to ask some more questions for parts it can't find out without LP API.
   (lp: #406659, #416955)
buildd:
 - Display the name of the current development series when none is 
   specified in --batch mode
2009-08-25 13:22:18 +02:00
Michael Bienia
0510f340ca ubuntutools/lp/lpapicache.py: remove the useless LpApiWrapper class 2009-08-25 13:18:46 +02:00
Michael Bienia
1efd85bb5f Merge my requestsync branch:
- Use UBU* environment variables before the DEB* ones (lp: #400133)
 - Split requestsync into a "mail" module and a "lpapi" module and use
   the LP API only when --lp was used. In "mail" mode requestsync has
   to ask some more questions for parts it can't find out without LP API.
   (lp: #406659, #416955)
2009-08-25 13:15:18 +02:00
Michael Bienia
82899a0f45 bug fixes 2009-08-25 13:02:57 +02:00
Michael Bienia
30bb23a2b7 lpapicache.py:
- Catch IOError from libsupport.get_launchpad(), display the error and
   exit
 - Bug fix in PersonTeam.canUploadPackage()
 - Remove leftover code from PersonTeam.isPerPackageUploader()
2009-08-24 12:14:02 +02:00
Michael Bienia
f284ee7cd6 requestsync: cleanup 2009-08-23 13:08:22 +02:00
Michael Bienia
966ab3727a requestsync: reindent remaining code and small cleanup 2009-08-22 18:34: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
e628bfbe34 requestsync:
- move mail_bug() to ubuntutools.requestsync.mail
 - implement support for UBU* environment variables (lp: #400133)
2009-08-22 17:12:55 +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
ea3c45cb16 Merge from devel branch. 2009-08-22 11:40:43 +02:00
Michael Bienia
a1457492b4 buildd: Display the name of the current development series when none is
specified in --batch mode
2009-08-22 11:32:33 +02:00
Michael Bienia
0353f952d8 Merge with trunk 2009-08-22 11:20:59 +02:00
Luca Falavigna
ee3ad27b78 * Switch to python-support to ease initial import into Debian:
- debian/control: build-depend on python-support instead of pycentral,
    also remove unneeded XB-Python-Version field from binary stanza.
  - debian/rules: set DEB_PYTHON_SYSTEM to pysupport.
  - ubuntu-dev-tools.preinst: remove stale pycentral files on upgrades.
2009-08-21 17:53:35 +02:00
Iain Lane
d9dd366665 * requestsync:
- Guard some calls when -n is specified
  - Fetch changelog of specified version, not current version. If an
    experimenal upload happened after the unstable one we're syncing, this
    is considered to be current by p.d.o and we would get those changelog
    entries in the sync request
  - Remove trailing fullstop from sync bug title
2009-08-17 12:02:35 +01:00
Siegfried-Angel Gevatter Pujals
9842049f21 Change pbuilder-dist header to mention cowbuilder in addition to pbuilder. 2009-08-16 00:20:27 +02:00
Siegfried-Angel Gevatter Pujals
1028885576 If there's a "etc/<distro>/apt.conf" file inside the build result
directory, pass it to pbuilder as --aptconfdir. Thanks to Paul Novotny
and Ryan Pavlik (LP: #363043).
2009-08-16 00:18:24 +02:00
Siegfried-Angel Gevatter Pujals
5069952a4a * pbuilder-dist:
- Expand "~" in PBUILDFOLDER to the user's home directory.
2009-08-16 00:12:37 +02:00
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
Iain Lane
e54ee2d25a Attempt to fix sponsorship detection for new source packages 2009-08-09 15:06:56 +01:00
Michael Bienia
aab36b1d41 * Merge from devel branch 2009-08-09 13:43:18 +02:00
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