71 Commits

Author SHA1 Message Date
Stefano Rivera
a9c0df9627 sponsor-patch: Handle staging environment branch URLs 2012-11-06 23:51:59 +02:00
Stefano Rivera
d826cd20e0 Comment typo 2012-10-29 09:05:28 +01:00
Stefano Rivera
e30a6e51a7 sponsor-patch: Don't fall over bugs targetted at the development release
(LP: #936014)
2012-08-17 22:44:21 +02:00
Benjamin Drung
f29e729852 sponsor-patch: Fix crash if Debian patch contains a slash. 2012-08-01 15:16:34 +02:00
Stefano Rivera
c946f9457f sponsor-patch: Pass --builder=dpkg-buildpackage to bzr bd, in case the user has configured a custom builder that doesn't do source builds (LP: #1019817) 2012-07-02 19:27:00 +02:00
Stefano Rivera
93fbe4c71c Update sponsor-patch to use the new API resulting from this change
(LP: #1002999)
2012-05-25 12:15:33 +01:00
Stefano Rivera
f363b745ff pbuilder and cowbuilder live in sbin 2012-02-15 16:21:00 +02:00
Stefano Rivera
30da459114 Check for dependencies that the package doesn't Depend on. Recommend
dput, lintian, patch, quilt. (LP: #846385)
2012-02-15 16:10:43 +02:00
Stefano Rivera
948032d8a3 Support syncs from a non-default series (LP: #931644) 2012-02-15 15:16:30 +02:00
Stefano Rivera
aafcbd082e sponsor-patch: Support syncs of new packages. 2012-02-15 15:05:46 +02:00
Stefano Rivera
a0a25fc6ea sponsor-patch: Determine the task from the UDD branch. 2012-01-09 22:03:28 +02:00
Stefano Rivera
e44205bb33 bzr bd argument order matters 2012-01-09 21:44:06 +02:00
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