237 Commits

Author SHA1 Message Date
Benjamin Drung
fd667bdd5f Fix invalid name pylint report. 2010-12-27 22:46:16 +01:00
Benjamin Drung
cfbc5c16cd ubuntutools/packages.py: Removed (used nowhere). 2010-12-27 22:39:27 +01:00
Benjamin Drung
2ba510bb89 Fix invalid name pylint report. 2010-12-27 22:33:01 +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
f2d17d73a5 test_config.py: Move config_files and fake_open into ConfigTestCase. 2010-12-27 13:43:13 +01:00
Benjamin Drung
45a341dfd1 test_config.py: Use mox. 2010-12-27 13:37:40 +01:00
Stefano Rivera
04f52e9de6 Run pylint on Python source code. 2010-12-27 13:07:26 +01:00
Stefano Rivera
76ba39d60b Add regex whitelist to pylint 2010-12-27 13:39:43 +02:00
Benjamin Drung
ce3c2f6bee test_update_maintainer.py: Use mox. 2010-12-27 01:51:19 +01:00
Stefano Rivera
8b659d8fc3 Drop non-default values from pylint.conf 2010-12-27 02:00:25 +02:00
Benjamin Drung
2fa20670c3 test_update_maintainer.py: Unpatch os.path.isfile after test. 2010-12-27 00:33:49 +01:00
Stefano Rivera
0fa022c367 Run pylint on Python source code. 2010-12-26 21:57:44 +02:00
Stefano Rivera
58559d9db8 Help silence pylint 2010-12-26 21:56:05 +02:00
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