59 Commits

Author SHA1 Message Date
Stefano Rivera
f124357734 syncpackage, backportpackage, sponsor-patch: Use -nc when building source
packages. Avoids needing build-deps on the build machine.
2011-12-23 22:34:54 +02:00
Benjamin Drung
bbfbfd8956 Allow user to override sanity checks (LP: #896733). 2011-12-21 22:09:53 +01:00
Benjamin Drung
3f6eb545e2 sponsor-patch: Check if the sponsored bug is marked as duplicate (LP: #896733). 2011-12-21 21:44:22 +01:00
Benjamin Drung
58e6dfbbdb sponsor-patch: Use syncpackage instead of subscribing ubuntu-archive for sync requests, because syncpackage supports sponsorship now. 2011-12-10 12:51:53 +01:00
Stefano Rivera
ea962ee2ac sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884) 2011-11-27 21:02:48 +02:00
Andreas Moog
73843307f0 Use variable for caching, not lpapicache 2011-11-27 19:46:53 +01:00
Andreas Moog
053b4dcc30 [sponsor-patch] Use api cache for sponsors-team 2011-11-27 17:38:41 +01:00
Andreas Moog
5f27c4c1e7 sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884) 2011-11-27 16:47:38 +01:00
Andreas Moog
20e757b2a5 * sponsor-patch: Build a source package for lintian to run on, when not
test-building syncs.
* sponsor-patch: Check the bug's title, not the task, when determining
  source series for syncs.
2011-11-27 16:40:16 +01:00
Stefano Rivera
42e8c8b643 sponsor-patch: Check the bug's title, not the task, when determining
source series for syncs.
2011-11-27 17:30:14 +02:00
Stefano Rivera
d0f707f33d sponsor-patch: Build a source package for lintian to run on, when not
test-building syncs.
2011-11-27 17:20:58 +02:00
Stefano Rivera
83f9fba796 whitespace... 2011-11-27 17:20:40 +02:00
Andreas Moog
8d551acfb5 Correct syntax error 2011-11-27 16:00:05 +01:00
Andreas Moog
7ed4347de5 sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884) 2011-11-27 15:54:53 +01:00
Stefano Rivera
d30ffe59bc Improve error message when sponsor-patch is called without -s, for a sync 2011-11-27 15:55:56 +02:00
Stefano Rivera
70a035f13d Use httplib2 everywhere that we do https. The python stdlib doesn't do
certificate verification.
2011-11-22 15:57:02 +02:00
Benjamin Drung
da18852892 Refactor code. 2011-10-28 13:18:57 +02:00
Stefano Rivera
e899e83543 sponsor-patch: Compare new sync version to the current Ubuntu version,
rather than itself (LP: #878499)
2011-10-28 10:03:06 +02:00
Benjamin Drung
ba472b71d9 sponsor-patch: Check version of sponsored sync request too. 2011-09-20 00:31:51 +02:00
Benjamin Drung
663cb5214f sponsor-patch: Check if the version of a sync request is mentioned in the bug title. 2011-09-15 13:37:22 +02:00
Benjamin Drung
5942694e6f sponsor-patch: Use old Archive Admin way for sync requests until bug #827555 is fixed. 2011-09-15 13:08:06 +02:00
Benjamin Drung
6fdef19b2c sponsor-patch: Support sync requests and make ack-sync obsolete (LP: #764763). 2011-09-10 22:55:08 +02:00
Benjamin Drung
1e126f74d1 sponsor-patch: More refactoring. 2011-09-10 21:28:28 +02:00
Benjamin Drung
d52393da1b sponsor-patch: Refactor code. 2011-09-10 19:59:35 +02:00
Benjamin Drung
7a08470ca1 ubuntutools/sponsor_patch/bugtask.py: Check for sync too. 2011-09-10 16:43:41 +02:00
Stefano Rivera
8bb4628586 sponsor-patch: Perform strict validation on the first changelog entry. 2011-09-10 01:21:07 +02:00
Stefano Rivera
6ee66a6efc Debian source publication records are all Published now, not pending
(LP: #845487)
2011-09-09 19:11:48 +02:00
Benjamin Drung
4f043a34e0 sponsor-patch: Default to not upload the package. 2011-09-06 13:16:09 +02:00
Stefano Rivera
c9a2b9ac2b Reorder output 2011-09-04 01:05:29 +02:00
Stefano Rivera
7196ad55f1 More whitespace around the important post-build blocks 2011-09-04 01:04:13 +02:00
Stefano Rivera
7c994cefee Run harvest in sponsor-patch --fixes lp:833699 2011-09-04 00:44:50 +02:00
Benjamin Drung
a03fa654f3 Move debian-distro-info, distro-info, and ubuntu-distro-info from
ubuntu-dev-tools into distro-info.
2011-06-25 17:53:44 +02:00
Evan Broder
19c33e5e32 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-06-24 16:32:07 +02:00
Stefano Rivera
dcad51ec87 sponsor-patch: Use dch --release instead of --edit to work with
DEBCHANGE_RELEASE_HEURISTIC=changelog.
2011-06-03 19:18:38 +02:00
Evan Broder
d82e65e0e2 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-05-24 20:22:37 +02:00
Benjamin Drung
e8b3a18c45 Move suspicious-source and wrap-and-sort from ubuntu-dev-tools into devscripts. 2011-05-23 23:41:00 +02:00
Benjamin Drung
a5691d4cd1 sponsor-patch: Fix assertion error if a relative working directory
is specified.
2011-05-16 00:57:57 +02:00
Benjamin Drung
1a8951e82d Use new ubuntutools.distro_info in various scripts. 2011-01-21 19:20:04 +01:00
Benjamin Drung
99f78224ac sponsor_patch.py: Fix bug task selection and put it in separate function. 2010-12-28 20:44:22 +01:00
Benjamin Drung
39e6306364 sponsor_patch.py: Refactor long function. 2010-12-27 16:50:55 +01:00
Benjamin Drung
0c8520ee8c Make pylint a little bit happier. 2010-12-27 15:20:49 +01:00
Benjamin Drung
6348bc3df1 Install add-patch link and use it in sponsor-patch. 2010-12-26 15:16:33 +01:00
Benjamin Drung
425b9da534 ubuntutools/sponsor_patch/main.py: Disable some pylint error. 2010-12-26 00:52:24 +01:00
Benjamin Drung
1054307414 control.py: Add required methods for update-maintainer. 2010-12-24 13:38:59 +01:00
Benjamin Drung
2a2cd83b74 sponsor-patch: Make pylint a little bit happier. 2010-12-22 23:31:35 +01:00
Benjamin Drung
54c0a88464 sponsor-patch: Remove needless new-line from print command. 2010-12-22 18:35:11 +01:00
Benjamin Drung
715c554e88 Fix: The package was only uploaded if the target was "ubuntu". 2010-12-22 14:19:21 +01:00
Benjamin Drung
0a35d3d13d sponsor-patch: Fix crash if uploading to ubuntu without building the package before. 2010-12-22 00:52:45 +01:00
Benjamin Drung
d264ee7e97 sponsor-patch: Fix indentation of Logger change. 2010-12-21 23:29:50 +01:00
Benjamin Drung
9ee1a8faa0 sponsor-patch: Fix 'str' object has no attribute 'startwith' crash caused by a typo. 2010-12-21 22:50:02 +01:00