573 Commits

Author SHA1 Message Date
Stefano Rivera
2a2e420353 pbuilder-dist-simple: Display help 2012-05-06 06:03:14 +02:00
Stefano Rivera
ed96c35dc1 grep-merges: Use optparse to display --help 2012-05-06 05:24:14 +02:00
Stefano Rivera
927947841c ubuntu-iso: Use optparse to display --help 2012-05-06 05:18:05 +02:00
Stefano Rivera
d69622fa9c check-symbols: Use optparse to display --help 2012-05-06 05:12:40 +02:00
Stefano Rivera
b26dbaee68 check-mir: Use optparse to display --help 2012-05-05 19:37:41 +02:00
Stefano Rivera
083d44f676 submittodebian: Use optparse to display --help (LP: #988009) 2012-05-05 19:34:02 +02:00
Stefano Rivera
52fc42ca8f Make ubuntutools.archive a little more testable, by making its urlopener an
instance property.

Replace these with mocks, as needed, rather than mocking out urllib2.urlopen.

Makes the test suite pass again.
2012-03-26 10:00:46 +02:00
Stefano Rivera
872957da4e Whitespace 2012-03-26 09:41:05 +02:00
Daniel Hahler
ee569590a6 ubuntutools/archive.py: use ProxyHandler in _download_file.
This makes use of the system proxy (e.g. http_proxy).
2012-03-16 16:22:14 +01:00
Evan Broder
2e9d81bdda Add KEYID config var to be specified package-globally
The KEYID variable is currently supported by 3 scripts: requestsync,
sponsor-patch, and syncpackage
2012-03-03 15:54:35 -08: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
a55229619e Pass the launchpadlib person object to copyPackages 2011-12-07 15:46:09 +02:00
Stefano Rivera
dc9d6b5bf3 Add sponsorship support 2011-12-07 00:23:22 +02:00
Stefano Rivera
89e15a2f5d New Tool: ubuntu-upload-permission: Query upload permissions (LP: #876554) 2011-12-04 00:53:37 +02:00
Stefano Rivera
3ea5038905 PEP8 and docstring improments 2011-12-03 22:44:13 +02:00
Stefano Rivera
e68d3a699d Bump logging level of 'connecting' message 2011-12-03 22:07:18 +02:00
Stefano Rivera
9442e2ea30 Catch response exceptions in the DATA phase 2011-12-03 22:06:49 +02:00
Stefano Rivera
899d1b5361 Use tempfile 2011-12-03 21:57:11 +02:00
Andreas Moog
8a6502aaa4 Use regex to filter unwanted characters in filename 2011-12-03 18:09:49 +01:00
Andreas Moog
32a85dc172 Add a exception for disconnected server 2011-12-03 18:01:55 +01:00
Andreas Moog
d18a35c449 Also allow retry if recipient got rejected 2011-12-03 11:57:18 +01:00
Andreas Moog
12030d99e9 Use bugtitle as temporary filename 2011-12-03 11:12:11 +01:00
Andreas Moog
9199747fc3 Space after comma 2011-12-02 20:06:57 +01:00
Andreas Moog
6c36b6dd6c Merge trunk 2011-12-02 20:06:16 +01:00
Stefano Rivera
e556fdae00 New Tool: who-can-upload (LP: #876554) 2011-12-02 18:59:46 +02:00
Stefano Rivera
75067b3cf3 Add getPublishedBinaries to lpapicache.Archive 2011-12-02 15:01:19 +02:00
Andreas Moog
0e3a831df9 Use Logger.normal 2011-11-29 20:20:25 +01:00
Andreas Moog
10e9b18ca7 Save a temporary file in case sending fails 2011-11-28 20:50:28 +01:00
Andreas Moog
d9c00752c0 Wrap long line 2011-11-28 19:53:23 +01:00
Andreas Moog
1034cd0cb4 Merge with trunk 2011-11-27 22:14:59 +01:00
Andreas Moog
677e1b8e4e requestsync: Give user option to retry in case of temporary error (LP: #850360) 2011-11-27 22:14:05 +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