273 Commits

Author SHA1 Message Date
Benjamin Drung
6348bc3df1 Install add-patch link and use it in sponsor-patch. 2010-12-26 15:16:33 +01:00
Benjamin Drung
d7ee0af9f7 Implement testcases for update-maintainer. 2010-12-26 01:35:22 +01:00
Benjamin Drung
425b9da534 ubuntutools/sponsor_patch/main.py: Disable some pylint error. 2010-12-26 00:52:24 +01:00
Benjamin Drung
c8e71cacee builder.py: Pass ARCH to pbuilder too. 2010-12-25 20:05:38 +01:00
Benjamin Drung
3f3018aef2 update-maintainer: Rewrite completely using python-debian (LP: #666504). 2010-12-25 19:49:49 +01:00
Stefano Rivera
9f340a7562 * pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
* pull-lp-source: Support -d (LP: #681699)
2010-12-25 16:26:43 +01:00
Benjamin Drung
df1ae06d30 builder.py: Mark some functions as private. 2010-12-25 15:32:55 +01:00
Benjamin Drung
1054307414 control.py: Add required methods for update-maintainer. 2010-12-24 13:38:59 +01:00
Stefano Rivera
0a64cae0da Use keyword args when getting series 2010-12-24 13:47:02 +02:00
Stefano Rivera
0d51908f40 Add mirror support to pull-lp-source 2010-12-24 12:00:03 +02:00
Stefano Rivera
8e27317b65 Rename mirror variables, add Ubuntu 2010-12-24 03:04:42 +02:00
Stefano Rivera
30b6628910 Config file support for pull-debian-debdiff 2010-12-24 01:07:48 +02:00
Stefano Rivera
d5c7de285e Configurable mirror support for pull-debian-source 2010-12-23 23:12:24 +02:00
Benjamin Drung
c28ddf5698 Wrap all long lines in ubuntutools. 2010-12-23 20:42:21 +01:00
Benjamin Drung
fec33a6a41 wrap-and-sort: Split Control into separate Python file. 2010-12-23 17:18:42 +01:00
Stefano Rivera
86b7ff977c Add option parsing to massfile, for lpinstance, correct manpage's view on file locations 2010-12-23 12:35:41 +02:00
Benjamin Drung
2a2cd83b74 sponsor-patch: Make pylint a little bit happier. 2010-12-22 23:31:35 +01:00
Stefano Rivera
9fa9f3eb96 Whitespace and style cleanups 2010-12-23 00:01:39 +02:00
Stefano Rivera
f01beda01c Convert last Python code from mixed tabs and spaces to spaces 2010-12-22 23:04:29 +02:00
Stefano Rivera
30df1c0ec8 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
2010-12-22 21:33:58 +01:00
Stefano Rivera
8cee545568 Migrate to ubuntutools.logger 2010-12-22 21:24:35 +02:00
Stefano Rivera
b94d134650 Add warning() and substitution support to logger 2010-12-22 21:04:53 +02:00
Stefano Rivera
517bc10e3b - Test for that every script can run --help and return 0.
- 404main, merge-changelog, pull-debian-debdiff, pull-debian-source,
  pull-revu-source:
  + Return 0 after showing help.
2010-12-22 19:08:20 +01:00
Benjamin Drung
54c0a88464 sponsor-patch: Remove needless new-line from print command. 2010-12-22 18:35:11 +01:00
Stefano Rivera
34b1991bdd Fix pull-revu-source help, and return 0 2010-12-22 17:14:48 +02:00
Stefano Rivera
df6b32086b Close /dev/null 2010-12-22 17:09:29 +02:00
Stefano Rivera
4c0a650052 Blacklist get-build-deps 2010-12-22 17:03:01 +02:00
Stefano Rivera
f55ab3d465 Provide pid when killing 2010-12-22 17:01:55 +02:00
Stefano Rivera
96d72d83e2 signals don't use underscores 2010-12-22 16:57:25 +02:00
Stefano Rivera
c4de897e2a 404main, merge-changelog, pull-debian-debdiff, pull-debian-source:
Return 0 after showing help.
2010-12-22 16:53:58 +02:00
Stefano Rivera
8756577518 Complete blacklist 2010-12-22 16:28:36 +02:00
Benjamin Drung
715c554e88 Fix: The package was only uploaded if the target was "ubuntu". 2010-12-22 14:19:21 +01:00
Stefano Rivera
3ac706401f Test for that every script can run --help and return 0. 2010-12-22 15:05:55 +02:00
Stefano Rivera
2c2aaf90b3 Migrate to logging 2010-12-22 02:09:04 +02: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
Stefano Rivera
0184a10c21 Prefix replacement in warning 2010-12-22 00:14:28 +02:00
Stefano Rivera
c43e9775e0 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
2010-12-22 00:07:48 +02: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
Benjamin Drung
ff84b6da91 sponsor-patch: Use "bzr builddeb" instead of the shortcut "bzr bd". 2010-12-21 22:41:53 +01:00
Benjamin Drung
41cc2fa194 sponsor-patch: Add new --lpinstance and --no-conf options and support
configuration files.
2010-12-21 21:42:32 +01:00
Stefano Rivera
a435c3234b Use the improved staging support in lpapicache 2010-12-21 21:52:12 +02:00
Stefano Rivera
13cbe49a19 Merge from trunk 2010-12-21 21:50:59 +02:00
Michael Bienia
2e2376d854 ubuntutools/lp/lpapicache.py: The wrapper classes now use the root uri from the
Launchpad object for checking the resource type during runtime (the root uri
  doesn't need to be known at import time anymore)
2010-12-21 18:57:29 +01:00
Stefano Rivera
82eab1c349 Config file support in requestsync 2010-12-21 17:02:36 +02:00
Stefano Rivera
8dd88f18f8 Forgot EMAIL 2010-12-21 12:59:45 +02:00
Stefano Rivera
98061bc423 Promote WORKDIR to UBUNTUTOOLS 2010-12-21 01:56:28 +02:00
Stefano Rivera
2c1e1c8727 Add boolean as a get_value argument 2010-12-21 01:51:10 +02:00
Stefano Rivera
820b8dc0c5 Default value for UDTConfig.config 2010-12-21 01:14:57 +02:00
Stefano Rivera
59464226c0 In fact, have no default, caller is responsible 2010-12-21 00:35:52 +02:00